blob: 3b77e924c1c14f64614a97435c0e922a51eb5763 (
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
42
43
44
45
46
|
metadata:
format: Lava-Test Test Definition 1.0
name: igt-chamelium-test
description: "Run igt-gpu-tools with Chamelium for pixel formats testing"
maintainer:
- arthur.she@linaro.org
os:
- debian
- ubuntu
- openembedded
scope:
- functional
devices:
- dragonboard-410c
- x15
params:
HDMI_DEV_NAME: "HDMI-A-1"
IGT_DIR: "/igt-gpu-tools"
# If TEST_LIST is not assigned, it will generate it with all
# Chanelium HDMI related tests
#TEST_LIST: "tests/vc4_ci/vc4-chamelium.testlist"
TEST_LIST: ""
TL: ""
ARTIFACTORIAL_URL: ""
ARTIFACTORIAL_TOKEN: ""
run:
steps:
- cd ./automated/linux/igt
- if [ -n "${TEST_LIST}" ]; then TL="-t ${TEST_LIST}"; fi
# ${CHAMELIUM_IP} is from LAVA device dictionary
- ./igt-chamelium-test.sh -c ${CHAMELIUM_IP} -h ${HDMI_DEV_NAME} -d ${IGT_DIR} ${TL}
# Dump igt test result and upload artifact to Artifactorial
- ifconfig; pwd; ls -l
- echo "**********************************************";
- echo "************ Dump IGT test result ************";
- echo "**********************************************";
- bzcat ${IGT_DIR}/results/results.json.bz2 | python print-test-result.py
- if [ -n "${ARTIFACTORIAL_TOKEN}" -a -n "${ARTIFACTORIAL_URL}" ]; then
- UPLOAD_TOOL="../../utils/upload-to-artifactorial.sh"
- if [ -d "/root/dump-frames/" -a -n "`ls /root/dump-frames/`" ]; then echo "Got error frames.." ; tar -C /root -zcf dump-frames.tar.gz dump-frames/;
- echo "*********************************************";
- echo "************ Upload dump frames *************";
- echo "*********************************************";
- ${UPLOAD_TOOL} -a "dump-frames.tar.gz" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"; fi; fi
|