summaryrefslogtreecommitdiff
path: root/automated/linux/piglit/piglit.yaml
blob: c0e8d5f30ae6392dc30d74cb691368bfd7cbc2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
metadata:
    format: Lava-Test Test Definition 1.0
    name: piglit
    description: "Piglit is an open-source test suite for OpenGL implementations.
                  For more information: https://piglit.freedesktop.org/"
    maintainer:
        - anibal.limon@linaro.org
    os:
        - debian
        - ubuntu
        - centos
        - fedora
        - openembedded
    scope:
        - functional
    devices:
        - dragonboard410c

# Exclude via OPTIONS:
# * glx, because those are driver specific
# * streaming-texture-leak, because it needs swap, not readily available
params:
    DISPLAY: ":0"
    PIGLIT_SOURCE_DIR: "/usr/lib64/piglit"
    OPTIONS: "-x streaming-texture-leak -x glx"
    SUITE: "tests/quick.py"

run:
    steps:
        - . ./automated/lib/sh-test-lib
        - install_deps piglit
        - export DISPLAY=${DISPLAY}
        - export PIGLIT_SOURCE_DIR=${PIGLIT_SOURCE_DIR}
        - cd ./automated/linux/piglit
        - piglit run ${OPTIONS} -l verbose ${PIGLIT_SOURCE_DIR}/${SUITE} ./results

parse:
    pattern: '^(?P<result>(pass|fail|skip|warn|crash)):\s+(?P<test_case_id>.*)\s*'
    fixupdict:
        warn: pass
        crash: fail