summaryrefslogtreecommitdiff
path: root/ubuntu/bootchart.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-10-05 10:19:57 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2013-10-05 10:19:57 +0300
commit0b10bbdec64e73b2ff74d703469f6bdd402f5b6b (patch)
treee4f2b6dcf7d7a0016eae2fd4afcff7b4a7f0e679 /ubuntu/bootchart.yaml
parent63afd6e3221e62ccf286bd84627b2c920b07b3e9 (diff)
ubuntu/bootchart: fix bootchart test
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org> Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'ubuntu/bootchart.yaml')
-rw-r--r--ubuntu/bootchart.yaml30
1 files changed, 24 insertions, 6 deletions
diff --git a/ubuntu/bootchart.yaml b/ubuntu/bootchart.yaml
index 3addf3c..e42a4a8 100644
--- a/ubuntu/bootchart.yaml
+++ b/ubuntu/bootchart.yaml
@@ -1,17 +1,35 @@
metadata:
name: bootchart
format: "Lava-Test-Shell Test Definition 1.0"
- description: "Test bootchart in ubuntu."
+ 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
- bzr-repos:
- - lp:~linaro-foundations/lava-test/bootchartscript
+ git-repos:
+ - http://git.linaro.org/git-ro/qa/test-definitions.git
run:
steps:
- - "cd bootchartscript"
- - "lava-test-case bootchartscript --shell ./bootchartscript.sh"
- - "lava-test-case-attach bootchartscript bootchart.log text/plain"
+ - 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