mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
Make debugging test crash easier
This commit is contained in:
parent
8263f6a5ac
commit
c1e5d40e16
@ -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:
|
if len(test_list) > 1 and jobs > 1:
|
||||||
# Populate cache
|
# Populate cache
|
||||||
|
try:
|
||||||
subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
|
subprocess.check_output([tests_dir + 'create_cache.py'] + flags + ["--tmpdir=%s/cache" % tmpdir])
|
||||||
|
except Exception as e:
|
||||||
|
print(e.output)
|
||||||
|
raise e
|
||||||
|
|
||||||
#Run Tests
|
#Run Tests
|
||||||
job_queue = TestHandler(jobs, tests_dir, tmpdir, test_list, flags)
|
job_queue = TestHandler(jobs, tests_dir, tmpdir, test_list, flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user