aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-06-22 16:40:21 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-06-22 16:40:21 +0530
commitac4ca20bf7777c2afaa14b87a9997678640e06a4 (patch)
tree5f2b911b2fb449a7ad14a52a3cfd57dfebe694a7
parent980ccc8643158fcfe77564383f76795a74c90d00 (diff)
downloadlinaro-android-build-tools-ac4ca20bf7777c2afaa14b87a9997678640e06a4.tar.gz
add apm lava support
Change-Id: I98ff6f5695d28fc53c09b961a4b75a492c536491 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xbuild-scripts/post-build-lava.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index 0d4fbd4..4477987 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -70,6 +70,9 @@ PRODUCT_MAP = {
"aosp_manta": {
"test_device_type": "nexus10",
},
+ "apm": {
+ "test_device_type": "mustang",
+ },
}
OPTION_SUFFIX = "_OPTION"
@@ -710,6 +713,7 @@ def submit_job_from_url():
replace("job.json", "%%ANDROID_META_URL%%", get_env_var(ENV_BUILD_URL))
replace("job.json", "%%BUNDLE_STREAM%%", get_env_var(ENV_LAVA_STREAM, DEFAULT_LAVA_STREAM))
replace("job.json", "%%WA2_JOB_NAME%%", build_number)
+ replace("job.json", "%%DOWNLOAD_URL%%", download_url)
devices = get_lava_device_type_or_target()