summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2017-11-28 15:41:39 -0600
committerAníbal Limón <anibal.limon@linaro.org>2017-12-04 08:35:23 -0600
commit794c9eeeb0e51ded2a864ece89c74942df027d33 (patch)
treec35be6b91b656ac5b5fcee51b2ff43ea1c989bb7
parentb4e37e94ddff75832dd1fc357fbaeecb1f93a28e (diff)
downloadtest-definitios-no-nfs-794c9eeeb0e51ded2a864ece89c74942df027d33.tar.gz
automated/linux: Add piglit test definition
Change-Id: I8856ff4eb9063437fe85eef1e9dd3d2ee9d82d36 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--automated/linux/piglit/piglit.yaml41
1 files changed, 41 insertions, 0 deletions
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<result>(pass|fail|skip|warn|crash)):\s+(?P<test_case_id>.*)\s*'
+ fixupdict:
+ warn: pass
+ crash: fail