Mercurial > hg-stable
changeset 19304:59d5281b5799
run-tests: simplify interrupted message
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 07 Jun 2013 16:04:11 -0500 |
parents | ef29a552d00d |
children | 59cdd3a7e281 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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))