Skip to content

Commit c1e5d40

Browse files
committed
Make debugging test crash easier
1 parent 8263f6a commit c1e5d40

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/functional/test_runner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ def run_tests(test_list, src_dir, build_dir, exeext, tmpdir, jobs=1, enable_cove
300300

301301
if len(test_list) > 1 and jobs > 1:
302302
# Populate cache
303-
subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
303+
try:
304+
subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
305+
except Exception as e:
306+
print(e.output)
307+
raise e
304308

305309
#Run Tests
306310
job_queue = TestHandler(jobs, tests_dir, tmpdir, test_list, flags)

0 commit comments

Comments
 (0)