summaryrefslogtreecommitdiff
path: root/ubuntu/sendme.yaml
blob: e8680fa9a164255ff2134754f3f37349f111f9a2 (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
metadata:
    name: sendme
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Sendme measures time intervals by sending a signal from driver to user. The test, sendme
                  uses the backfire driver to send a signal from driver to user. It then reads the timestamp
                  from the driver and calculates the time intervals to call the driver and to receive the
                  signal from the driver."
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
    devices:
        - arndale
        - beaglebone-black
        - rtsm_fvp_base-aemv8a
        - juno
    scope:
        - performance
        - preempt-rt

install:
    deps:
        - backfire-dkms
        - rt-tests

params:
    LOOPS: 1000

run:
    steps:
        - 'lava-test-case insert-backfire-module --shell modprobe backfire'
        - 'sendme -l ${LOOPS} | tee result.log'
        - 'lava-test-run-attach result.log'
        - './ubuntu/scripts/sendme-parser.sh result.log'

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