summaryrefslogtreecommitdiff
path: root/android/cts-target.yaml
diff options
context:
space:
mode:
authorBotao Sun <botao.sun@linaro.org>2015-05-15 22:57:19 +1000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-05-21 07:50:30 +0000
commite6509f3dd86f6e21d303032c91f9d770d0cd63d9 (patch)
tree9da16767b70bdbdd009102ce2d0aaf8f923fa15b /android/cts-target.yaml
parent10c705738a37c6a8c10d08b9fb87cb29a609ea80 (diff)
Android: Add CTS Test for Linaro android images.
This change replaced old lava-android-test to handle CTS test. Huge bundle size issue has also been solved. Signed-off by: Botao Sun <botao.sun@linaro.org> Change-Id: I42679e731c32995cb74a2a0b994fb85b1e8fcc97
Diffstat (limited to 'android/cts-target.yaml')
-rw-r--r--android/cts-target.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/android/cts-target.yaml b/android/cts-target.yaml
new file mode 100644
index 0000000..e2200be
--- /dev/null
+++ b/android/cts-target.yaml
@@ -0,0 +1,33 @@
+metadata:
+ name: cts-target
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run CTS on Linaro android. Target side.
+ The value put in params section in this file is default, user can overwrite them by the values in JSON file."
+ maintainer:
+ - botao.sun@linaro.org
+ os:
+ - android
+ devices:
+ - panda
+ - panda-es
+ - vexpress-a9
+ - vexpress-tc2
+ - juno
+ scope:
+ - functional
+
+params:
+ TEST_NAME: "android-cts-5.0-armv8"
+
+run:
+ steps:
+ - lava-test-case step1-cat-build-info --shell cat /system/build.prop
+ - IPADDR=$(getprop dhcp.eth0.ipaddress)
+ - if [ -z $IPADDR ]; then netcfg eth0 up; netcfg eth0 dhcp; IPADDR=$(getprop dhcp.eth0.ipaddress); fi
+ - 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 step3-set-adb --shell setprop service.adb.root 1
+ - 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-send-ip ipaddr=$IPADDR
+ - lava-test-case step7-multinode-sync --shell lava-sync $TEST_NAME-finished