From 9b97a96ab715882cc5ec93b324050a3e9e353049 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 21 Jun 2013 02:15:47 +0000 Subject: [PATCH] make it possible to abort regression tests --- tools/run_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/run_tests.py b/tools/run_tests.py index 49a41eb82..ad01244c5 100755 --- a/tools/run_tests.py +++ b/tools/run_tests.py @@ -141,6 +141,9 @@ def run_tests(toolset, tests, features, options, test_dir, time_limit, increment else: sys.stdout.write('X') sys.stdout.flush() + except: + # need this to make child processes exit + sys.exit(1) finally: try: os.unlink(xml_file) except: pass