diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-05-12 15:26:43 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-05-12 16:55:42 -0400 |
commit | 5101665a31b03a7fe14b832658cf80427ac8ba21 (patch) | |
tree | d852a3de225de8fef4e590ad79ca11ed21bfd212 /Makefile | |
parent | 956895430edd4a4ea2963798c3485ab227ea525c (diff) | |
download | bfs-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-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |