diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-04-25 16:30:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-04-25 16:31:01 +0200 |
commit | c05b7fe20df96965ff853b28ca1bff4662a583b9 (patch) | |
tree | a1ef7c0b34004fe0be3a806f8ee27441910300c5 | |
parent | 2a33417e1d0a301a191df5a50d00c99e43def1f2 (diff) | |
download | curl-c05b7fe20df96965ff853b28ca1bff4662a583b9.tar.gz |
runtests: check for the disabled tests relative srcdirbagder/runtests-disabled-srcdir
To make it work correctly for out-of-tree builds.
Follow-up to 75e8feb6fb08b
-rwxr-xr-x | tests/runtests.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index da3fac2e6..fe794b3b7 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -5446,7 +5446,7 @@ sub disabledtests { if($_ =~ /(\d+)/) { my ($n) = $1; $disabled{$n}=$n; # disable this test number - if(! -f "data/test$n") { + if(! -f "$srcdir/data/test$n") { print STDERR "WARNING! Non-exiting test $n in DISABLED!\n"; # fail hard to make user notice exit 1; |