From ba716f3882a08ee14601f1b3c3b05e79af04ee9d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 13 Sep 2019 17:04:08 -0400 Subject: Makefile: Test different search strategies in parallel --- Makefile | 8 ++++---- 1 file 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)" -- cgit v1.2.3