From 09fd2a82ded3cf97f91f30fa1ed4937b60fc9998 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 1 Feb 2022 13:27:46 -0500 Subject: tests: Allow tests.sh to be invoked from any directory This also resolves the path passed to --bfs early, so --bfs=./bfs now works. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b0ed4d..497bc70 100644 --- a/Makefile +++ b/Makefile @@ -218,7 +218,7 @@ $(FLAG_GOALS): $(FLAG_PREREQS) check: $(CHECKS) $(STRATEGY_CHECKS): check-%: bfs tests/mksock - ./tests.sh --bfs="$(CURDIR)/bfs -S $*" $(TEST_FLAGS) + ./tests.sh --bfs="./bfs -S $*" $(TEST_FLAGS) check-trie check-xtimegm: check-%: tests/% $< -- cgit v1.2.3