Keystore 2.0: Add Keystore CTS test cases to presubmit.
Run a subset of the Keystore CTS test cases on presubmit when keystore2
gets changed. Also Run the full CTS test suite as post submit.
Bug: 204906931
Test: Improves test coverage during presubmit.
Change-Id: I9b14734e4d838881e7dabf698b3df826a0ed433b
diff --git a/keystore2/TEST_MAPPING b/keystore2/TEST_MAPPING
index 127ff1e..049adc7 100644
--- a/keystore2/TEST_MAPPING
+++ b/keystore2/TEST_MAPPING
@@ -14,6 +14,19 @@
},
{
"name": "CtsIdentityTestCases"
+ },
+ {
+ "name": "CtsKeystoreTestCases",
+ "options": [
+ {
+ "include-annotation": "android.platform.test.annotations.RequiresDevice"
+ }
+ ]
+ }
+ ],
+ "postsubmit": [
+ {
+ "name": "CtsKeystorePerformanceTestCases"
}
]
}