From eee56d8840c6bb511f71fef3b0916cdc5fe91a5a Mon Sep 17 00:00:00 2001 From: Aastha Grover Date: Thu, 28 Apr 2022 17:19:31 -0700 Subject: [PATCH] scripts/check_complaince: Add configs to UNDEF_KCONFIG_WHITELIST Adding LOG_BACKEND_MOCK_OUTPUT_DEFAULT & LOG_BACKEND_MOCK_OUTPUT_SYST to UNDEF_KCONFIG_WHITELIST as Kconfig options generated by a template under testcases are not identified by Compliance check by default. Signed-off-by: Aastha Grover --- scripts/ci/check_compliance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index 42687aea5b8..eb1658eea31 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -561,6 +561,8 @@ UNDEF_KCONFIG_WHITELIST = { "REG2", "SAMPLE_MODULE_LOG_LEVEL", # Used as an example in samples/subsys/logging "SAMPLE_MODULE_LOG_LEVEL_DBG", # Used in tests/subsys/logging/log_api + "LOG_BACKEND_MOCK_OUTPUT_DEFAULT", #Referenced in tests/subsys/logging/log_syst + "LOG_BACKEND_MOCK_OUTPUT_SYST", #Referenced in testcase.yaml of log_syst test "SEL", "SHIFT", "SOC_WATCH", # Issue 13749