OSDN Git Service

Build Smoke tests against the SDK.
authorBrett Chabot <brettchabot@android.com>
Mon, 16 Apr 2012 17:35:32 +0000 (10:35 -0700)
committerBrett Chabot <brettchabot@android.com>
Mon, 16 Apr 2012 17:35:32 +0000 (10:35 -0700)
Done so the new 'launch all apps' test can be utilized on older platforms.

Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779

tests/SmokeTest/Android.mk
tests/SmokeTest/tests/Android.mk

index 0adfd4c..591a84e 100644 (file)
@@ -6,11 +6,11 @@ LOCAL_MODULE_TAGS := tests
 # This builds "SmokeTestApp"
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
 
-LOCAL_JAVA_LIBRARIES := android.test.runner
-
 LOCAL_PACKAGE_NAME := SmokeTestApp
 
+LOCAL_SDK_VERSION := 8
+
 include $(BUILD_PACKAGE)
 
 # This builds "SmokeTest"
-include $(call all-makefiles-under,$(LOCAL_PATH))
\ No newline at end of file
+include $(call all-makefiles-under,$(LOCAL_PATH))
index 86bf23d..18e682e 100644 (file)
@@ -4,8 +4,6 @@ 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)
 
@@ -17,5 +15,7 @@ LOCAL_PACKAGE_NAME := SmokeTest
 
 LOCAL_INSTRUMENTATION_FOR := SmokeTestApp
 
+LOCAL_SDK_VERSION := 8
+
 include $(BUILD_PACKAGE)