summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-11-03 17:11:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-11-03 17:11:48 +0000
commit74a96e45455878d7891941ec17c7c92d3e90572c (patch)
tree7f413a64d1250ca66520981948759d08cac261c0
parent4fb6fdc6a9526dd74f5cd5f406fc8f5a31366686 (diff)
parentba37e04e40744b43b68bfa491316974860ee25aa (diff)
Merge "Output more for "Unable to determine architecture"."
-rwxr-xr-xtest/etc/run-test-jar4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index cf8db151fe..8ee4ca2873 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -397,11 +397,13 @@ else
fi
if [ "$HOST" = "n" ]; then
- ISA=$(adb shell ls -F /data/dalvik-cache | grep -Ewo "${ARCHITECTURES_PATTERN}")
+ adb_invocation=$(adb shell ls -F /data/dalvik-cache)
outcome=$?
+ ISA=$(echo $adb_invocation | grep -Ewo "${ARCHITECTURES_PATTERN}")
if [ x"$ISA" = "x" ]; then
echo "Unable to determine architecture"
# Print a few things for helping diagnosing the problem.
+ echo "adb invocation output: $adb_invocation"
echo "adb invocation outcome: $outcome"
echo $(adb shell ls -F /data/dalvik-cache)
echo $(adb shell ls /data/dalvik-cache)