diff options
| author | MeshCollider <[email protected]> | 2017-10-13 23:19:20 +1300 |
|---|---|---|
| committer | MeshCollider <[email protected]> | 2017-11-18 00:51:00 +1300 |
| commit | c1e5d40e166f0b9ad832c14747e77322ab439185 (patch) | |
| tree | 5ba7abd8a5d011876e385c728e9dc409839a06cc | |
| parent | Create walletdir if datadir doesn't exist and fix tests (diff) | |
| download | discoin-c1e5d40e166f0b9ad832c14747e77322ab439185.tar.xz discoin-c1e5d40e166f0b9ad832c14747e77322ab439185.zip | |
Make debugging test crash easier
| -rwxr-xr-x | test/functional/test_runner.py | 6 |
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) |