summaryrefslogtreecommitdiff
path: root/android/boottime.yaml
blob: a6fe349be6645d5863513d5cdaa2252eab6998db (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
metadata:
    name: android-boottime
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Checks android boot time to UI
        It relies on the dmesg and logcat information"
    maintainer:
        - milosz.wasilewski@linaro.org
        - yongqin.liu@linaro.org
    os:
        - android
    scope:
        - functional
    devices:
        - juno

run:
    steps:
        - "./android/scripts/boot_time.sh"
        - "dmesg > dmesg.log"
        - lava-test-run-attach dmesg.log text/plain
        - "logcat -d -v time *:V > logcat_all.log"
        - lava-test-run-attach logcat_all.log text/plain
        - "logcat -d -b events -v time > logcat_events.log"
        - lava-test-run-attach logcat_events.log text/plain

parse:
    pattern: "^TEST\\s(?P<test_case_id>\\w+):\\s(?P<result>\\w+)\\s(?P<measurement>\\-?\\d+\\.?\\d+?)\\s(?P<units>\\w+)"