metadata: name: lava-android-test-target format: "Lava-Test-Shell Test Definition 1.0" description: "Wrapper around lava-android-test. This is the target part. It sends the IP address of the target to host and than waits for the host to execute tests." maintainer: - milosz.wasilewski@linaro.org os: - android scope: - functional devices: - panda - panda-es - vexpress-a9 - vexpress-tc2 - wg params: TEST_NAME: "busybox" TEST_PARAMS: "" 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-stop-adbd --shell stop adbd - lava-test-case step5-start-adbd --shell start adbd - lava-test-case step6-send-ip --shell lava-send $TEST_NAME-${TEST_PARAMS// /_}-send-ip ipaddr=$(getprop dhcp.eth0.ipaddress) - lava-test-case step7-multinode-sync --shell lava-sync $TEST_NAME-${TEST_PARAMS// /_}-finished