summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-06-14 12:50:44 -0700
committerBrian Carlstrom <bdc@google.com>2012-06-14 12:53:48 -0700
commit105215d007639a6fc35b1ef9705ac138f51f35b2 (patch)
tree31bfef4072a3471ce5906dcfdd81d3ad41d0a559 /Android.mk
parenta6399035ee2af012e2ac898ee7a753a2f83b35ab (diff)
downloadart-105215d007639a6fc35b1ef9705ac138f51f35b2.zip
art-105215d007639a6fc35b1ef9705ac138f51f35b2.tar.gz
art-105215d007639a6fc35b1ef9705ac138f51f35b2.tar.bz2
Improve run-test to use new directory for each run
This ensures we rerun dex2oat on each test run. We also now cleanup better on host and target. Change-Id: I2b48c45d8a4bf7629aa6b538556fcf78fc22d0dc
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 5923a71..0334ff2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -264,7 +264,7 @@ clean-oat:
rm -f $(TARGET_OUT_APPS)/*.oat
rm -f $(TARGET_OUT_INTERMEDIATES)/JAVA_LIBRARIES/*_intermediates/javalib.jar.oat
rm -f $(TARGET_OUT_INTERMEDIATES)/APPS/*_intermediates/package.apk.oat
- rm -rf /tmp/art-cache/*.oat
+ rm -rf /tmp/test-*/art-cache/*.oat
adb remount
adb shell rm $(ART_NATIVETEST_DIR)/*.oat
adb shell rm $(ART_NATIVETEST_DIR)/*.art
@@ -275,7 +275,7 @@ clean-oat:
adb shell rm $(DEXPREOPT_BOOT_JAR_DIR)/*.oat
adb shell rm $(DEXPREOPT_BOOT_JAR_DIR)/*.art
adb shell rm system/app/*.oat
- adb shell rm data/run-test/*.oat
+ adb shell rm data/run-test/test-*/art-cache/*.oat
########################################################################
# cpplint target