Skip to content

Commit 3580f77

Browse files
committed
enabled information messages in self-check
1 parent 48d5f47 commit 3580f77

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/CI-unixish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
python -m pip install pip --upgrade
6363
python -m pip install pytest
64-
64+
6565
- name: Install Qt
6666
if: contains(matrix.os, 'ubuntu')
6767
uses: jurplel/install-qt-action@v2
@@ -183,12 +183,12 @@ jobs:
183183
make -j$(nproc) -s CPPFLAGS="-DCHECK_INTERNAL" CXXFLAGS="-g -O2" MATCHCOMPILER=yes VERIFY=1
184184
# self check lib/cli
185185
mkdir b1
186-
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck --cppcheck-build-dir=b1 -D__CPPCHECK__ --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib --addon=naming.json -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli --inconclusive --enable=style,performance,portability,warning,internal --exception-handling --debug-warnings cli lib
186+
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck --cppcheck-build-dir=b1 -D__CPPCHECK__ --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib --addon=naming.json -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli --inconclusive --enable=style,performance,portability,warning,internal,information --exception-handling --debug-warnings cli lib
187187
# check gui with qt settings
188188
mkdir b2
189-
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck --cppcheck-build-dir=b2 -D__CPPCHECK__ -DQT_VERSION=0x050000 --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=qt --addon=naming.json -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ --enable=style,performance,portability,warning,internal --exception-handling --debug-warnings gui/*.cpp
189+
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck --cppcheck-build-dir=b2 -D__CPPCHECK__ -DQT_VERSION=0x050000 --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=qt --addon=naming.json -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ --enable=style,performance,portability,warning,internal,information --exception-handling --debug-warnings gui/*.cpp
190190
# self check test and tools
191-
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck -D__CPPCHECK__ --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli -Igui --inconclusive --enable=style,performance,portability,warning,internal --exception-handling --debug-warnings test/*.cpp tools
191+
./cppcheck -q -j$(nproc) --std=c++11 --template=selfcheck -D__CPPCHECK__ --error-exitcode=1 --inline-suppr --suppressions-list=.travis_suppressions --library=cppcheck-lib -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml2/ -Icli -Igui --inconclusive --enable=style,performance,portability,warning,internal,information --exception-handling --debug-warnings test/*.cpp tools
192192
193193
- name: Build triage on ubuntu
194194
if: matrix.os == 'ubuntu-20.04'

.travis_suppressions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ bitwiseOnBoolean
99
unusedPrivateFunction:test/test*.cpp
1010
useStlAlgorithm
1111
simplifyUsing:lib/valueptr.h
12+
unmatchedSuppression
1213

1314
# debug suppressions
1415
valueFlowBailout

cli/cppcheckexecutor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,6 @@ static void CppcheckSignalHandler(int signo, siginfo_t * info, void * context)
550550
break;
551551
}
552552
fprintf(output, " (%sat 0x%lx).%s\n",
553-
// cppcheck-suppress knownConditionTrueFalse ; FP
554553
(type==-1)? "" :
555554
(type==0) ? "reading " : "writing ",
556555
(unsigned long)info->si_addr,

0 commit comments

Comments
 (0)