gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 254/264: runtests: check for the disabled tests relative srcdir


From: gnunet
Subject: [gnurl] 254/264: runtests: check for the disabled tests relative srcdir
Date: Thu, 30 Apr 2020 16:09:17 +0200

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 2fc1c9d7e71e8f5c394eff774f4b1ef296e7ed52
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sat Apr 25 16:30:26 2020 +0200

    runtests: check for the disabled tests relative srcdir
    
    To make it work correctly for out-of-tree builds.
    
    Follow-up to 75e8feb6fb08b
    
    Bug: https://github.com/curl/curl/pull/5288#issuecomment-619346389
    Reported-by: Marcel Raad
    Closes #5297
---
 tests/runtests.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]