summaryrefslogtreecommitdiff
path: root/common/gator-data-streaming.yaml
blob: c7bfd13e77c84930aaabeb2889b8281a4e3cd164 (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
metadata:
    name: gator-data-streaming
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Gator Data Streaming Test checks DS5 profiling feature for Ubuntu builds. The test
                  creates a sample session XML file called 'session.xml', this file is passed as a
                  parameter to the gatord command to do a local capture and test results are generated
                  depending upon output of this command."
    maintainer:
        - arthur.she@linaro.org
    os:
        - ubuntu
        - openembedded
    scope:
        - functional
    devices:
        - arndale
        - panda
        - panda-es
        - vexpress-a9
        - vexpress-tc2
        - juno

install:
    deps:
        - build-essential
    git-repos:
        - url: https://git.linaro.org/arm/ds5/gator.git
    steps:
        - 'if [ -f "/usr/sbin/gatord" ]; then mv /usr/sbin/gatord /usr/sbin/gatord.bak; fi'
        - 'cd gator/daemon'
        - 'make all'
        - 'cp gatord /usr/sbin'

run:
    steps:
        - "cd common/scripts; ./gator-data-streaming.sh"

parse:
    pattern: "(?P<test_case_id>[a-zA-Z0-9_-]+):\\s(?P<result>\\w+)"
    fixupdict:
        FAIL: fail
        PASS: pass