Files
OpenShadingLanguage/testsuite/render-mx-sheen/run.py
T
Larry Gritz 0428618794 testing: Cut render-* test resolution in half to speed up testing (#2131)
The time it takes to run a full testsuite was slowly creeping up to an
inconvenient time on CI. The most expensive test are the `render-*`
tests. Cut all of their resolutions in half to speed up CI runs.

Update a lot of reference images.

But after updating the ref images we need to fully pass CI (and pass
on my work machine and my personal laptop), I could see that there
were a number of `testsuite/render-*/ref/*.exr` files that did NOT
get updated in this process -- we must conclude that they are old
references that are no longer needed, so I deleted them.

I also noticed that testsuite/render-material-layer had no ref images
updated, and some git investigation reveals that this test that was
added in 2017 was NEVER in testing.cmake and thus never ran in CI
at all. So just remove it.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
2026-06-19 08:46:27 -07:00

14 lines
354 B
Python
Executable File

#!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
failthresh = 0.01
failpercent = 1
allowfailures = 5
idiff_program = "idiff"
outputs = [ "out.exr" ]
command = testrender("-r 160 120 -aa 6 scene.xml out.exr")