summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Abhijeet Kaur <abkaur@google.com> 2019-07-18 03:00:04 -0700
committer android-build-merger <android-build-merger@google.com> 2019-07-18 03:00:04 -0700
commit111aa6b4ecd6486fbe66fea231539ef65756d4bd (patch)
tree0f86f58cf837b90ea840d27be657de5a8526935d
parent1c1a28dd0acdf4d2cb28b19b760a8715ec49ba51 (diff)
parentd2690997a533a5a9e391a294ffe10ab3f63a0728 (diff)
Merge "Add dumpstate_test to presubmit"
am: d2690997a5 Change-Id: I951cc15ddbc2de1088654fcaa2fdfe1e20978b43
-rw-r--r--cmds/dumpstate/Android.bp6
-rw-r--r--cmds/dumpstate/TEST_MAPPING7
2 files changed, 12 insertions, 1 deletions
diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp
index 4020480479..16b55a5452 100644
--- a/cmds/dumpstate/Android.bp
+++ b/cmds/dumpstate/Android.bp
@@ -146,7 +146,11 @@ cc_test {
],
static_libs: ["libgmock"],
test_config: "dumpstate_test.xml",
- data: [":dumpstate_test_fixture", "tests/testdata/**/*"]
+ data: [
+ ":dumpstate_test_fixture",
+ "tests/testdata/**/*",
+ ],
+ test_suites: ["device-tests"],
}
cc_test {
diff --git a/cmds/dumpstate/TEST_MAPPING b/cmds/dumpstate/TEST_MAPPING
new file mode 100644
index 0000000000..083944f729
--- /dev/null
+++ b/cmds/dumpstate/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+ "presubmit": [
+ {
+ "name": "dumpstate_test"
+ }
+ ]
+} \ No newline at end of file