# HG changeset patch # User Simon Heimberg # Date 1389894935 -3600 # Node ID f7923ea4b188cb8c99c2b6719c4e1f8e997635d4 # Parent c7c23e04673e5b72683e321df03634ad510bc428 run-tests: report tests as failed when run-test raises an error Before no message was returned to the main thread. No result was registered and no new thread was started. This does not happen when running normal. But when fiddling around with the test infrastructure, this helps a lot. [ original upstream message ] diff -r c7c23e04673e -r f7923ea4b188 tests/run-tests.py --- a/tests/run-tests.py Tue Jan 07 22:29:39 2014 +0100 +++ b/tests/run-tests.py Thu Jan 16 18:55:35 2014 +0100 @@ -1077,6 +1077,9 @@ done.put(runone(options, test, count)) except KeyboardInterrupt: pass + except: # re-raises + done.put(('!', test, 'run-test raised an error, see traceback')) + raise try: while tests or running: