piglit.conf.example 4.08 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 40 41 42 43 44 45
[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

46 47 48 49 50 51 52 53 54 55 56
;[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
57 58 59 60 61 62
;
; 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
63

64 65 66 67 68 69 70 71 72 73
[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

74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
; 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
99 100 101

[core]
; Set the default platform to use.
102
; Options can be found by running piglit run -h and reading the section
103 104 105 106
; for -p/--platform
;
; The default on Linux will be mixed_glx_egl
;platform=gbm
107 108 109 110 111

; Set the default backend to use
; Options can be found running piglit run -h and reading the section for
; -b/--backend
;backend=json
112 113 114 115 116 117 118 119 120 121 122

[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
123
; crash.