From 61d7e720a58bef33e46b300c70ad88793801e077 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 24 Apr 2007 23:28:57 +0000 Subject: Treat log files and -k the same when running torture tests as when not. --- tests/runtests.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/runtests.pl') diff --git a/tests/runtests.pl b/tests/runtests.pl index 492eed392..dd6490b44 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1715,8 +1715,11 @@ sub singletest { $ENV{$e}=""; # clean up } - # Don't bother doing verification on torture tests + # Skip all the verification on torture tests if ($torture) { + if(!$cmdres && !$keepoutfiles) { + cleardir($LOGDIR); + } return $cmdres; } -- cgit v1.2.3