Skip to content

Commit 860c785

Browse files
committed
testing: Cut render-* test resolution in half to speed up testing
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. Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent 45ae428 commit 860c785

55 files changed

Lines changed: 28 additions & 28 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
-245 KB
Binary file not shown.

testsuite/render-background/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
idiff_program = "idiff"
1212

1313
outputs = [ "out.exr" ]
14-
command = testrender("-r 320 240 -aa 4 --options statistics:level=1 scene.xml out.exr")
14+
command = testrender("-r 160 120 -aa 4 --options statistics:level=1 scene.xml out.exr")
-65.9 KB
Binary file not shown.

testsuite/render-bumptest/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
hardfail = 0.035
1010

1111
outputs = [ "out.exr" ]
12-
command = testrender("-r 256 256 -aa 4 --llvm_opt 13 bumptest.xml out.exr")
12+
command = testrender("-r 128 128 -aa 4 --llvm_opt 13 bumptest.xml out.exr")
1313

1414
# Note: we pick this test arbitrarily as the one to verify llvm_opt=13 works
-174 KB
Binary file not shown.

testsuite/render-bunny/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
failthresh = 0.01
88
failpercent = 1
99
outputs = [ "out.exr" ]
10-
command = testrender("-r 256 256 -aa 8 bunny.xml out.exr")
10+
command = testrender("-r 128 128 -aa 8 bunny.xml out.exr")
-182 KB
Binary file not shown.

testsuite/render-cornell/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
failthresh = 0.01
88
failpercent = 1
99
outputs = [ "out.exr" ]
10-
command = testrender("-r 256 256 -aa 4 --llvm_opt 12 cornell.xml out.exr")
10+
command = testrender("-r 128 128 -aa 4 --llvm_opt 12 cornell.xml out.exr")
1111

1212
# Note: we pick this test arbitrarily as the one to verify llvm_opt=12 works
-189 KB
Binary file not shown.

testsuite/render-displacement/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
failthresh = 0.01
88
failpercent = 1
99
outputs = [ "out.exr" ]
10-
command = testrender("-r 256 256 -aa 8 scene.xml out.exr")
10+
command = testrender("-r 128 128 -aa 8 scene.xml out.exr")

0 commit comments

Comments
 (0)