summaryrefslogtreecommitdiff
path: root/ubuntu/signaltest.yaml
blob: 49a13f1c517a619b8496fdd1c60546f9c74903ab (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: signaltest
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Signaltest measures the round trip for a signal. The test creates N threads and
                  measures the minimum, maximum and average time taken for any thread to recieve a
                  signal after it sent one. The number of iterations to run is set to 1000 by default
                  and can be changed via JSON file."
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
        - juno
    scope:
        - performance
        - preempt-rt

install:
    deps:
        - rt-tests

params:
    LOOPS: 1000

run:
    steps:
        - 'signaltest -l ${LOOPS} | tee result.log'
        - './ubuntu/scripts/signaltest-parser.sh result.log'
        - 'lava-test-run-attach result.log'

parse:
    pattern: '^(?P<test_case_id>[^:]+):\s*(?P<measurement>[0-9.]+)\s+(?P<result>pass)'