diff options
| author | 2016-11-03 15:03:46 +0000 | |
|---|---|---|
| committer | 2016-11-03 15:04:02 +0000 | |
| commit | ba37e04e40744b43b68bfa491316974860ee25aa (patch) | |
| tree | 6c4196781bccc63e8bb15754710511ef55767a6b | |
| parent | 21b880ce80f63ddeeab7afaffe0de6934e602551 (diff) | |
Output more for "Unable to determine architecture".
test: run-test
Change-Id: I3a3637ba5a38f5af7cdf1e4b337e11ff652db893
| -rwxr-xr-x | test/etc/run-test-jar | 4 |
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) |