aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2014-08-29 10:03:41 +0300
committermattip <matti.picus@gmail.com>2014-08-29 10:03:41 +0300
commit2c187766ad335ef75c1ea2935c9d66e6711f7b45 (patch)
tree8dfc7faf6be0d7b6c1582d3808e618bf553e1141 /testrunner
parenttest/fix check for directory in rfile open (diff)
downloadpypy-2c187766ad335ef75c1ea2935c9d66e6711f7b45.tar.gz
pypy-2c187766ad335ef75c1ea2935c9d66e6711f7b45.tar.bz2
pypy-2c187766ad335ef75c1ea2935c9d66e6711f7b45.zip
try harder to avoid windows-app crashes opening a dialog box under buildbots
Diffstat (limited to 'testrunner')
-rw-r--r--testrunner/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testrunner/runner.py b/testrunner/runner.py
index 6793f9ad31..a1067cb04c 100644
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -407,7 +407,8 @@ def main(args):
run_param.dry_run = opts.dry_run
if run_param.dry_run:
- print >>out, run_param.__dict__
+ print >>out, '\n'.join([str((k, getattr(run_param, k))) \
+ for k in dir(run_param) if k[:2] != '__'])
res = execute_tests(run_param, testdirs, logfile, out)