summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2015-11-27 15:17:15 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2015-11-27 15:20:40 +0530
commit89fea8cb94d92e6686cd3b3b5728f4a88266f556 (patch)
tree48abd6345dfe85defad1d32528ba4bf77897ee7e /android
parent8374017a18e7317f66cf53feb66235e6cc7d6a2a (diff)
Android: CTS: Install dependency packages on host
Install dependency packages on host side. install-deps.sh script will look for apt-get lock and install packages when the lock is free. The advantages of this patch is - Do not install if the package is already present - Installation should not fail because of parallel installation of packages - if apt-get is already locked wait 5 sec and try installation again till it get successful Change-Id: I802cbc7ba988060f930aff36e904bf1a3a343fa7 Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Diffstat (limited to 'android')
-rw-r--r--android/cts-host.yaml16
1 files changed, 2 insertions, 14 deletions
diff --git a/android/cts-host.yaml b/android/cts-host.yaml
index ab3af5e..2f4d1bc 100644
--- a/android/cts-host.yaml
+++ b/android/cts-host.yaml
@@ -14,23 +14,11 @@ metadata:
- functional
install:
- deps:
- - xz-utils
- - python-lxml
- - python-setuptools
- - android-tools-adb
- - android-tools-fastboot
- - zip
- - libc6:i386
- - libncurses5:i386
- - libstdc++6:i386
- - lib32z1-dev
- - libc6-dev-i386
- - lib32gcc1
steps:
- - apt-get install -y $JDK $JRE
+ - ./common/scripts/install-deps.sh $DEPENDENCIES $JDK $JRE
params:
+ DEPENDENCIES: "xz-utils python-lxml python-setuptools android-tools-adb android-tools-fastboot zip libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1-dev libc6-dev-i386 lib32gcc1"
JDK: "default-jdk"
JRE: "default-jre"
CTS_URL: "http://testdata.validation.linaro.org/cts/android-cts-5.0-armv8.zip"