Tests: enable VSE blend modes tests

The actual files for them and reference results were added several
years ago, but the tests themselves were never enabled

Pull Request: https://projects.blender.org/blender/blender/pulls/127898
This commit is contained in:
Aras Pranckevicius
2024-09-20 12:56:57 +02:00
committed by Aras Pranckevicius
parent 7d97f99dfc
commit e0ce6ce28a
2 changed files with 3 additions and 5 deletions

View File

@@ -1111,6 +1111,8 @@ else()
effects
filter
transform
blend_modes_byte
blend_modes_float
)
foreach(render_test ${render_tests})

View File

@@ -50,11 +50,7 @@ def main():
report = render_report.Report("Sequencer", output_dir, oiiotool)
report.set_pixelated(True)
# Default error tolerances are quite large, lower them.
report.set_fail_threshold(1.0 / 255.0)
if os.path.basename(test_dir) == "effects":
# Effects test uses input images with nan/inf values on purpose,
# and they have slightly more variance between platforms.
report.set_fail_threshold(2.0 / 255.0)
report.set_fail_threshold(2.0 / 255.0)
report.set_fail_percent(0.01)
report.set_reference_dir("reference")