From c2b7632423280fbc145f77a36843b9b36d367a63 Mon Sep 17 00:00:00 2001 From: Yihan Dong Date: Mon, 21 Aug 2023 17:21:10 +0800 Subject: [PATCH] Create the TEST_MAPPING file Add FlagMacrosTests in presubmit to ensure that test filtering rule always work as expected. Bug: 292707070 Test: atest --test-mapping Change-Id: I7a08b7e41e95063fb3c188da784f56e0973d4fae --- tools/aconfig/TEST_MAPPING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/aconfig/TEST_MAPPING b/tools/aconfig/TEST_MAPPING index 86124dd20d..74ac5ecd6e 100644 --- a/tools/aconfig/TEST_MAPPING +++ b/tools/aconfig/TEST_MAPPING @@ -10,6 +10,12 @@ "include-filter": "android.cts.flags.tests.FlagAnnotationTest" } ] + }, + { + // Ensure changes on aconfig auto generated library is compatible with + // test testing filtering logic. Breakage on this test means all tests + // that using the flag macros to do filtering will get affected. + "name": "FlagMacrosTests" } ] }