summaryrefslogtreecommitdiff
path: root/tools/ci/cpp_check.py
diff options
context:
space:
mode:
authorShell <[email protected]>2024-01-09 21:13:22 +0800
committerMeco Man <[email protected]>2024-01-16 00:59:18 +0800
commit396a52cedbc5656f5de045fdaa1caf0b67e3ff35 (patch)
tree673e9647aff7e90e628806b8f0c6fa1f53d924cb /tools/ci/cpp_check.py
parentf6fce5f8d76e26c2315a64de81ce07bd6e379394 (diff)
fixup: static anaylysis CI
Diffstat (limited to 'tools/ci/cpp_check.py')
-rw-r--r--tools/ci/cpp_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ci/cpp_check.py b/tools/ci/cpp_check.py
index 911111f16b..018f86fda4 100644
--- a/tools/ci/cpp_check.py
+++ b/tools/ci/cpp_check.py
@@ -23,7 +23,7 @@ class CPPCheck:
logging.info("Start to static code analysis.")
check_result = True
for file in file_list_filtered:
- result = subprocess.run(['cppcheck', '-DRTM_EXPORT', '--enable=warning', 'performance', 'portability', '--inline-suppr', '--error-exitcode=1', '--force', file], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
+ result = subprocess.run(['cppcheck', '-DRTM_EXPORT', '-DMSH_CMD_EXPORT(a,b)=', '--enable=warning', 'performance', 'portability', '--inline-suppr', '--error-exitcode=1', '--force', file], stdout = subprocess.PIPE, stderr = subprocess.PIPE)
logging.info(result.stdout.decode())
logging.info(result.stderr.decode())
if result.stderr: