From 01f94879670ceb3b5d2ff7bf5017eab6f0abb98c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 28 May 2017 20:57:47 +0200 Subject: runtests.pl: removed feature This hasn't been used in over a decade. can still be used to run commands before the main test. --- tests/runtests.pl | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'tests') 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"); -- cgit v1.2.1