From: Scott Worley Date: Tue, 29 Dec 2015 21:47:53 +0000 (-0800) Subject: Use the existing list of tests rather than making a new list with a glob. X-Git-Url: http://git.scottworley.com/slidingtile/commitdiff_plain/59e5eb6e9b012d90c76bfc02918c270e8d26ab08 Use the existing list of tests rather than making a new list with a glob. --- diff --git a/Makefile b/Makefile index a8608d0..5994d06 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ TESTS=$(subst .cc,,$(TEST_SRCS)) all: $(MAIN) $(TESTS) test: $(TESTS) - for t in ./*_test; do if ! $$t; then exit 1; fi ;done + for t in $(TESTS); do if ! ./$$t; then exit 1; fi ;done clean: rm -f *.o $(MAIN) $(TESTS) Makefile.bak