-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updte MISRA config; Add option to skip building coverity proj * Update ci to build only unit-test * Update CMakeLists for tests * Update coverity README * Update Coverity readme * Fix spell check
- Loading branch information
1 parent
2f16e7c
commit b06f45b
Showing
6 changed files
with
75 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ Coverity | |
CSDK | ||
ctest | ||
DCMOCK | ||
DCOV | ||
DDisable | ||
decihours | ||
Decihours | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
// MISRA C-2012 Rules | ||
|
||
{ | ||
version : "2.0", | ||
standard : "c2012", | ||
title: "Coverity MISRA Configuration", | ||
deviations : [ | ||
// Disable the following rules. | ||
"version" : "2.0", | ||
"standard" : "c2012", | ||
"title": "Coverity MISRA Configuration", | ||
"deviations" : [ | ||
{ | ||
deviation: "Rule 2.4", | ||
reason: "Allow unused tags. Some compilers warn if types are not tagged." | ||
"deviation": "Rule 2.4", | ||
"reason": "Allow unused tags. Some compilers warn if types are not tagged." | ||
}, | ||
{ | ||
deviation: "Rule 2.5", | ||
reason: "Allow unused macros. Library headers may define macros intended for the application's use, but not used by a specific file." | ||
"deviation": "Rule 2.5", | ||
"reason": "Allow unused macros. Library headers may define macros intended for the application's use, but not used by a specific file." | ||
}, | ||
{ | ||
deviation: "Rule 3.1", | ||
reason: "Allow nested comments. Documentation blocks contain comments for example code." | ||
"deviation": "Rule 3.1", | ||
"reason": "Allow nested comments. Documentation blocks contain comments for example code." | ||
}, | ||
{ | ||
deviation: "Rule 8.7", | ||
reason: "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
}, | ||
"deviation": "Rule 8.7", | ||
"reason": "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
} | ||
] | ||
} |