summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2018-06-21 10:16:01 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2018-06-21 10:16:01 +0800
commit3e7b74e0c754ae72a4dab240e04c7ac7ca83a5a7 (patch)
tree6520649cc6a7f5911ff2dc9446230c9fa35886cd
parent50e0b935cd3c2f51e78d619549123e42fb52b8fc (diff)
boottime: output more debug information
Change-Id: I9c94b52eaf6b1a552608d88ff969c32971b61e21 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xautomated/android/boottime/boottime.sh2
-rw-r--r--automated/android/boottime/boottime.yaml1
-rwxr-xr-xautomated/android/boottime/device-script.sh2
3 files changed, 3 insertions, 2 deletions
diff --git a/automated/android/boottime/boottime.sh b/automated/android/boottime/boottime.sh
index 93b6f4d..a036b0f 100755
--- a/automated/android/boottime/boottime.sh
+++ b/automated/android/boottime/boottime.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -ex
# shellcheck disable=SC1091
ANDROID_SERIAL=""
diff --git a/automated/android/boottime/boottime.yaml b/automated/android/boottime/boottime.yaml
index 58f4a3d..cc1e3db 100644
--- a/automated/android/boottime/boottime.yaml
+++ b/automated/android/boottime/boottime.yaml
@@ -36,4 +36,5 @@ run:
- cd ./automated/android/boottime
- ./boottime.sh -S "${SKIP_INSTALL}" -s "${ANDROID_SERIAL}" -t "${BOOT_TIMEOUT}" -o "${OPERATION}" -n "${COLLECT_NO}"
- if [ "${OPERATION}" = "ANALYZE" ]; then ../../utils/upload-to-artifactorial.sh -a "output/boottime.tgz" -u "${URL}" -t "${TOKEN}"; fi
+ - ../../utils/upload-to-artifactorial.sh -a output/boottime.tgz -u "${URL}" -t "${TOKEN}"
- ../../utils/send-to-lava.sh ./output/result.txt
diff --git a/automated/android/boottime/device-script.sh b/automated/android/boottime/device-script.sh
index d2d74d7..e5af9b4 100755
--- a/automated/android/boottime/device-script.sh
+++ b/automated/android/boottime/device-script.sh
@@ -1,4 +1,4 @@
-#!/system/bin/sh
+#!/system/bin/sh -x
##############################################################################
## Description about this boot time measuring script ####
##############################################################################