Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: update some optix ref images and comparison thresholds #1937

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
1 change: 1 addition & 0 deletions testsuite/render-microfacet/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage

failthresh = 0.02
failrelative = 0.01
failpercent = 1
allowfailures = 5
idiff_program = "idiff"
Expand Down
3 changes: 3 additions & 0 deletions testsuite/render-mx-generalized-schlick/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@

failthresh = 0.01
failpercent = 1
allowfailures = 2
idiff_program = "idiff"

outputs = [ "out.exr" ]
command = testrender("-v -r 320 240 -aa 16 scene.xml out.exr")
2 changes: 2 additions & 0 deletions testsuite/render-raytypes/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
failthresh = 0.01
failpercent = 1
hardfail = 0.025
allowfailures = 2
idiff_program = "idiff"

outputs = [ "out.exr" ]
command = testrender("-v -r 100 75 -aa 2 scene.xml out.exr")
2 changes: 1 addition & 1 deletion testsuite/runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def runtest (command, outputs, failureok=0, failthresh=0, failpercent=0, regress
failthresh=failthresh, failpercent=failpercent, filter_re=filter_re)

if ret == 0 and cleanup_on_success :
for ext in image_extensions + [ ".txt", ".diff" ] :
for ext in image_extensions + [ ".txt", ".diff", ".oso" ] :
files = glob.iglob (srcdir + '/*' + ext)
baselineFiles = glob.iglob (srcdir + '/baseline/*' + ext)
for f in chain(files,baselineFiles) :
Expand Down
Loading