aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeshCollider <[email protected]>2017-10-13 23:19:20 +1300
committerMeshCollider <[email protected]>2017-11-18 00:51:00 +1300
commitc1e5d40e166f0b9ad832c14747e77322ab439185 (patch)
tree5ba7abd8a5d011876e385c728e9dc409839a06cc
parentCreate walletdir if datadir doesn't exist and fix tests (diff)
downloaddiscoin-c1e5d40e166f0b9ad832c14747e77322ab439185.tar.xz
discoin-c1e5d40e166f0b9ad832c14747e77322ab439185.zip
Make debugging test crash easier
-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 ca36426a0..d953e1585 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)