[epiphany/mcatanzaro/cppcheck] Adjust cppcheck output
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/cppcheck] Adjust cppcheck output
- Date: Sun, 17 Nov 2019 15:58:37 +0000 (UTC)
commit 1b173f1b9bca7d6895b2353235924c0b232b658b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Nov 17 09:37:16 2019 -0600
Adjust cppcheck output
Using --template=gcc allows us to see error IDs so that we can suppress
false positives.
Also, add some more suppressions.
.gitlab-ci.yml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 476b592b4..f1bd4db4a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,8 +19,17 @@ cppcheck:
allow_failure: true
before_script:
- apk update && apk add cppcheck
- script:
- - cppcheck --enable=all --suppress=variableScope --suppress=unusedFunction --force -q .
--error-exitcode=1 --library=gtk
+ script: >-
+ cppcheck .
+ --enable=all
+ --error-exitcode=1
+ --library=gtk
+ --quiet
+ --suppress=leakNoVarFunctionCall
+ --suppress=nullPointerRedundantCheck
+ --suppress=variableScope
+ --suppress=unusedFunction
+ --template=gcc
variables:
BUNDLE: 'epiphany-git.flatpak'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]