From 3ac4eab160c0a1f2896ea205189efb51bd273b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 5 Feb 2022 11:34:13 +0100 Subject: [PATCH] createrelease: run self check with optimised cppcheck, with a debug build it's too slow --- createrelease | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/createrelease b/createrelease index 7d4cbcb42..6801eee71 100755 --- a/createrelease +++ b/createrelease @@ -10,7 +10,8 @@ # - ensure cfg files etc are included (win_installer/cppcheck.wxs) # # self check, fix critical issues: -# ./cppcheck -D__CPPCHECK__ --library=cppcheck-lib --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h cli gui/*.cpp --suppress=functionConst --suppress=functionStatic -q lib +# make clean && make CXXFLAGS=-O2 MATCHCOMPILER=yes -j4 +# ./cppcheck -D__CPPCHECK__ --std=c++11 --library=cppcheck-lib --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h --suppress=functionConst --suppress=functionStatic --xml cli gui/*.cpp lib 2> selfcheck.xml # # check --bug-hunting output: # make clean && make -j4 USE_Z3=yes && ./cppcheck -D__CPPCHECK__ --bug-hunting lib