diff --git a/tests/TileBenchmark/Android.mk b/tests/TileBenchmark/Android.mk index 430f0f10d94e3..5851113cb24cb 100644 --- a/tests/TileBenchmark/Android.mk +++ b/tests/TileBenchmark/Android.mk @@ -21,12 +21,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := TileBenchmark -include $(BUILD_PACKAGE) +LOCAL_MODULE_TAGS := tests -################################################## -include $(CLEAR_VARS) +LOCAL_JAVA_LIBRARIES := android.test.runner -include $(BUILD_MULTI_PREBUILT) - -# Use the folloing include to make our test apk. -include $(call all-makefiles-under,$(LOCAL_PATH)) +include $(BUILD_PACKAGE) \ No newline at end of file diff --git a/tests/TileBenchmark/AndroidManifest.xml b/tests/TileBenchmark/AndroidManifest.xml index ab61a9e25bb71..f125c707a399c 100644 --- a/tests/TileBenchmark/AndroidManifest.xml +++ b/tests/TileBenchmark/AndroidManifest.xml @@ -18,5 +18,9 @@ android:label="@string/playback_activity" android:theme="@android:style/Theme.Holo.NoActionBar"> + + diff --git a/tests/TileBenchmark/tests/src/com/test/tilebenchmark/PerformanceTest.java b/tests/TileBenchmark/src/com/test/tilebenchmark/PerformanceTest.java similarity index 98% rename from tests/TileBenchmark/tests/src/com/test/tilebenchmark/PerformanceTest.java rename to tests/TileBenchmark/src/com/test/tilebenchmark/PerformanceTest.java index 6bf6f6b46c863..cc39b75fe52c7 100644 --- a/tests/TileBenchmark/tests/src/com/test/tilebenchmark/PerformanceTest.java +++ b/tests/TileBenchmark/src/com/test/tilebenchmark/PerformanceTest.java @@ -80,7 +80,7 @@ public class PerformanceTest extends private static final String URL_POSTFIX = "/index.html?skip=true"; private static final int MAX_ITERATIONS = 4; private static final String TEST_DIRS[] = { - "intl1"//, "alexa_us", "android", "dom", "intl2", "moz", "moz2" + "alexa25_2011"//, "alexa_us", "android", "dom", "intl2", "moz", "moz2" }; public PerformanceTest() { diff --git a/tests/TileBenchmark/tests/Android.mk b/tests/TileBenchmark/tests/Android.mk deleted file mode 100644 index 8b235ec3ac9ee..0000000000000 --- a/tests/TileBenchmark/tests/Android.mk +++ /dev/null @@ -1,16 +0,0 @@ -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) - -# We only want this apk build for tests. -LOCAL_MODULE_TAGS := tests - -LOCAL_JAVA_LIBRARIES := android.test.runner - -# Include all test java files. -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_PACKAGE_NAME := TileBenchmarkTests - -LOCAL_INSTRUMENTATION_FOR := TileBenchmark - -include $(BUILD_PACKAGE) diff --git a/tests/TileBenchmark/tests/AndroidManifest.xml b/tests/TileBenchmark/tests/AndroidManifest.xml deleted file mode 100644 index 703b152d1e62b..0000000000000 --- a/tests/TileBenchmark/tests/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - -