From 956ce287f3277c0ee07f0224d015396805e750a5 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 17 Aug 2022 09:50:15 +0000 Subject: [PATCH] Add SeamendcHostTest to selinux.cpp TEST_MAPPING SeamendcHostTest should run when making changes to selinux.cpp, to ensure the test logic is updated to match the logic selinux.cpp follows when it decides to compile the SELinux policy in the OpenSplitPolicy method. Bug: 238394904 Test: atest --test-mapping system/core/init/TEST_MAPPING:presubmit Change-Id: Iaf0ec2356a894b071e6875dd41bcf9e842126e42 --- init/TEST_MAPPING | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/init/TEST_MAPPING b/init/TEST_MAPPING index 36ca3793b..402b501b9 100644 --- a/init/TEST_MAPPING +++ b/init/TEST_MAPPING @@ -8,6 +8,14 @@ }, { "name": "MicrodroidHostTestCases" + }, + { + "name": "CtsSecurityHostTestCases", + "options": [ + { + "include-filter": "android.security.cts.SeamendcHostTest" + } + ] } ], "hwasan-presubmit": [ @@ -19,6 +27,14 @@ }, { "name": "MicrodroidHostTestCases" + }, + { + "name": "CtsSecurityHostTestCases", + "options": [ + { + "include-filter": "android.security.cts.SeamendcHostTest" + } + ] } ] }