tests: kill daemons early, making breaking at "Accept" prompt safe
authorMads Kiilerich <madski@unity3d.com>
Sun, 09 Dec 2012 23:33:16 +0100
changeset 18051 48f797ac0879
parent 18050 5522a7951bd7
child 18052 6db1642288c0
tests: kill daemons early, making breaking at "Accept" prompt safe
tests/run-tests.py
--- 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: