summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-01 13:27:46 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-01 13:28:24 -0500
commit09fd2a82ded3cf97f91f30fa1ed4937b60fc9998 (patch)
treeece384d08ae8e11aad660fedcb946fb71c56a07d /Makefile
parent9278a01d858d78a2e19e6da7388caa76bc1fc849 (diff)
downloadbfs-09fd2a82ded3cf97f91f30fa1ed4937b60fc9998.tar.xz
tests: Allow tests.sh to be invoked from any directory
This also resolves the path passed to --bfs early, so --bfs=./bfs now works.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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/%
$<