piglit.conf.example 7.96 KB
Newer Older
1 2 3 4
;[opencv]
; Set the opencv_test_ocl_bindir variable to run the OpenCV OpenCL tests.
;opencv_test_ocl_bindir=/home/user/opencv/build/bin
;opencv_workdir=/home/user/opencv/samples/c/
5 6 7 8 9 10 11 12 13 14
; Run each subtest individiually to so a result is recored for each subtest.
; For example, default behavior:
; opencv/OCL_ML/Kmeans -> Pass
;
; With 'individual' option:
; OCL_ML/Kmeans.Mat/0 -> Pass
; OCL_ML/Kmeans.Mat/1 -> Pass
; OCL_ML/Kmeans.Mat/2 -> Pass
;
;individual
15
;
16 17 18
[xts]
; Set bindir equal to the root of the xts directory
;path=/home/user/src/xts
19 20 21 22

[igt]
; Set bindir equal to the absolute root of the igt directory
;path=/home/user/src/igt
23 24 25 26

[oglconform]
; Set bindir equal to the absolute root of the oglconform directory
;path=/home/usr/src/oglconform
27 28 29 30 31 32 33 34 35

[oclconform]
; bindir is the directory that the commands to run tests and list subtests
; will be executed in.
bindir=/home/usr/oclconform
; List the tests you want to run
testA
testB

36 37 38 39
[deqp]
; Options that affect all deqp based suites
;extra_args=--deqp-visibility=hidden

40 41 42 43 44 45 46 47 48 49
[deqp-egl]
; Path to the deqp-egl executable
; Can be overwritten by PIGLIT_DEQP_EGL_BIN environment variable
;bin=/home/knuth/deqp/modules/egl/deqp-egl

; Space-separated list of extra command line arguments for deqp-egl. The
; option is not required. The environment variable PIGLIT_DEQP_EGL_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

50 51 52 53 54 55 56 57 58 59
[deqp-gles2]
; Path to the deqp-gles2 executable
; Can be overwritten by PIGLIT_DEQP_GLES2_BIN environment variable
;bin=/home/knuth/deqp/modules/gles2/deqp-gles2

; Space-separated list of extra command line arguments for deqp-gles31. The
; option is not required. The environment variable PIGLIT_DEQP_GLES31_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

60 61 62
; Path to the test case list of CTS for deqp-gles2. You can also set this with
; the environment variable PIGLIT_DEQP2_MUSTPASS. Piglit will run the subset of
; dEQP-GLES2 tests if this option is set.
63
;mustpasslist=/home/knuth/src/deqp/android/cts/master/gles2-master.txt
64 65

[deqp-gles3]
66 67
;
; Path to the deqp-gles3 executable. You can also set this with the environment
68
; variable PIGLIT_DEQP_GLES3_BIN. Piglit will run the dEQP-GLES3 tests if and
69
; only if this option is set.
70
;bin=/home/knuth/deqp/modules/gles3/deqp-gles3
71 72 73 74 75
;
; 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
76 77
;
; Path to the test case list of CTS for deqp-gles3. You can also set this with
78 79
; the environment variable PIGLIT_DEQP3_MUSTPASS. Piglit will run the subset of
; dEQP-GLES3 tests if this option is set.
80
;mustpasslist=/home/knuth/src/deqp/android/cts/master/gles3-master.txt
81

82 83 84 85 86 87 88 89 90 91
[deqp-gles31]
; Path to the deqp-gles31 executable
; Can be overwritten by PIGLIT_DEQP_GLES31_BIN environment variable
;bin=/home/knuth/deqp/modules/gles31/deqp-gles31

; Space-separated list of extra command line arguments for deqp-gles31. The
; option is not required. The environment variable PIGLIT_DEQP_GLES31_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

92 93 94
; Path to the test case list of CTS for deqp-gles31. You can also set this with
; the environment variable PIGLIT_DEQP31_MUSTPASS. Piglit will run the subset of
; dEQP-GLES31 tests if this option is set.
95
;mustpasslist=/home/knuth/src/deqp/android/cts/master/gles31-master.txt
96

97
[deqp-vk]
98
; Path to the deqp-vk executable
99 100 101 102 103 104 105 106
; Can be overwritten by PIGLIT_DEQP_VK_BIN environment variable
;bin=/home/knuth/Vulkan-CTS/external/vulkancts/modules/vulkan/deqp-vk

; Space-separated list of extra command line arguments for deqp-gles31. The
; option is not required. The environment variable PIGLIT_DEQP_VK_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

