changeset 18051:48f797ac0879

tests: kill daemons early, making breaking at "Accept" prompt safe
author Mads Kiilerich <madski@unity3d.com>
date Sun, 09 Dec 2012 23:33:16 +0100
parents 5522a7951bd7
children 6db1642288c0
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Mon Dec 10 12:14:55 2012 -0800
+++ b/tests/run-tests.py	Sun Dec 09 23:33:16 2012 +0100
@@ -926,6 +926,8 @@
         times.append((test, endtime - starttime))
     vlog("# Ret was:", ret)
 
+    killdaemons()
+
     mark = '.'
 
     skipped = (ret == SKIPPED_STATUS)
@@ -996,8 +998,6 @@
         sys.stdout.flush()
         iolock.release()
 
-    killdaemons()
-
     if not options.keep_tmpdir:
         shutil.rmtree(testtmp, True)
     if skipped: