Skip to content

Commit 4ce094f

Browse files
authored
testing: update some optix ref images and comparison thresholds (#1937)
Determined by trying a couple GPU configurations at work. Signed-off-by: Larry Gritz <[email protected]>
1 parent 3e7b51f commit 4ce094f

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed
325 KB
Binary file not shown.

testsuite/render-microfacet/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
66

77
failthresh = 0.02
8+
failrelative = 0.01
89
failpercent = 1
910
allowfailures = 5
1011
idiff_program = "idiff"

testsuite/render-mx-generalized-schlick/run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66

77
failthresh = 0.01
88
failpercent = 1
9+
allowfailures = 2
10+
idiff_program = "idiff"
11+
912
outputs = [ "out.exr" ]
1013
command = testrender("-v -r 320 240 -aa 16 scene.xml out.exr")

testsuite/render-raytypes/run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
failthresh = 0.01
1111
failpercent = 1
1212
hardfail = 0.025
13+
allowfailures = 2
14+
idiff_program = "idiff"
1315

1416
outputs = [ "out.exr" ]
1517
command = testrender("-v -r 100 75 -aa 2 scene.xml out.exr")

testsuite/runtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def runtest (command, outputs, failureok=0, failthresh=0, failpercent=0, regress
454454
failthresh=failthresh, failpercent=failpercent, filter_re=filter_re)
455455

456456
if ret == 0 and cleanup_on_success :
457-
for ext in image_extensions + [ ".txt", ".diff" ] :
457+
for ext in image_extensions + [ ".txt", ".diff", ".oso" ] :
458458
files = glob.iglob (srcdir + '/*' + ext)
459459
baselineFiles = glob.iglob (srcdir + '/baseline/*' + ext)
460460
for f in chain(files,baselineFiles) :

0 commit comments

Comments
 (0)