From 36402f1c353efd4cdb570f497118996b221d31bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= Date: Tue, 30 Jan 2024 10:53:15 +0100 Subject: [PATCH] aconfig: move all tests to presubmit The tests added to TEST_MAPPING in aosp/2870454 have now soaked in postsubmit long enough to be allowed to advance to presubmit. Bug: N/A Test: atest --test-mapping $(gettop)/build/tools/aconfig Test: Treehugger Change-Id: Ia75c76ae114c16a57c26aafa159560639baea707 --- tools/aconfig/TEST_MAPPING | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/tools/aconfig/TEST_MAPPING b/tools/aconfig/TEST_MAPPING index 650c8c05be..398da062a6 100644 --- a/tools/aconfig/TEST_MAPPING +++ b/tools/aconfig/TEST_MAPPING @@ -1,24 +1,5 @@ { "presubmit": [ - { - // 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 annotations to do filtering will get affected. - "name": "FlagAnnotationTests", - "options": [ - { - "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" - } - ], - "postsubmit": [ { // aconfig unit tests "name": "aconfig.test" @@ -66,6 +47,23 @@ { // aconfig_storage_file unit tests "name": "aconfig_storage_file.test" + }, + { + // 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 annotations to do filtering will get affected. + "name": "FlagAnnotationTests", + "options": [ + { + "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" } ] }