summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2017-09-19 22:20:11 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2017-09-19 22:20:11 +0800
commitdb3ebdbefd958e268e8f61a027bbf25cf45d07df (patch)
tree31d2644b040f83de2850c7bac55849f93271dc79
parent75e00176ad5c288dfa9c466ad863de067389ce0a (diff)
boottime: run disablesuspend.sh if it exists
Change-Id: I32513538cf7f036255db7b26709450b1296ea6a3 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xautomated/android/boottime/boottime.sh6
-rw-r--r--automated/android/boottime/boottime.yaml5
2 files changed, 9 insertions, 2 deletions
diff --git a/automated/android/boottime/boottime.sh b/automated/android/boottime/boottime.sh
index 2d271c7..bc70088 100755
--- a/automated/android/boottime/boottime.sh
+++ b/automated/android/boottime/boottime.sh
@@ -28,6 +28,12 @@ done
initialize_adb
wait_boot_completed "${BOOT_TIMEOUT}"
+
+# call disablesuspend.sh if it exists
+if adb_shell_which disablesuspend.sh; then
+ adb shell /system/bin/disablesuspend.sh
+fi
+
create_out_dir "${OUTPUT}"
install_deps 'curl tar xz-utils' "${SKIP_INSTALL}"
diff --git a/automated/android/boottime/boottime.yaml b/automated/android/boottime/boottime.yaml
index 51bc5df..1f67b38 100644
--- a/automated/android/boottime/boottime.yaml
+++ b/automated/android/boottime/boottime.yaml
@@ -26,8 +26,9 @@ params:
OPERATION: "COLLECT"
COLLECT_NO: "1"
# Specify url and token for file uploading.
- URL: "https://archive.validation.linaro.org/artifacts/team/qa/"
- TOKEN: "4373c97b474497dbd12373689d7d492e"
+ #URL: "https://archive.validation.linaro.org/artifacts/team/qa/"
+ URL: "http://archive.validation.linaro.org/artifacts/pub/"
+ TOKEN: ""
run:
steps: