mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-27 07:02:11 +00:00
REGTEST: make the "run-regtests" script search for tests in reg-tests by default
It happens almost daily to me that make regtests fails because the script found a temporary, old, or broken VTC file that was lying in my work dir, leaving me no place to hide it. This is a real pain as some tests take ages to fail, so let's make this script only look up for tests where they are expected to be stored, under reg-tests only. It remains possible to force the location on the command line though.
This commit is contained in:
parent
b894f9230c
commit
ca8df4c074
@ -332,7 +332,7 @@ if [ $(_version "$HAPROXY_VERSION") -lt $(_version "1.9") ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$REGTESTS" ]; then
|
||||
_findtests ./
|
||||
_findtests reg-tests/
|
||||
else
|
||||
for t in $REGTESTS; do
|
||||
_findtests $t
|
||||
|
Loading…
Reference in New Issue
Block a user