summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-02-04 15:43:20 +0000
committerPaul Duffin <paulduffin@google.com>2019-02-06 13:57:42 +0000
commit507cbc4e5836f583e78527d0f631fc58d8596ecd (patch)
tree990105c1bd484ffe5e71ae4fd820744901ed1119
parent6606b7724700c8be28762a70376a39c854b73df1 (diff)
Add TEST_MAPPING for api specifications
Changes to the various api directories will run the tests which make use of the API specification in those directories. Could not include CtsSystemApiSignatureTestCases as it is broken on git_master because of bug 116632058. Bug: 123254057 Test: atest Change-Id: I1fe4ca498cbd0393aba7cf4c1386a6325ace7937
-rw-r--r--api/TEST_MAPPING7
-rw-r--r--test-base/api/TEST_MAPPING7
-rw-r--r--test-mock/api/TEST_MAPPING10
-rw-r--r--test-runner/api/TEST_MAPPING10
4 files changed, 34 insertions, 0 deletions
diff --git a/api/TEST_MAPPING b/api/TEST_MAPPING
new file mode 100644
index 000000000000..8a676e994081
--- /dev/null
+++ b/api/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsCurrentApiSignatureTestCases"
+ }
+ ]
+}
diff --git a/test-base/api/TEST_MAPPING b/test-base/api/TEST_MAPPING
new file mode 100644
index 000000000000..3535954bc019
--- /dev/null
+++ b/test-base/api/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsAndroidTestBase27ApiSignatureTestCases"
+ }
+ ]
+}
diff --git a/test-mock/api/TEST_MAPPING b/test-mock/api/TEST_MAPPING
new file mode 100644
index 000000000000..d1bd9afaf287
--- /dev/null
+++ b/test-mock/api/TEST_MAPPING
@@ -0,0 +1,10 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsAndroidTestMockCurrentApiSignatureTestCases"
+ },
+ {
+ "name": "CtsCurrentApiSignatureTestCases"
+ }
+ ]
+}
diff --git a/test-runner/api/TEST_MAPPING b/test-runner/api/TEST_MAPPING
new file mode 100644
index 000000000000..76ade3c1e647
--- /dev/null
+++ b/test-runner/api/TEST_MAPPING
@@ -0,0 +1,10 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsAndroidTestRunnerCurrentApiSignatureTestCases"
+ },
+ {
+ "name": "CtsCurrentApiSignatureTestCases"
+ }
+ ]
+}