mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Tests: add Eevee reference images, and add workbench tests
Being able to compare Eevee reference images is useful for refactoring I'm working on so might as well add them now, even if we can still improve them. Workbench tests are just rendering the same files as Cycles and Eevee. This doesn't really tests many workbench settings until we add tests specifically for them, but does cover how it it handles the different object types.
This commit is contained in:
parent
51f222f91d
commit
fb3e138cee
3 changed files with 133 additions and 3 deletions
|
|
@ -106,6 +106,7 @@ def main():
|
|||
from modules import render_report
|
||||
report = render_report.Report("Cycles Test Report", output_dir, idiff)
|
||||
report.set_pixelated(True)
|
||||
report.set_reference_dir("cycles_renders")
|
||||
report.set_compare_engines('cycles', 'eevee')
|
||||
ok = report.run(test_dir, render_file)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue