diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2015-10-26 23:02:05 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2015-10-28 10:46:59 +0800 |
commit | 1224fe2d7b9b97564053570e4bae4d121a27ae82 (patch) | |
tree | 60ffdfa91931521f5ce48e1ce1614bb0acffdaad /android | |
parent | 2725830fcf39ad757432ab4874975d7ece373e1f (diff) |
android/cts-host.yaml: export aapt in PATH
since CTS6.0 package needs to use the aapt command for test
Change-Id: Ibc1b32dd82ba01943358c2056e1c56ed7f632887
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'android')
-rw-r--r-- | android/cts-host.yaml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/android/cts-host.yaml b/android/cts-host.yaml index c0a4b03..75b529f 100644 --- a/android/cts-host.yaml +++ b/android/cts-host.yaml @@ -24,8 +24,9 @@ install: - libc6:i386 - libncurses5:i386 - libstdc++6:i386 - - android-tools-adb - - android-tools-fastboot + - lib32z1-dev + - libc6-dev-i386 + - lib32gcc1 steps: - apt-get install -y $JDK $JRE @@ -38,6 +39,11 @@ params: run: steps: + - wget http://testdata.validation.linaro.org/apks/workload-automation/build-tools.tar.gz + - tar zxvf build-tools.tar.gz + - AAPT_HOME=`pwd`/build-tools + - PATH=${AAPT_HOME}/android-4.4/:${PATH} + - export PATH - lava-wait $TEST_NAME-send-ip - IPADDR=`awk -F '=' '{print $2}' /tmp/lava_multi_node_cache.txt` - if [ $IPADDR != "_MISSING_" ] @@ -48,9 +54,9 @@ run: - echo $TEST_PARAMS - adb devices - adb -s $IPADDR wait-for-device - - "./android/scripts/cts.py $CTS_URL $IPADDR $TEST_PARAMS" + - ./android/scripts/cts.py $CTS_URL $IPADDR $TEST_PARAMS - echo "processes running" - ps - fi - lava-sync $TEST_NAME-finished - + - rm -fr build-tools.tar.gz ${AAPT_HOME} |