1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Fix test for cat, add mkdir test

This commit is contained in:
Nick 2014-01-03 22:33:05 -06:00
parent fc1da5a691
commit aac0a46b39
4 changed files with 78 additions and 16 deletions

View file

@ -30,8 +30,8 @@ EXES := \
# Programs with usable tests
TEST_PROGS := \
cat \
mkdir \
cat \
TEST ?= $(TEST_PROGS)
@ -54,7 +54,7 @@ test_$(1): tmp/$(1)_test build build/$(1)
$(call command,tmp/$(1)_test)
tmp/$(1)_test: $(1)/test.rs
$(call command,$(RUSTC) $(RUSTCFLAGS) --test -o tmp/$(1)_test $(1)/test.rs)
$(call command,$(RUSTC) $(RUSTCFLAGS) -o tmp/$(1)_test $(1)/test.rs)
endef
# Main rules