comparison tests/run-tests.py @ 49213:c95e5ba4de1e stable

run-tests: also send a message in the Keyboard interrupt case The next patch will do something equivalent, so lets do the change in an independant changeset first in case we need to bisect something in the future.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 24 May 2022 09:36:40 +0200
parents c827bb7b5806
children eca367970253
comparison
equal deleted inserted replaced
49210:cc92ad0e8185 49213:c95e5ba4de1e
2565 channels[channel] = "=" + test.name[5:].split(".")[0] 2565 channels[channel] = "=" + test.name[5:].split(".")[0]
2566 try: 2566 try:
2567 test(result) 2567 test(result)
2568 done.put(None) 2568 done.put(None)
2569 except KeyboardInterrupt: 2569 except KeyboardInterrupt:
2570 pass 2570 done.put(None)
2571 except: # re-raises 2571 except: # re-raises
2572 done.put(('!', test, 'run-test raised an error, see traceback')) 2572 done.put(('!', test, 'run-test raised an error, see traceback'))
2573 raise 2573 raise
2574 finally: 2574 finally:
2575 try: 2575 try: