Skip to content

Commit

Permalink
testing: update some optix ref images and comparison thresholds
Browse files Browse the repository at this point in the history
Determined by trying a couple GPU configurations at work.

Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Feb 8, 2025
1 parent 3e7b51f commit a334b8a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
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

0 comments on commit a334b8a

Please sign in to comment.