summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrea Ambu <andreaambu@google.com> 2021-05-20 17:55:56 +0100
committer Andrea Ambu <andreaambu@google.com> 2021-05-21 11:47:07 +0100
commitfeb478eae5966c9bc32eb929b1c0b912b035d18d (patch)
tree39e006e0dc488e82184656aef38d74a664e038c8
parentb04a005c3f31f2444007ee2973427b31d4df7d8e (diff)
speech: TEST_MAPPING CtsVoiceRecognitionTestCases
ag/14530956 broke presubmit (b/188784537) because CtsVoiceRecognitionTestCases did not run. This makes them run for any change to core/java/android/speech Bug: 188784537 Test: presubmitting this CL Change-Id: I9e65abad8d242e5bb87fabc3523909bb14eed3c1
-rw-r--r--core/java/android/speech/TEST_MAPPING15
-rw-r--r--services/core/java/com/android/server/speech/TEST_MAPPING7
2 files changed, 22 insertions, 0 deletions
diff --git a/core/java/android/speech/TEST_MAPPING b/core/java/android/speech/TEST_MAPPING
new file mode 100644
index 000000000000..7b125c2b0851
--- /dev/null
+++ b/core/java/android/speech/TEST_MAPPING
@@ -0,0 +1,15 @@
+{
+ "presubmit": [
+ {
+ "name": "CtsVoiceRecognitionTestCases",
+ "options": [
+ {
+ "exclude-annotation": "org.junit.Ignore"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ }
+ ]
+ }
+ ]
+}
diff --git a/services/core/java/com/android/server/speech/TEST_MAPPING b/services/core/java/com/android/server/speech/TEST_MAPPING
new file mode 100644
index 000000000000..947818ca4041
--- /dev/null
+++ b/services/core/java/com/android/server/speech/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "imports": [
+ {
+ "path": "frameworks/base/core/java/android/speech"
+ }
+ ]
+}