]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: Makefile: exclude broken tests by default
authorWilliam Dauchy <wdauchy@gmail.com>
Thu, 7 Jan 2021 16:10:51 +0000 (17:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Jan 2021 13:43:27 +0000 (14:43 +0100)
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>
Makefile

index 4e6c834edd11113d545ec3655d4ee38fcb6ddf8c..1e383f464758b4ace52b541af2c6ced15f6fc6cf 100644 (file)
--- 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