From 0f5b66c3351e19009f5f8f8a46924bd10ebf58ad Mon Sep 17 00:00:00 2001 From: wangbowen6 Date: Fri, 17 Feb 2023 18:19:05 +0800 Subject: [PATCH] nxstyle: add "CMUnitTest" to nxstyle white list https://github.com/apache/nuttx-apps/pull/1575 need this Signed-off-by: wangbowen6 --- tools/nxstyle.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 7ae9b6ac35..933ce96de8 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -493,6 +493,12 @@ static const char *g_white_list[] = "FlushConsoleInputBuffer", "GetNumberOfConsoleInputEvents", + /* Ref: + * apps/testing/drivertest/drivertest_xxx.c + */ + + "CMUnitTest", + NULL };