summaryrefslogtreecommitdiff
path: root/automated/linux/ltp-open-posix/ltp-open-posix.yaml
blob: 519c073930c695baf7ebc4fb45333538518c9267 (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
metadata:
    name: ltp
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Run LTP open posix test suite on Linux"
    maintainer:
        - naresh.kamboju@linaro.org
    os:
        - ubuntu
    scope:
        - functional
    devices:
        - all
params:
    # LTP version
    LTP_VERSION: 20180118
    TST_CMDFILES: conformance

    SKIP_INSTALL_PKG: false
    # Slow machines need more timeout Default is 5min and multiply * TIMEOUT_MULTIPLIER
    TIMEOUT_MULTIPLIER: 1
    # root's password. Needed by ltp/su01.
    ROOT_PASSWD: root

run:
    steps:
        - cd ./automated/linux/ltp/
        - ./ltp.sh -T "${TST_CMDFILES}" -s "${SKIP_INSTALL_PKG}" -v "${LTP_VERSION}" -M "${TIMEOUT_MULTIPLIER}" -R "${ROOT_PASSWD}"
        - ../../utils/send-to-lava.sh ./output/result.txt

parse:
    pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>PASS|FAIL|CONF)\\s+\\d+"
    fixupdict:
        FAIL: fail
        PASS: pass
        CONF: skip