diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-10-31 14:58:39 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-11-20 14:15:00 +0000 |
commit | 50c45cddb7d30c865ca5573941ea46436037a2c9 (patch) | |
tree | 6ccc285c9adc4d09ce7af3b442df9f283343b135 /android/boottime.yaml | |
parent | 3d6d14b9f79a99813247725078e1dc03ec0c6369 (diff) |
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 <milosz.wasilewski@linaro.org>
Diffstat (limited to 'android/boottime.yaml')
-rw-r--r-- | android/boottime.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
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<test_case_id>\\w+):\\s(?P<result>\\w+)\\s(?P<measurement>\\-?\\d+\\.?\\d+?)\\s(?P<units>\\w+)" |