Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python/cycles_render_tests.py')
-rwxr-xr-xtests/python/cycles_render_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index 1717210663a..381c04d9b7f 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -56,6 +56,7 @@ def render_file(filepath, output_filepath):
shutil.copy(frame_filepath, output_filepath)
os.remove(frame_filepath)
if VERBOSE:
+ print(" ".join(command))
print(output.decode("utf-8"))
return None
except subprocess.CalledProcessError as e:
@@ -63,6 +64,7 @@ def render_file(filepath, output_filepath):
if os.path.exists(frame_filepath):
os.remove(frame_filepath)
if VERBOSE:
+ print(" ".join(command))
print(e.output.decode("utf-8"))
if b"Error: engine not found" in e.output:
return "NO_ENGINE"
@@ -74,6 +76,7 @@ def render_file(filepath, output_filepath):
if os.path.exists(frame_filepath):
os.remove(frame_filepath)
if VERBOSE:
+ print(" ".join(command))
print(e)
return "CRASH"
@@ -103,6 +106,7 @@ def main():
from modules import render_report
report = render_report.Report("Cycles Test Report", output_dir, idiff)
report.set_pixelated(True)
+ report.set_compare_engines('cycles', 'eevee')
ok = report.run(test_dir, render_file)
sys.exit(not ok)