From 794c9eeeb0e51ded2a864ece89c74942df027d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= Date: Tue, 28 Nov 2017 15:41:39 -0600 Subject: automated/linux: Add piglit test definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8856ff4eb9063437fe85eef1e9dd3d2ee9d82d36 Signed-off-by: Aníbal Limón --- automated/linux/piglit/piglit.yaml | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 automated/linux/piglit/piglit.yaml diff --git a/automated/linux/piglit/piglit.yaml b/automated/linux/piglit/piglit.yaml new file mode 100644 index 0000000..c0e8d5f --- /dev/null +++ b/automated/linux/piglit/piglit.yaml @@ -0,0 +1,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(pass|fail|skip|warn|crash)):\s+(?P.*)\s*' + fixupdict: + warn: pass + crash: fail -- cgit v1.2.3