From 22e082e87a0d4e2d1000d9e029619677d378c41d Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 16 Aug 2021 16:37:10 -0700 Subject: [PATCH] Split up the system/core/ TEST_MAPPING. A lot of things had moved out of system/core/ without their TEST_MAPPING entries having gone with them, reducing the amount of presubmit coverage for those things. In order to reduce the likelihood of that happening again, I've pushed all that remained in the system/core/ TEST_MAPPING down into the individual subdirectories. Test: treehugger Change-Id: Ib75d65f9200fa64ae1552471da6fbe5b7023cf94 --- TEST_MAPPING | 66 ------------------------------- debuggerd/TEST_MAPPING | 7 ++++ fs_mgr/TEST_MAPPING | 6 +++ init/TEST_MAPPING | 10 +++++ libcutils/TEST_MAPPING | 7 ++++ libmodprobe/TEST_MAPPING | 7 ++++ libpackagelistparser/TEST_MAPPING | 7 ++++ libutils/TEST_MAPPING | 7 ++++ property_service/TEST_MAPPING | 7 ++++ 9 files changed, 58 insertions(+), 66 deletions(-) delete mode 100644 TEST_MAPPING create mode 100644 debuggerd/TEST_MAPPING create mode 100644 init/TEST_MAPPING create mode 100644 libcutils/TEST_MAPPING create mode 100644 libmodprobe/TEST_MAPPING create mode 100644 libpackagelistparser/TEST_MAPPING create mode 100644 libutils/TEST_MAPPING create mode 100644 property_service/TEST_MAPPING diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index da7fca1e7..000000000 --- a/TEST_MAPPING +++ /dev/null @@ -1,66 +0,0 @@ -{ - "presubmit": [ - { - "name": "adbd_test" - }, - { - "name": "adb_crypto_test" - }, - { - "name": "adb_pairing_auth_test" - }, - { - "name": "adb_pairing_connection_test" - }, - { - "name": "adb_tls_connection_test" - }, - { - "name": "CtsFsMgrTestCases" - }, - { - "name": "CtsInitTestCases" - }, - { - "name": "debuggerd_test" - }, - { - "name": "fs_mgr_vendor_overlay_test" - }, - { - "name": "init_kill_services_test" - }, - { - "name": "libpackagelistparser_test" - }, - { - "name": "libcutils_test" - }, - { - "name": "libmodprobe_tests" - }, - { - "name": "libprocinfo_test" - }, - { - "name": "libutils_test" - }, - { - "name": "memunreachable_test" - }, - { - "name": "memunreachable_unit_test" - }, - { - "name": "memunreachable_binder_test" - }, - { - "name": "propertyinfoserializer_tests" - } - ], - "imports": [ - { - "path": "frameworks/base/tests/StagedInstallTest" - } - ] -} diff --git a/debuggerd/TEST_MAPPING b/debuggerd/TEST_MAPPING new file mode 100644 index 000000000..d5327db35 --- /dev/null +++ b/debuggerd/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "debuggerd_test" + } + ] +} diff --git a/fs_mgr/TEST_MAPPING b/fs_mgr/TEST_MAPPING index 84709b6a8..432aa4ff5 100644 --- a/fs_mgr/TEST_MAPPING +++ b/fs_mgr/TEST_MAPPING @@ -1,5 +1,8 @@ { "presubmit": [ + { + "name": "CtsFsMgrTestCases" + }, { "name": "libdm_test" }, @@ -12,6 +15,9 @@ { "name": "fiemap_writer_test" }, + { + "name": "fs_mgr_vendor_overlay_test" + }, { "name": "vts_libsnapshot_test" }, diff --git a/init/TEST_MAPPING b/init/TEST_MAPPING new file mode 100644 index 000000000..905d41e1e --- /dev/null +++ b/init/TEST_MAPPING @@ -0,0 +1,10 @@ +{ + "presubmit": [ + { + "name": "CtsInitTestCases" + }, + { + "name": "init_kill_services_test" + } + ] +} diff --git a/libcutils/TEST_MAPPING b/libcutils/TEST_MAPPING new file mode 100644 index 000000000..e512ab706 --- /dev/null +++ b/libcutils/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "libcutils_test" + } + ] +} diff --git a/libmodprobe/TEST_MAPPING b/libmodprobe/TEST_MAPPING new file mode 100644 index 000000000..526b1e488 --- /dev/null +++ b/libmodprobe/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "libmodprobe_tests" + } + ] +} diff --git a/libpackagelistparser/TEST_MAPPING b/libpackagelistparser/TEST_MAPPING new file mode 100644 index 000000000..51773f943 --- /dev/null +++ b/libpackagelistparser/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "libpackagelistparser_test" + } + ] +} diff --git a/libutils/TEST_MAPPING b/libutils/TEST_MAPPING new file mode 100644 index 000000000..c8ef45cc3 --- /dev/null +++ b/libutils/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "libutils_test" + } + ] +} diff --git a/property_service/TEST_MAPPING b/property_service/TEST_MAPPING new file mode 100644 index 000000000..fcdc86a95 --- /dev/null +++ b/property_service/TEST_MAPPING @@ -0,0 +1,7 @@ +{ + "presubmit": [ + { + "name": "propertyinfoserializer_tests" + } + ] +}