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.
This commit is contained in:
William Lallemand
2021-02-05 11:27:54 +01:00
parent ed9892018c
commit c1ddcafdf9
2 changed files with 2 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ _startswith() {
_findtests() {
set -f
REGTESTS_TYPES="${REGTESTS_TYPES:-any}"
REGTESTS_TYPES="${REGTESTS_TYPES:-default,bug,devel,slow}"
any_test=$(echo $REGTESTS_TYPES | grep -cw "any")
for i in $( find "$1" -name *.vtc ); do
skiptest=