Tests: Support parallel execution of render tests

Previously, parallel tests would overwrite each others temporary outputs.
This commit is contained in:
Lukas Stockner
2018-10-06 22:12:28 +02:00
parent a0cc7bd961
commit 9756475ed6

View File

@@ -324,7 +324,7 @@ class Report:
testname = test_get_name(filepath)
print_message(testname, 'SUCCESS', 'RUN')
time_start = time.time()
tmp_filepath = os.path.join(self.output_dir, "tmp")
tmp_filepath = os.path.join(self.output_dir, "tmp_"+testname)
error = render_cb(filepath, tmp_filepath)
status = "FAIL"