From 5101665a31b03a7fe14b832658cf80427ac8ba21 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 12 May 2022 15:26:43 -0400 Subject: tests: Use skip_if for sudo tests This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3