diff options
author | Botao Sun <botao.sun@linaro.org> | 2015-05-15 22:57:19 +1000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-05-21 07:50:30 +0000 |
commit | e6509f3dd86f6e21d303032c91f9d770d0cd63d9 (patch) | |
tree | 9da16767b70bdbdd009102ce2d0aaf8f923fa15b /android/cts-host.yaml | |
parent | 10c705738a37c6a8c10d08b9fb87cb29a609ea80 (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-host.yaml')
-rw-r--r-- | android/cts-host.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/android/cts-host.yaml b/android/cts-host.yaml new file mode 100644 index 0000000..9bc00f9 --- /dev/null +++ b/android/cts-host.yaml @@ -0,0 +1,39 @@ +metadata: + name: cts-host + format: "Lava-Test-Shell Test Definition 1.0" + description: "Run CTS on Linaro android. Host side; + Get user defined CTS test command from JSON and run; + 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: + - ubuntu + devices: + - kvm + scope: + - functional + +install: + deps: + - xz-utils + - python-lxml + - python-setuptools + +params: + JDK: "default-jdk" + JRE: "default-jre" + CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-5.0-armv8.zip" + TEST_NAME: "android-cts-5.0-armv8" + TEST_PARAMS: "run cts --package android.aadb --disable-reboot" + +run: + steps: + - apt-add-repository -y http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu + - apt-get update -y + - apt-get install -y android-tools-adb android-tools-fastboot zip $JDK $JRE + - lava-wait $TEST_NAME-send-ip + - IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt` + - adb connect $IPADDR + - adb wait-for-device + - "./android/scripts/cts.py $CTS_URL $TEST_PARAMS" + - lava-sync $TEST_NAME-finished |