aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/runtests.pl5
1 files changed, 4 insertions, 1 deletions
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;
}