summaryrefslogtreecommitdiff
path: root/testsuite/driver/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/driver/testlib.py')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index c69c874c8c..a7221847a7 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -694,7 +694,7 @@ def test_common_work (name, opts, func, args):
if way not in do_ways:
skiptest (name,way)
- if getTestOpts().cleanup != '' and (config.clean_only or do_ways != []):
+ if config.cleanup and (config.clean_only or do_ways):
pretest_cleanup(name)
clean([name + suff for suff in [
'', '.exe', '.exe.manifest', '.genscript',