Tests: temporarily increase threshold for OpenImageDenoise test
Until all platforms have the same version, this helps the tests pass.
This commit is contained in:
parent
ea3895558d
commit
1f55e12206
|
@ -54,6 +54,11 @@ def main():
|
||||||
report = render_report.Report("Compositor", output_dir, idiff)
|
report = render_report.Report("Compositor", output_dir, idiff)
|
||||||
report.set_pixelated(True)
|
report.set_pixelated(True)
|
||||||
report.set_reference_dir("compositor_renders")
|
report.set_reference_dir("compositor_renders")
|
||||||
|
|
||||||
|
# Temporary change to pass OpenImageDenoise test with both 1.3 and 1.4.
|
||||||
|
if os.path.basename(test_dir) == 'filter':
|
||||||
|
report.set_fail_threshold(0.05)
|
||||||
|
|
||||||
ok = report.run(test_dir, blender, get_arguments, batch=True)
|
ok = report.run(test_dir, blender, get_arguments, batch=True)
|
||||||
|
|
||||||
sys.exit(not ok)
|
sys.exit(not ok)
|
||||||
|
|
Loading…
Reference in New Issue