-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow a cppcheck check_level to be specified
Version 2.14.0 of cppcheck generates errors relating to the check level (e.g.):- common/base64.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches] This does not happen with the same sources (commit f781962) under 2.13.0. This PR disables the warnings above for 2.14.0, but also allows a '-f' argument to be passed in to request an exhaustive test. This could be used (for example) before a major release. An exhaustive test takes a *lot* longer. The first run with a git runner was around an hour. The --check-level=flag was only added for 2.11.0, and so this now needs a version check.
- Loading branch information
1 parent
22ce8f9
commit 952db50
Showing
1 changed file
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters