summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-05-12 15:26:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-05-12 16:55:42 -0400
commit5101665a31b03a7fe14b832658cf80427ac8ba21 (patch)
treed852a3de225de8fef4e590ad79ca11ed21bfd212 /Makefile
parent956895430edd4a4ea2963798c3485ab227ea525c (diff)
downloadbfs-5101665a31b03a7fe14b832658cf80427ac8ba21.tar.xz
tests: Use skip_if for sudo tests
This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 081950a..f5bc34e 100644
--- a/Makefile
+++ b/Makefile
@@ -119,10 +119,6 @@ endif
LOCAL_LDFLAGS += -Wl,--as-needed
LOCAL_LDLIBS += -lrt
-
-DISTCHECK_FLAGS := TEST_FLAGS="--verbose --all --sudo"
-else # Linux
-DISTCHECK_FLAGS := TEST_FLAGS="--verbose"
endif
ifeq ($(OS),NetBSD)
@@ -193,6 +189,9 @@ STRATEGY_CHECKS := $(STRATEGIES:%=check-%)
# All the different checks we run
CHECKS := $(STRATEGY_CHECKS) check-trie check-xtimegm
+# Custom test flags for distcheck
+DISTCHECK_FLAGS := TEST_FLAGS="--sudo --verbose"
+
default: bfs
.PHONY: default