summaryrefslogtreecommitdiff
path: root/piglit.conf.example
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2014-12-07 19:45:16 -0800
committerChad Versace <chad.versace@intel.com>2014-12-22 14:06:39 -0600
commit2f122df395f19b5e27f5bd5f4fea8712f4c0c680 (patch)
treed9336dfad95f8baeba7057832bf1961baab0ba21 /piglit.conf.example
parente59218598119d1bb9521f2824c7dfbce152504ee (diff)
deqp: Add test profile for external dEQP-GLES3 tests (v4)
Google opensourced the drawElements Quality Product Testsuite (dEQP) as part of the Android Lollipop release. It's git repo lives in the Android tree at [https://android.googlesource.com/platform/external/deqp/]. This patch adds a new module, deqp_gles3.py, that runs the dEQP-GLES3 tests. It queries the 'deqp-gles3' executable at runtime for the list of testcases. The module attempts queries the 'deqp-gles3' executable only if the environment variable PIGLIT_DEQP_GLES3_EXE or the piglit.conf option deqp-gles3.exe is set. Why do we need to use Pigit as the testrunner for dEQP? (After all, dEQP has its own testrunner). Because dEQP runs all tests in a single process. If test 17530 of 55409 crashes, then the dEQP testrunner crashes and the remaining tests never run. Piglit doesn't suffer from that problem, because it runs each test as a separate process. Tested on Intel Ivybridge by running the command piglit run -t dEQP-GLES3/info/vendor \ tests/deqp_gles3.py tests/quick.py results with and without PIGLIT_DEQP_GLES3_EXE set and with and without piglit.conf:deqp-gles.exe set. Also tested with various combinations of valid and invalid values for PIGLIT_DEQP_GLES_EXTRA_ARGS and piglit.conf:deqp-gles.extra_args. Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com> (v2) Reviewed-by: Michael W Mason <michael.w.mason@intel.com> (v4) Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'piglit.conf.example')
-rw-r--r--piglit.conf.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/piglit.conf.example b/piglit.conf.example
index a864c0190..b3869c273 100644
--- a/piglit.conf.example
+++ b/piglit.conf.example
@@ -33,6 +33,18 @@ bindir=/home/usr/oclconform
testA
testB
+;[deqp-gles3]
+;
+; Path to the deqp-gles3 executable. You can also set this with the environment
+; variable PIGLIT_DEQP_GLES3_EXE. Piglit will run the dEQP-GLES3 tests if and
+; only if this option is set.
+;exe=/home/knuth/deqp/modules/gles3/deqp-gles3
+;
+; Space-separated list of extra command line arguments for deqp-gles3. The
+; option is not required. The environment variable PIGLIT_DEQP_GLES3_EXTRA_ARGS
+; overrides the value set here.
+;extra_args=--deqp-visibility hidden
+
; Section for specific oclconform test. One of these sections is required for
; each test list in the oclconform section and must be called:
; oclconform-$testname