gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 176/254: runtests.pl: removed <precommand> feature


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 176/254: runtests.pl: removed <precommand> feature
Date: Sat, 17 Jun 2017 16:53:28 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 01f94879670ceb3b5d2ff7bf5017eab6f0abb98c
Author: Dan Fandrich <address@hidden>
AuthorDate: Sun May 28 20:57:47 2017 +0200

    runtests.pl: removed <precommand> feature
    
    This hasn't been used in over a decade. <precheck> can still be used to
    run commands before the main test.
---
 tests/runtests.pl | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 5eafdd5db..05a8bb469 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -3594,21 +3594,6 @@ sub singletest {
     my $dumped_core;
     my $cmdres;
 
-    # Apr 2007: precommand isn't being used and could be removed
-    my @precommand= getpart("client", "precommand");
-    if($precommand[0]) {
-        # this is pure perl to eval!
-        my $code = join("", @precommand);
-        eval $code;
-        if($@) {
-            logmsg "perl: $code\n";
-            logmsg "precommand: $@";
-            stopservers($verbose);
-            timestampskippedevents($testnum);
-            return -1;
-        }
-    }
-
     if($gdbthis) {
         my $gdbinit = "$TESTDIR/gdbinit$testnum";
         open(GDBCMD, ">$LOGDIR/gdbcmd");

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



reply via email to

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