summaryrefslogtreecommitdiff
path: root/ubuntu/bootchart.yaml
blob: 52268d0fa1fb6558f9c13777a919222262a2e6cc (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
metadata:
    name: bootchart
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Test case that measures the boot time"
    maintainer:
        - Fathi Boudra <fathi.boudra@linaro.org>
        - Milosz Wasilewski <milosz.wasilewski@linaro.org>
    os:
        - ubuntu
    devices:
        - arndale
        - panda
        - beaglebone-black
        - beagle-xm
        - mx53loco
        - vexpress
        - highbank
    scope:
        - performance

install:
    deps:
        - bootchart
        - lsb-release
        - pybootchartgui

run:
    steps:
        - cd ubuntu/scripts
        - lava-test-case bootchartscript --shell ./bootchartscript.sh
        - lava-test-case-attach bootchartscript bootchart.log text/plain
        - BOOTTIME=`cat bootchart.log | grep time | awk '{print $2}'`
        - lava-test-case boot-time --result pass --measurement $BOOTTIME --units seconds