summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2017-04-26 09:12:00 -0600
committerBrian Paul <brianp@vmware.com>2017-04-27 20:16:58 -0600
commitfb4cf21537c403e4f1dd6cd00d18062c1ca0c1d8 (patch)
tree0de00bc2c5aaa7ec398e3153a813267b7f7771d4 /framework
parent723952866d559e8f6c5acf90592d9b7ddbcf2270 (diff)
framework/test/shader_test: use -fbo option for shader tests
Running shader tests with a FBO instead of a window is faster in some environments. For example, for a Windows7 VM (debug build of everything) the runtime of a large piglit run drops from to 3.7 hours to 3.2 hours. In a Linux guest, piglit-run.py -t built-in-functions drops from 19 minutes to 15 minutes. No regressions found with VMware driver in Windows VM and Linux VM. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/test/shader_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 8c493d516..d98ec98e2 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -169,8 +169,8 @@ class ShaderTest(FastSkipMixin, PiglitBaseTest):
@PiglitBaseTest.command.getter
def command(self):
- """ Add -auto to the test command """
- return self._command + ['-auto']
+ """ Add -auto and -fbo to the test command """
+ return self._command + ['-auto', '-fbo']
class MultiShaderTest(ReducedProcessMixin, PiglitBaseTest):