summaryrefslogtreecommitdiff
path: root/android/monkey_long_run.yaml
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2014-09-09 21:28:16 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-09-10 11:33:49 +0000
commitdc204539c30647750a76724e9040622839f088b7 (patch)
tree020e5550847236aa2328e188a81acd243c118c3a /android/monkey_long_run.yaml
parenta93224288b001a5a74cecae0456245fd703fc71a (diff)
android: add test for running monkey with black list
This test will run the monkey test on device with specified blacklist and event count. the BLACK_LIST is default to /data/juno_monkey_blacklist and the event count EVENT_COUNT is default to "30000" Change-Id: I56b111af5fb8c4e93d88ff6167df743bbaeecb64 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'android/monkey_long_run.yaml')
-rw-r--r--android/monkey_long_run.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/android/monkey_long_run.yaml b/android/monkey_long_run.yaml
new file mode 100644
index 0000000..b5ff87d
--- /dev/null
+++ b/android/monkey_long_run.yaml
@@ -0,0 +1,24 @@
+metadata:
+ name: monkey_long_run
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run monkey test long time with blacklist"
+ maintainer:
+ - yongqin.liu@linaro.org
+ os:
+ - android
+ scope:
+ - functional
+ devices:
+ - wg
+
+params:
+ BLACK_LIST: "/data/juno_monkey_blacklist"
+ EVENT_COUNT: "30000"
+
+run:
+ steps:
+ - lava-test-case run-monkey --shell monkey -s 1 --pct-touch 10 --pct-motion 20 --pct-nav 20 --pct-majornav 30 --pct-appswitch 20 --throttle 500 --pkg-blacklist-file $BLACK_LIST $EVENT_COUNT
+parse:
+ pattern: "## Network (?P<test_case_id>stats):\\s(?P<result>elapsed)\\stime=(?P<measurement>\\d+)(?P<units>ms)"
+ fixupdict:
+ elapsed: pass