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.4-dev6~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bad3d5;p=thirdparty%2Fhaproxy.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 --- diff --git a/Makefile b/Makefile index 4e6c834edd..1e383f4647 100644 --- a/Makefile +++ b/Makefile @@ -1044,6 +1044,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