summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2017-09-20 22:05:33 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2017-09-20 22:05:33 +0800
commitedc439542f02d0262a6c89d2b9aa12335a4fd8b7 (patch)
tree4323c938c0cd37f11f20b3c634b0160acb49b196
parentd1252c44b162db9ee597251f8dbcc3f7ec8904d5 (diff)
add more debug information
Change-Id: I1fee46741c483d0c201410d935cafc9a0bb22d1d Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xautomated/android/boottime/device-script.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/automated/android/boottime/device-script.sh b/automated/android/boottime/device-script.sh
index eea7f3e..bc36c72 100755
--- a/automated/android/boottime/device-script.sh
+++ b/automated/android/boottime/device-script.sh
@@ -395,10 +395,17 @@ if [ "X${OPERATION}" = "XCOLLECT" ]; then
# shellcheck disable=SC2035
logcat -d -v time *:V > "${dir_boottime_data}/logcat_all_${COLLECT_NO}.log"
output_test_result "BOOTTIME_LOGCAT_ALL_COLLECT" "pass"
+ echo "==============content of the file ${dir_boottime_data}/logcat_all_${COLLECT_NO}.log start from here:"
+ cat "${dir_boottime_data}/logcat_all_${COLLECT_NO}.log"
+ echo "==============content of the file ${dir_boottime_data}/logcat_all_${COLLECT_NO}.log end here:"
logcat -d -b events -v time > "${dir_boottime_data}/logcat_events_${COLLECT_NO}.log"
output_test_result "BOOTTIME_LOGCAT_EVENTS_COLLECT" "pass"
dmesg > "${dir_boottime_data}/dmesg_${COLLECT_NO}.log"
output_test_result "BOOTTIME_DMESG_COLLECT" "pass"
+ echo "==============content of the file ${dir_boottime_data}/dmesg_${COLLECT_NO}.log start from here:"
+ cat "${dir_boottime_data}/dmesg_${COLLECT_NO}.log"
+ echo "==============content of the file ${dir_boottime_data}/dmesg_${COLLECT_NO}.log end here:"
+ ls -l ${dir_boottime_data}/*
elif [ "X${OPERATION}" = "XANALYZE" ]; then
count=$2
## Check if there is any case that the surfaceflinger service