Browse Source

Make debugging test crash easier

0.16
MeshCollider 7 years ago
parent
commit
c1e5d40e16
  1. 4
      test/functional/test_runner.py

4
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: 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…
Cancel
Save