OSDN Git Service

Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
authorBrett Chabot <brettchabot@google.com>
Sat, 20 Jun 2009 01:32:14 +0000 (18:32 -0700)
committerBrett Chabot <brettchabot@google.com>
Sat, 20 Jun 2009 01:34:39 +0000 (18:34 -0700)
This should enable the ApiDemos sample tests to run continuously again.

samples/ApiDemos/Android.mk
testrunner/test_defs.xml

index e10ef43..7921120 100644 (file)
@@ -1,7 +1,7 @@
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
-LOCAL_MODULE_TAGS := samples
+LOCAL_MODULE_TAGS := samples tests
 
 # Only compile source java files in this apk.
 LOCAL_SRC_FILES := $(call all-java-files-under, src)
index 9cb780d..08fe0e8 100644 (file)
@@ -185,6 +185,14 @@ Native tests:
     continuous="true"
     cts="true" />
 
+<test name="cts-permission2"
+    build_path="cts/tests/tests/permission2"
+    package="com.android.cts.permission2"
+    runner="android.test.InstrumentationTestRunner"
+    coverage_target="framework"
+    continuous="true"
+    cts="true" />
+
 <test name="cts-process"
     build_path="cts/tests"
     package="com.android.cts.process"