tests: kill daemons early, making breaking at "Accept" prompt safe stable
authorMads Kiilerich <madski@unity3d.com>
Sun, 09 Dec 2012 23:33:16 +0100
branchstable
changeset 1173 d5da1c5cf1f5
parent 1172 9948a0145724
child 1174 193946338595
tests: kill daemons early, making breaking at "Accept" prompt safe [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Tue Dec 11 15:38:42 2012 -0800
+++ b/tests/run-tests.py	Sun Dec 09 23:33:16 2012 +0100
@@ -929,6 +929,8 @@
         times.append((test, endtime - starttime))
     vlog("# Ret was:", ret)
 
+    killdaemons()
+
     mark = '.'
 
     skipped = (ret == SKIPPED_STATUS)
@@ -999,8 +1001,6 @@
         sys.stdout.flush()
         iolock.release()
 
-    killdaemons()
-
     if not options.keep_tmpdir:
         shutil.rmtree(testtmp, True)
     if skipped: