From 105215d007639a6fc35b1ef9705ac138f51f35b2 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Thu, 14 Jun 2012 12:50:44 -0700 Subject: 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 --- Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Android.mk') 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 -- cgit v1.1