From 50c45cddb7d30c865ca5573941ea46436037a2c9 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Fri, 31 Oct 2014 14:58:39 +0000 Subject: android: added boot time test case The script uses dmesg and logcat to calculate time from begenning of boot till displaying home screen. Change-Id: I7ce98301da750b51b611dd48450855e56e14f257 Signed-off-by: Milosz Wasilewski --- android/boottime.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 android/boottime.yaml (limited to 'android/boottime.yaml') diff --git a/android/boottime.yaml b/android/boottime.yaml new file mode 100644 index 0000000..5da119b --- /dev/null +++ b/android/boottime.yaml @@ -0,0 +1,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 > logcat_all.log" + - lava-test-run-attach logcat_all.log text/plain + - "logcat -d -b events > logcat_events.log" + - lava-test-run-attach logcat_events.log text/plain + +parse: + pattern: "^TEST\\s(?P\\w+):\\s(?P\\w+)\\s(?P\\-?\\d+\\.?\\d+?)\\s(?P\\w+)" -- cgit v1.2.3