summaryrefslogtreecommitdiff
path: root/test-art-target-test.sh
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-01-21 17:14:00 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-01-21 17:14:00 +0530
commitf137ce8dbd7f48c7968305f99adcc6297ae07943 (patch)
tree96afacd64ef032119acfb81d48e34c0b05f98f33 /test-art-target-test.sh
parent8cee1559107f94c6e02fb2a7d6bafb3c7cb96097 (diff)
downloadart-build-tests.sh-f137ce8dbd7f48c7968305f99adcc6297ae07943.tar.gz
test-art-target-test: run adb root first
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'test-art-target-test.sh')
-rwxr-xr-xtest-art-target-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-art-target-test.sh b/test-art-target-test.sh
index 7d24b68..9722927 100755
--- a/test-art-target-test.sh
+++ b/test-art-target-test.sh
@@ -28,6 +28,7 @@ time ./art/tools/buildbot-build.sh -j12 --target
# Build servers do not necessarily have up to date udev rules, start adb-server
# as root to avoid the issue
[[ $JENKINS_MODE ]] && sudo out/host/linux-x86/bin/adb start-server
+[[ $JENKINS_MODE ]] && adb root
[[ $JENKINS_MODE ]] && echo "Building on: " `hostname` >> $WORKSPACE/device_log.txt
[[ $JENKINS_MODE ]] && echo "***********************************************" >> $WORKSPACE/device_log.txt
[[ $JENKINS_MODE ]] && echo "****** Battery level before 64bit tests ********" >> $WORKSPACE/device_log.txt