From 5daea5a6a28310a7b32b62706e52eac61122fb17 Mon Sep 17 00:00:00 2001 From: Chen Zhu Date: Fri, 8 May 2020 16:45:11 -0700 Subject: [PATCH] Add test config for adbd_test and apply MainlineTestModuleController to it to only run the tests when com.google.android.adbd is installed on device. Bug: 154845935 Test: m mts && mts-tradefed run mts-adbd Change-Id: I2f203d25288580a07391703e2b28df54479a69f0 --- adb/Android.bp | 2 ++ adb/adb_test.xml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 adb/adb_test.xml diff --git a/adb/Android.bp b/adb/Android.bp index 0394bf6ff..cb5c1df68 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -679,6 +679,8 @@ cc_test { "mdns_test.cpp", ], + test_config: "adb_test.xml", + shared_libs: [ "liblog", ], diff --git a/adb/adb_test.xml b/adb/adb_test.xml new file mode 100644 index 000000000..cc3302d7b --- /dev/null +++ b/adb/adb_test.xml @@ -0,0 +1,37 @@ + + + + +