piglit.conf.example 6.42 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-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

50 51 52 53 54 55 56 57 58 59 60
;[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
61 62 63 64 65 66
;
; Path to the test case list of CTS for deqp-gles3. You can also set this with
; the environment variable PIGLIT_DEQP_MUSTPASS. Piglit will run the subset of
; dEQP-GLES3 tests if and only if this option is set.
;mustpasslist= \
; /android/platform/external/deqp/android/cts/com.drawelements.deqp.gles3.xml
67

68 69 70 71 72 73 74 75 76 77
[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

78 79 80 81 82 83 84 85 86 87
[deqp-vk]
; Path to the deqp-ck executable
; 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

88 89 90
[cts_gles]
; path to the cts opengles executable
; can be overwritten by PIGLIT_CTS_GLES_BIN environment variable
91 92 93
;bin=/home/knuth/cts/cts/glcts

; Space-separated list of extra command line arguments for cts. The
94 95 96 97 98 99 100 101 102 103 104
; 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
105 106 107
; overrides the value set here.
;extra_args=--deqp-visibility hidden

108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
; 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
133 134 135

[core]
; Set the default platform to use.
136
; Options can be found by running piglit run -h and reading the section
137 138 139 140
; for -p/--platform
;
; The default on Linux will be mixed_glx_egl
;platform=gbm
141 142 143 144 145

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

147
; Set the default compression method to use for results
148 149 150
; May be one of: 'none', 'gz', 'bz2', 'xz'
; note: xz requires either the backports.lzma python module or an xz binary
;
151 152
; Default: 'bz2'
;compression=bz2
153

154 155 156 157 158 159 160 161 162 163
[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
164
; crash.
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193

[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