gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 228/411: runtests.pl: use $LIBDIR variable instead of hardcoded


From: gnunet
Subject: [gnurl] 228/411: runtests.pl: use $LIBDIR variable instead of hardcoded path
Date: Wed, 13 Jan 2021 01:20:43 +0100

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

nikita pushed a commit to branch master
in repository gnurl.

commit 1101fbbf49761c36fcb8261cda910ab26173d2cd
Author: Marc Hoersken <info@marc-hoersken.de>
AuthorDate: Wed Oct 7 21:53:26 2020 +0200

    runtests.pl: use $LIBDIR variable instead of hardcoded path
    
    Reviewed-by: Daniel Stenberg
    Closes #6051
---
 tests/runtests.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index a45519c51..6fd5d52f5 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -552,7 +552,7 @@ sub checkcmd {
     my ($cmd)=@_;
     my @paths=(split(":", $ENV{'PATH'}), "/usr/sbin", "/usr/local/sbin",
                "/sbin", "/usr/bin", "/usr/local/bin",
-               "./libtest/.libs", "./libtest");
+               "$LIBDIR/.libs", "$LIBDIR");
     for(@paths) {
         if( -x "$_/$cmd" && ! -d "$_/$cmd") {
             # executable bit but not a directory!
@@ -3949,11 +3949,11 @@ sub singletest {
     if ($torture) {
         $cmdres = torture($CMDLINE,
                           $testnum,
-                          "$gdb --directory libtest $DBGCURL -x 
$LOGDIR/gdbcmd");
+                          "$gdb --directory $LIBDIR $DBGCURL -x 
$LOGDIR/gdbcmd");
     }
     elsif($gdbthis) {
         my $GDBW = ($gdbxwin) ? "-w" : "";
-        runclient("$gdb --directory libtest $DBGCURL $GDBW -x $LOGDIR/gdbcmd");
+        runclient("$gdb --directory $LIBDIR $DBGCURL $GDBW -x $LOGDIR/gdbcmd");
         $cmdres=0; # makes it always continue after a debugged run
     }
     else {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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