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 <wdauchy@gmail.com>
This commit is contained in:
William Dauchy 2021-01-07 17:10:51 +01:00 committed by Willy Tarreau
parent 761d64c7ae
commit 3bad3d5ee6
1 changed files with 1 additions and 0 deletions

View File

@ -1044,6 +1044,7 @@ opts:
@echo 'OBJS="$(strip $(OBJS))"' @echo 'OBJS="$(strip $(OBJS))"'
ifeq (reg-tests, $(firstword $(MAKECMDGOALS))) ifeq (reg-tests, $(firstword $(MAKECMDGOALS)))
REGTESTS_TYPES := default,bug,devel,slow
REGTEST_ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS)) REGTEST_ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS))
$(eval $(REGTEST_ARGS):;@true) $(eval $(REGTEST_ARGS):;@true)
endif endif