t/Makefile: refer to TEST_SRCS instead of pattern
In preparation to mark test sources as .PHONY, let's keep track of a list of them so that we can eventually write: .PHONY : $(TEST_SRCS) In the meantime, we'll replace the pattern "./t-%.sh", which will not introduce a meaningful behavior change.
This commit is contained in:
parent
025e989403
commit
bbb6d43d7a
@ -19,6 +19,8 @@ TEST_CMDS += ../bin/lfstest-gitserver$X
|
||||
TEST_CMDS += ../bin/lfstest-standalonecustomadapter$X
|
||||
TEST_CMDS += ../bin/lfstest-testutils$X
|
||||
|
||||
TEST_SRCS = $(wildcard t-*.sh)
|
||||
|
||||
all : $(DEFAULT_TEST_TARGET)
|
||||
|
||||
test : $(TEST_CMDS)
|
||||
@ -27,7 +29,7 @@ test : $(TEST_CMDS)
|
||||
$(PROVE) $(PROVE_EXTRA_ARGS) ./t-*.sh
|
||||
@GIT_LFS_NO_TEST_COUNT= bash -c '. ./testenv.sh && shutdown'
|
||||
|
||||
./t-%.sh : $(TEST_CMDS)
|
||||
$(TEST_SRCS) : $(TEST_CMDS)
|
||||
$(RM) -r remote test_count{,.lock}
|
||||
$(PROVE) -v $(PROVE_EXTRA_ARGS) $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user