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')
-rw-r--r--tests/python/cycles_render_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index 79ba11fdd44..bdf4283eb3e 100644
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -7,6 +7,7 @@ import shlex
import shutil
import subprocess
import sys
+from pathlib import Path
def get_arguments(filepath, output_filepath):
@@ -63,6 +64,12 @@ def main():
report.set_pixelated(True)
report.set_reference_dir("cycles_renders")
report.set_compare_engines('cycles', 'eevee')
+
+ # Increase threshold for motion blur, see T78777.
+ test_dir_name = Path(test_dir).name
+ if test_dir_name == 'motion_blur':
+ report.set_fail_threshold(0.032)
+
ok = report.run(test_dir, blender, get_arguments, batch=True)
sys.exit(not ok)