aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-24 23:28:57 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-24 23:28:57 +0000
commit61d7e720a58bef33e46b300c70ad88793801e077 (patch)
tree71a70709fab212608c4b2532c49a2e1cf6a791fe
parent17507eac852b2042e51984899fd18b59a17300ee (diff)
Treat log files and -k the same when running torture tests as when not.
-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;
}