From 0b10bbdec64e73b2ff74d703469f6bdd402f5b6b Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Sat, 5 Oct 2013 10:19:57 +0300 Subject: ubuntu/bootchart: fix bootchart test Signed-off-by: Milosz Wasilewski Acked-by: Fathi Boudra --- ubuntu/bootchart.yaml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'ubuntu/bootchart.yaml') 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 + - Milosz Wasilewski + 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 -- cgit v1.2.3