aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMeshCollider <dobsonsa68@gmail.com>2017-10-13 23:19:20 +1300
committerMeshCollider <dobsonsa68@gmail.com>2017-11-18 00:51:00 +1300
commitc1e5d40e166f0b9ad832c14747e77322ab439185 (patch)
tree5ba7abd8a5d011876e385c728e9dc409839a06cc /test
parent8263f6a5ac3f3af102a2819b7e179b00db7e0437 (diff)
downloadbitcoin-c1e5d40e166f0b9ad832c14747e77322ab439185.tar.xz
Make debugging test crash easier
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_runner.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index ca36426a0a..d953e1585c 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -300,7 +300,11 @@ def run_tests(test_list, src_dir, build_dir, exeext, tmpdir, jobs=1, enable_cove
if len(test_list) > 1 and jobs > 1:
# Populate cache
- subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
+ try:
+ subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
+ except Exception as e:
+ print(e.output)
+ raise e
#Run Tests
job_queue = TestHandler(jobs, tests_dir, tmpdir, test_list, flags)