summaryrefslogtreecommitdiff
path: root/android/monkey_long_run.yaml
blob: 819bd49d05efb890bf3458b3915d2e0b3ae2d584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
metadata:
    name: monkey_long_run
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Monkey long run performs stress testing for stability using monkey command which
                  generates pesudo-random streams of user events such as clicks, touches, or gestures
                  as well as some system level events. Currently, monkey long run test runs with a set
                  blacklist packages which are known to fail."
    maintainer:
        - yongqin.liu@linaro.org
    os:
        - android
    scope:
        - functional
    devices:
        - juno

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