Make the binary tests depend on the binaries
This commit is contained in:
parent
0ff53a6925
commit
f6dc039554
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -72,7 +72,7 @@ $(TARGETS): %: .FORCE
|
||||||
@$(ECHO) "\t[CARGO ]:\t$@"
|
@$(ECHO) "\t[CARGO ]:\t$@"
|
||||||
@$(CARGO) build --manifest-path ./$@/Cargo.toml
|
@$(CARGO) build --manifest-path ./$@/Cargo.toml
|
||||||
|
|
||||||
$(BIN_TARGET_TESTS): %: .FORCE
|
$(BIN_TARGET_TESTS): %-test: % .FORCE
|
||||||
@$(ECHO) "\t[BINTEST]:\t$@"
|
@$(ECHO) "\t[BINTEST]:\t$@"
|
||||||
find $(subst -test,,$@) -name "tests" -type d -exec $(MAKE) -j 1 -C {} \;
|
find $(subst -test,,$@) -name "tests" -type d -exec $(MAKE) -j 1 -C {} \;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue