mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
runtests: check for the disabled tests relative srcdir
To make it work correctly for out-of-tree builds.
Follow-up to 75e8feb6fb
Bug: https://github.com/curl/curl/pull/5288#issuecomment-619346389
Reported-by: Marcel Raad
Closes #5297
This commit is contained in:
parent
2a33417e1d
commit
2fc1c9d7e7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user