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
path: root/tests
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2020-08-05 14:00:15 +0300
committerSergey Sharybin <sergey@blender.org>2020-08-05 14:00:15 +0300
commit2c5c39d53cbf0dc93b31742e0437a9bf620bd8d6 (patch)
treeb11c4e6cb78e23f001a907c0b2a6755cdf9cae8a /tests
parent85e11ca7fb4d082c70fdb5b2cfd3f0c9bb615c54 (diff)
parent02ccc371444cb51525a4184ae6d70301458fad0d (diff)
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'tests')
-rw-r--r--tests/python/cycles_render_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index b2f0be2895f..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):
@@ -65,7 +66,8 @@ def main():
report.set_compare_engines('cycles', 'eevee')
# Increase threshold for motion blur, see T78777.
- if test_dir == 'motion_blur':
+ 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)