summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-09-13 17:04:08 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-09-13 17:04:08 -0400
commitba716f3882a08ee14601f1b3c3b05e79af04ee9d (patch)
treecf7ce4abf103da81cb83ac0310833233afe1f49a
parentf8e9397b508479b79f5dad062160b50d38686cb3 (diff)
downloadbfs-ba716f3882a08ee14601f1b3c3b05e79af04ee9d.tar.xz
Makefile: Test different search strategies in parallel
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 34bacae..c141ba8 100644
--- a/Makefile
+++ b/Makefile
@@ -103,10 +103,10 @@ tests/mksock: tests/mksock.o
%.o: %.c
$(CC) $(ALL_CFLAGS) -c $< -o $@
-check: all
- ./tests.sh --bfs="$(CURDIR)/bfs"
- ./tests.sh --bfs="$(CURDIR)/bfs -S dfs"
- ./tests.sh --bfs="$(CURDIR)/bfs -S ids"
+check: check-bfs check-dfs check-ids
+
+check-%: all
+ ./tests.sh --bfs="$(CURDIR)/bfs -S $*"
distcheck:
+$(MAKE) -Bs check CFLAGS="$(CFLAGS) $(ASAN_CFLAGS) $(UBSAN_CFLAGS)"