Tests: Support parallel execution of render tests
Previously, parallel tests would overwrite each others temporary outputs.
This commit is contained in:
parent
a0cc7bd961
commit
9756475ed6
|
@ -324,7 +324,7 @@ class Report:
|
||||||
testname = test_get_name(filepath)
|
testname = test_get_name(filepath)
|
||||||
print_message(testname, 'SUCCESS', 'RUN')
|
print_message(testname, 'SUCCESS', 'RUN')
|
||||||
time_start = time.time()
|
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)
|
error = render_cb(filepath, tmp_filepath)
|
||||||
status = "FAIL"
|
status = "FAIL"
|
||||||
|
|
Loading…
Reference in New Issue