blob: 3cdf5e87efae7b278086f39b9950c8318a78c29c (
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
47
48
49
50
51
52
53
54
55
56
57
|
metadata:
name: kselftest
format: "Lava-Test-Shell Test Definition 1.0"
description: "Linux kernel self test"
maintainer:
- naresh.kamboju@linaro.org
os:
- debian
- ubuntu
- fedora
- centos
scope:
- functional
devices:
- all
params:
# Specify Linux kernel self test pre-build tarball name from below location
# http://testdata.validation.linaro.org/tests/kselftest/
# TESTPROG: kselftest_aarch64.tar.gz
TESTPROG: kselftest_armhf.tar.gz
SKIP_INSTALL: "false"
# List of known unsupported test cases to be skipped
SKIPLIST: ""
# TESTPROG_URL: "http://testdata.validation.linaro.org/tests/kselftest/kselftest_aarch64.tar.gz"
TESTPROG_URL: ""
KSELFTEST_PATH: "/opt/kselftests/mainline/"
# SKIPFILE can be a filename from dir ./automated/linux/ltp/, an http URL,
# or a skipgen style yaml file.
# Examples:
# SKIPFILE: "skipfile-lsk-juno" # is a known file present in
# # dir ./automated/linux/ltp/
# SKIPFILE: "http://people.linaro.org/~naresh.kamboju/skipfile"
# SKIPFILE: "skipfile-lkft.yaml" # yaml file that will be parsed with
# # skipgen. Must use "yaml" extention.
# NOTE: busybox wget may not work with https link so prefer to use http
SKIPFILE: ""
# BOARD, BRANCH, and ENVIRONMENT may be specified and may be used when
# generating a skipfile using a yaml skipfile and skipgen.
BOARD: ""
BRANCH: ""
ENVIRONMENT: ""
run:
steps:
- cd ./automated/linux/kselftest/
- ./kselftest.sh -t "${TESTPROG}" -s "${SKIP_INSTALL}" -u "${TESTPROG_URL}" -L "${SKIPLIST}" -S "${SKIPFILE}" -b "${BOARD}" -g "${BRANCH}" -e "${ENVIRONMENT}" -p "${KSELFTEST_PATH}"
parse:
pattern: "selftests:\\s(?P<test_case_id>.+)\\s[[](?P<result>(FAIL|PASS|SKIP))[]]"
fixupdict:
FAIL: fail
PASS: pass
SKIP: skip
|