summaryrefslogtreecommitdiff
path: root/ubuntu/latency-test.yaml
blob: d2613626271563e7843c916a65cffd36c7011e66 (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
metadata:
    name: latency-test
    version: "1.0"
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Run latency test"
    maintainer:
        - mike.holmes@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
    environment:
        - lava-test-shell
install:
    git-repos:
        - 'git://git.linaro.org/people/mike.holmes/latency-test.git'
    steps:
        - 'cd latency-test'
        - 'make'
        - 'make install'
    deps:
        - 'build-essential'
run:
    steps:
        - 'cd latency-test'
        - 'insmod ./enable_cc.ko'
        - 'chmod +x latency'
        - './latency -s latency_data.txt'
parse:
    pattern: "^test_result:(?P<test_case_id>\\S+)=(?P<measurement>[0123456789infa\\.]+)\\s+(?P<units>\\S+)\\s+(?P<result>\\S+)"