aboutsummaryrefslogtreecommitdiff
path: root/hacking-session-android-target.yaml
blob: d69879e73e75919be3cc6496ebfba64d12d26b06 (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
28
29
metadata:
    name: lava-android-test-target
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Android multinode hacking session - target side"
    maintainer:
        - milosz.wasilewski@linaro.org
    os:
        - android
    scope:
        - functional
    devices:
        - arndale
        - panda
        - panda-es
        - vexpress-a9
        - vexpress-tc2

run:
    steps:
        - lava-test-case step1-cat-build-info --shell cat /system/build.prop
        - lava-test-case step2-get-adb --shell getprop service.adb.tcp.port
        - lava-test-case step3-set-adb --shell setprop service.adb.tcp.port 5555
        - lava-test-case step4-set-adb --shell setprop service.adb.root 1
        - lava-test-case step5-stop-adbd --shell stop adbd
        - lava-test-case step6-start-adbd --shell start adbd
        - lava-test-case step7-send-ip --shell lava-send hacking-send-ip ipaddr=$(getprop dhcp.eth0.ipaddress)
        - lava-test-case step8-dmesg --shell cat /proc/kmsg &
        - lava-test-case step9-logcat --shell logcat -v time
        - lava-test-case step10-multinode-sync --shell lava-sync hacking-finished