summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5619aad..63ac559 100644
--- a/Makefile
+++ b/Makefile
@@ -99,9 +99,9 @@ tests/mksock: tests/mksock.o
$(CC) $(ALL_CFLAGS) -c $< -o $@
check: all
- ./tests.sh --bfs="$(realpath bfs)"
- ./tests.sh --bfs="$(realpath bfs) -S dfs"
- ./tests.sh --bfs="$(realpath bfs) -S ids"
+ ./tests.sh --bfs="$(CURDIR)/bfs"
+ ./tests.sh --bfs="$(CURDIR)/bfs -S dfs"
+ ./tests.sh --bfs="$(CURDIR)/bfs -S ids"
distcheck:
+$(MAKE) -Bs check CFLAGS="$(CFLAGS) -fsanitize=undefined -fsanitize=address"
@@ -112,9 +112,9 @@ endif
+$(MAKE) -Bs release check
+$(MAKE) -Bs check
ifeq ($(OS),Linux)
- ./tests.sh --sudo --bfs="$(realpath bfs)"
- ./tests.sh --sudo --bfs="$(realpath bfs) -S dfs"
- ./tests.sh --sudo --bfs="$(realpath bfs) -S ids"
+ ./tests.sh --sudo --bfs="$(CURDIR)/bfs"
+ ./tests.sh --sudo --bfs="$(CURDIR)/bfs -S dfs"
+ ./tests.sh --sudo --bfs="$(CURDIR)/bfs -S ids"
endif
clean: