Refine cppcheck analysis (#1133)

- Details link on github for cppcheck now goes straight to the report
- Removed umatched suppression from the cppcheck suppression file
This commit is contained in:
Patrick Fallberg
2018-05-18 08:35:43 +02:00
committed by Mikael Falkvidd
parent ba7027ce1d
commit 4e1d69dbb2
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ def cppCheck(config) {
"grep -q \"<td>0</td><td>total</td>\" cppcheck-avr_cppcheck_reports/index.html || exit_code=\$?\n"+
"exit \$((exit_code == 0 ? 0 : 1))")
if (ret == 1) {
config.pr.setBuildStatus(config, 'ERROR', 'Toll gate (Code analysis - Cppcheck)', 'Issues found', '${BUILD_URL}CppCheck_AVR/index.html')
config.pr.setBuildStatus(config, 'ERROR', 'Toll gate (Code analysis - Cppcheck)', 'Issues found', '${BUILD_URL}CppCheck_20AVR/index.html')
error 'Terminating due to Cppcheck error'
} else {
config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Code analysis - Cppcheck)', 'Pass', '')
@@ -2,5 +2,3 @@ ConfigurationNotChecked
unmatchedSuppression
// This suppression is because the problem is in an in-lined macro so in-line-suppressions does not appear to take effect
unreadVariable:*/MyHwNRF5.cpp
uninitMemberVar:*/TinyGsmFifo.h