summaryrefslogtreecommitdiff
path: root/piglit.conf.example
diff options
context:
space:
mode:
authorDylan Baker <dylanx.c.baker@intel.com>2014-08-28 14:58:06 -0700
committerDylan Baker <dylanx.c.baker@intel.com>2014-09-02 10:51:14 -0700
commit012a2261768afb0d0e136c2e44cf25824be5e483 (patch)
tree69b7220424cd0b6726be135aca7457ed4e25a739 /piglit.conf.example
parentefbb8677beee5cf617b4edce7433c3c9a1e75267 (diff)
run.py: Allow using piglit.conf to set default backend
This patch adds support to the piglit.conf to add a default backend. If the config is empty and it is not set then 'json' will be returned (the standard piglit json backend everyone knows and hates). Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'piglit.conf.example')
-rw-r--r--piglit.conf.example7
1 files changed, 6 insertions, 1 deletions
diff --git a/piglit.conf.example b/piglit.conf.example
index 3844bd026..e7a2101a1 100644
--- a/piglit.conf.example
+++ b/piglit.conf.example
@@ -51,8 +51,13 @@ run_test=./%(test_name)s
[core]
; Set the default platform to use.
-; Options can be found by running piglit -h and reading the section
+; Options can be found by running piglit run -h and reading the section
; for -p/--platform
;
; The default on Linux will be mixed_glx_egl
;platform=gbm
+
+; Set the default backend to use
+; Options can be found running piglit run -h and reading the section for
+; -b/--backend
+;backend=json