From: William Dauchy Date: Thu, 7 Jan 2021 16:10:51 +0000 (+0100) Subject: BUILD: Makefile: exclude broken tests by default X-Git-Tag: v2.1.11~6 X-Git-Url: http://git.haproxy.org/?a=commitdiff_plain;h=7ad1c5a949cd9927b2e6c85d74bc53240e4d9e4b;p=haproxy-2.1.git BUILD: Makefile: exclude broken tests by default it could be sometimes a bit confusing to have tests which are known to be broken executed in the default `make reg-tests` command, especially for not frequent contributors which are not necessarily aware of all our quirks. without this patch, this test is failing on my side: # top TEST reg-tests/seamless-reload/abns_socket.vtc FAILED (2.228) exit=2 1 tests failed, 0 tests skipped, 107 tests passed Signed-off-by: William Dauchy (cherry picked from commit 3bad3d5ee64caec53077018a848075bdc817580e) Signed-off-by: Willy Tarreau (cherry picked from commit cc0598a5ac0b57f10932afb613ddbf7b1bd2a7ae) Signed-off-by: Willy Tarreau (cherry picked from commit 6114586279a01076087bcd866c537581f117186e) Signed-off-by: Willy Tarreau --- diff --git a/Makefile b/Makefile index 7e804a8..5f612e4 100644 --- a/Makefile +++ b/Makefile @@ -997,6 +997,7 @@ opts: @echo 'OBJS="$(strip $(OBJS))"' ifeq (reg-tests, $(firstword $(MAKECMDGOALS))) + REGTESTS_TYPES := default,bug,devel,slow REGTEST_ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS)) $(eval $(REGTEST_ARGS):;@true) endif