mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Make tests depend on their corresponding binary.
This commit is contained in:
@@ -22,7 +22,7 @@ endef
|
||||
|
||||
# Test exe built rules
|
||||
define TEST_BUILD
|
||||
test_$(1): tmp/$(1)_test
|
||||
test_$(1): tmp/$(1)_test build/$(1)
|
||||
$(call command,tmp/$(1)_test)
|
||||
|
||||
tmp/$(1)_test: $(1)/test.rs
|
||||
@@ -49,4 +49,3 @@ $(foreach exe,$(EXES),$(eval $(call EXE_BUILD,$(exe))))
|
||||
$(foreach test,$(TESTS),$(eval $(call TEST_BUILD,$(test))))
|
||||
|
||||
.PHONY: all test clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user