blob: 08358a3a8948e995d45f6c348d572fd2eedf8c9d (
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: 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
git-repos:
- http://git.linaro.org/git-ro/qa/test-definitions.git
run:
steps:
- cd test-definitions/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
|