Browse Source

[action][ci] add cppcheck new feature

'--check-level=exhaustive'
这个选项可以更深入的在分支中检测,但是会耗时比较久一些。
Supper Thomas 9 months ago
parent
commit
c154c24319
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/ci/cpp_check.py

+ 1 - 0
tools/ci/cpp_check.py

@@ -33,6 +33,7 @@ class CPPCheck:
                     '-I thread/components/finsh',
                     # it's okay because CI will do the real compilation to check this
                     '--suppress=syntaxError',
+                    '--check-level=exhaustive',
                     '--enable=warning',
                     'performance',
                     'portability',