run-tests: simplify interrupted message
authorMatt Mackall <mpm@selenic.com>
Fri, 07 Jun 2013 16:04:11 -0500
changeset 19304 59d5281b5799
parent 19303 ef29a552d00d
child 19306 59cdd3a7e281
run-tests: simplify interrupted message
tests/run-tests.py
--- a/tests/run-tests.py	Fri Jun 07 15:58:14 2013 -0500
+++ b/tests/run-tests.py	Fri Jun 07 16:04:11 2013 -0500
@@ -961,8 +961,7 @@
         ret, out = runner(testpath, testtmp, options, replacements, env)
     except KeyboardInterrupt:
         endtime = time.time()
-        msg = '(after %d seconds)' % (endtime - starttime)
-        log('INTERRUPTED:', test, msg)
+        log('INTERRUPTED: %s (after %d seconds)' % (test, endtime - starttime))
         raise
     endtime = time.time()
     times.append((test, endtime - starttime))