107 108 109
[cts_gles]
; path to the cts opengles executable
; can be overwritten by PIGLIT_CTS_GLES_BIN environment variable
110 111 112
;bin=/home/knuth/cts/cts/glcts

; Space-separated list of extra command line arguments for cts. The
113 114 115 116 117 118 119 120 121 122 123
; option is not required. The environment variable PIGLIT_CTS_GLES_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

[cts_gl]
; path to the cts opengl executable
; can be overwritten by PIGLIT_CTS_GL_BIN environment variable
;bin=/home/knuth/cts/cts/glcts

; Space-separated list of extra command line arguments for cts. The
; option is not required. The environment variable PIGLIT_CTS_GL_EXTRA_ARGS
124 125 126
; overrides the value set here.
;extra_args=--deqp-visibility hidden

127 128 129 130 131 132 133 134 135 136
[khr_gl]
; path to the Khronos CTS OpenGL executable
; can be overwritten by PIGLIT_KHR_GL_BIN environment variable
;bin=/home/knuth/vk-gl-cts/build/external/openglcts/modules/glcts

; Space-separated list of extra command line arguments for cts. The
; option is not required. The environment variable PIGLIT_KHR_GL_EXTRA_ARGS
; overrides the value set here.
;extra_args=--deqp-visibility hidden

137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
; 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
[oclconform-testA]
test_name=testA
; Add concurrent to this section if the test can be run concurrently
; concurrent

; For tests with subtests:

; The value of list_subtests is a command that will list all the subtest for
; this test
; list_subtest=./%(test_name)s --list-tests

; The value of subtest_regex should be a regular expression used to select
; which subtests to run.
; subtest_regex=fast.+

; run_subtest is a command to execute a subtest.  Anywhere <subtest> is found
; in the command, it will be replaced with the name of the subtest.
; run_subtest=./%(test_name)s --test=<subtest>

; For regular tests:
; run_test is the command used for running the test
run_test=./%(test_name)s
162 163 164

[core]
; Set the default platform to use.
165
; Options can be found by running piglit run -h and reading the section
166 167 168 169
; for -p/--platform
;
; The default on Linux will be mixed_glx_egl
;platform=gbm
170 171 172 173 174

; Set the default backend to use
; Options can be found running piglit run -h and reading the section for
; -b/--backend
;backend=json
175

176
; Set the default compression method to use for results
177 178 179
; May be one of: 'none', 'gz', 'bz2', 'xz'
; note: xz requires either the backports.lzma python module or an xz binary
;
180 181
; Default: 'bz2'
;compression=bz2
182

183 184 185 186 187 188 189
; Set this value to change whether piglit defaults to using process isolation
; or not. Care should be taken when using this option since it provides a
; performance improvement, but with a cost in stability and reproducibility.
; 
; Default: True
;process isolation=True

190 191 192 193 194 195 196 197 198 199
[expected-failures]
; Provide a list of test names that are expected to fail.  These tests
; will be listed as passing in JUnit output when they fail.  Any
; unexpected result (pass/crash) will be listed as a failure.  The
; test name must be written in the JUnit format ('.' instead of '/').
; Special characters for config file format ('=' and ':') must be
; replaced with '.'

[expected-crashes]
; Like expected-failures, but specifies that a test is expected to
200
; crash.
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229

[monitored-errors]
; Set the monitoring rules for checking when the system need to be rebooted.
; Piglit must be launched with --abort-on-monitored-error
;
; For each activated monitoring rule a section must be created in this file that
; contains the type of monitoring (dmesg, file or locked_file).
; Depending on the type, the parameter 'parameters' is a filename or a list of
; options. The regex is the pattern that causes Piglit aborting when it's found.
; Examples :
;
;i915_error_state
;kmsg_monitoring
;dmesg_error
;
;[i915_error_state]
;type=file
;parameters=/sys/kernel/debug/dri/0/i915_error_state
;regex=^((?!no error state collected).)*$
;
;[kmsg_monitoring]
;type=locked_file
;parameters=/dev/kmsg
;regex=\*ERROR\* ring create req|\*ERROR\* Failed to reset chip
;
;[dmesg_error]
;type=dmesg
;parameters=--level emerg,alert,crit,err,warn,notice
;regex=\*ERROR\* ring create req|\*ERROR\* Failed to reset chip|BUG:|Oops:|turning off the locking correctness validator
230 231

; vim: ft=dosini