BUILD: Makefile: move REGTESTST_TYPE default setting
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 5 Feb 2021 10:27:54 +0000 (11:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Feb 2021 14:04:28 +0000 (15:04 +0100)
commit99e4ce23d220f620b3bf2b8e2780a9b599ffba91
tree9e87d3aa540b82894bfb0ac23e124c0dec854b0b
parent21129141a57b7ee6c67e0dfb7a15313f25f011b0
BUILD: Makefile: move REGTESTST_TYPE default setting

In patch 3bad3d5 ("BUILD: Makefile: exclude broken tests by default"),
the default setting of the REGTESTST_TYPE variable was set in the
Makefile instead of the run-regtests.sh script.

Doing it in the Makefile was breaking the use of this environment
varible with make ( REGTESTS_TYPES=slow,default make reg-tests )

This patch move the default setting from the Makefile to
run-regtests.sh. It also change the documentation in `make
reg-tests-help` about the default value.

This patch should be backported where 3bad3d5 is backported.

(cherry picked from commit c1ddcafdf9b425ff4ac2f1e3f1662a9133fc4cf6)
Signed-off-by: Willy Tarreau <w@1wt.eu>
Makefile
scripts/run-regtests.sh