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:
authorJeroen Bakker <jeroen@blender.org>2022-06-21 17:03:01 +0300
committerJeroen Bakker <jeroen@blender.org>2022-06-21 17:03:01 +0300
commit1000f870a956d0cbdac509fe8905cad4365b90fd (patch)
tree853e2ff4cfbb7d1c3f95919bf5f96bc57f7d498d
parentee78c860b8aa4206ec4d00d733b23c0a0f8d469a (diff)
Increase render threshold for image test.temp-T99046-render-test-increase-fail-threshold
Makes the current test cases pass on NVIDIA 1080Ti/515.
-rw-r--r--tests/python/eevee_render_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py
index 8c6f08ae76e..68895291044 100644
--- a/tests/python/eevee_render_tests.py
+++ b/tests/python/eevee_render_tests.py
@@ -7,6 +7,7 @@ import shlex
import shutil
import subprocess
import sys
+from pathlib import Path
def setup():
@@ -138,6 +139,11 @@ def main():
report.set_pixelated(True)
report.set_reference_dir("eevee_renders")
report.set_compare_engine('cycles', 'CPU')
+
+ test_dir_name = Path(test_dir).name
+ if test_dir_name.startswith('image'):
+ report.set_fail_threshold(0.051)
+
ok = report.run(test_dir, blender, get_arguments, batch=True)
sys.exit(not ok)