summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2019-02-18 14:08:36 +0000
committer Pavel Grafov <pgrafov@google.com> 2019-02-18 14:12:00 +0000
commit5af5841b05d97fe3ba1985260590e4383252023f (patch)
tree3f8d96faf65484e921eb81d9c31ec1a836618457
parent76d95f207b7bb8816064c36deabfea46afb01925 (diff)
Trigger CtsDevicePolicyManagerTestCases in postsubmit
In this configuration the tests will only be triggered by changes to services/devicepolicy/** and core/java/android/app/admin/**, so we won't be able to catch breakages coming from the rest of the tree with a single CL precision. But let's see which parts are causing the most breakages and add them later. Bug: 124653467 Test: atest --test-mapping core/java/android/app/admin:postsubmit Test: atest --test-mapping services/devicepolicy:postsubmit Change-Id: I58f87fff4b5b5e3e4fb8a333dd6ac4dd4100b587
-rw-r--r--core/java/android/app/admin/TEST_MAPPING7
-rw-r--r--services/devicepolicy/TEST_MAPPING7
2 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/app/admin/TEST_MAPPING b/core/java/android/app/admin/TEST_MAPPING
new file mode 100644
index 000000000000..8f88c2243d50
--- /dev/null
+++ b/core/java/android/app/admin/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "imports": [
+ {
+ "path": "frameworks/base/services/devicepolicy"
+ }
+ ]
+}
diff --git a/services/devicepolicy/TEST_MAPPING b/services/devicepolicy/TEST_MAPPING
new file mode 100644
index 000000000000..ab85a6873cf6
--- /dev/null
+++ b/services/devicepolicy/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "postsubmit": [
+ {
+ "name": "CtsDevicePolicyManagerTestCases"
+ }
+ ]
+}