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:
parent
fc1da5a691
commit
aac0a46b39
4 changed files with 78 additions and 16 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue