summaryrefslogtreecommitdiffstats
path: root/test/etc/push-and-run-test-jar
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-06-17 22:27:43 -0700
committerBrian Carlstrom <bdc@google.com>2012-06-17 22:27:43 -0700
commit4ec9b1fa004ea46d492f3f8ed53ece2e73242340 (patch)
tree343da6d96af6254380d9ddfa1ede3f39b299bb02 /test/etc/push-and-run-test-jar
parent53519bf663e185d40a4cdf8b5af67ba34c725fa7 (diff)
downloadart-4ec9b1fa004ea46d492f3f8ed53ece2e73242340.zip
art-4ec9b1fa004ea46d492f3f8ed53ece2e73242340.tar.gz
art-4ec9b1fa004ea46d492f3f8ed53ece2e73242340.tar.bz2
Remove target directory for run-test before pushing
Change-Id: Id34080d374bb8d827f142e65f3f6432d8ff6fda5
Diffstat (limited to 'test/etc/push-and-run-test-jar')
-rwxr-xr-xtest/etc/push-and-run-test-jar2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/etc/push-and-run-test-jar b/test/etc/push-and-run-test-jar
index 8e53529..08df02b 100755
--- a/test/etc/push-and-run-test-jar
+++ b/test/etc/push-and-run-test-jar
@@ -91,10 +91,12 @@ fi
msg "------------------------------"
if [ "$QUIET" = "n" ]; then
+ adb shell rm -r $DEX_LOCATION
adb shell mkdir -p $DEX_LOCATION
adb push $TEST_NAME.jar $DEX_LOCATION
adb push $TEST_NAME-ex.jar $DEX_LOCATION
else
+ adb shell rm -r $DEX_LOCATION >/dev/null 2>&1
adb shell mkdir -p $DEX_LOCATION >/dev/null 2>&1
adb push $TEST_NAME.jar $DEX_LOCATION >/dev/null 2>&1
adb push $TEST_NAME-ex.jar $DEX_LOCATION >/dev/null 2>&1