From d6c4ed9c5a440d37a38e6a5bd2839ac7a3858c2c Mon Sep 17 00:00:00 2001 From: jsteemann Date: Wed, 18 May 2016 08:44:09 +0200 Subject: [PATCH] speed up invocation a bit --- utils/cppcheck.sh | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/utils/cppcheck.sh b/utils/cppcheck.sh index e59c8b3b18..3c11a9b346 100755 --- a/utils/cppcheck.sh +++ b/utils/cppcheck.sh @@ -2,18 +2,17 @@ rm -f cppcheck.log cppcheck.tmp touch cppcheck.tmp -for platform in unix32 unix64; do - cppcheck -j4 \ - --std=c++11 \ - --enable=style \ - --force \ - --platform=$platform \ - --suppress="*:lib/JsonParser/json-parser.cpp" \ - --suppress="*:lib/V8/v8-json.cpp" \ - --suppress="*:arangod/Aql/grammar.cpp" \ - --suppress="*:arangod/Aql/tokens.cpp" \ - arangod/ arangosh/ lib/ 2>> cppcheck.tmp -done +cppcheck -j4 \ + --std=c++11 \ + --enable=style,warning \ + --force \ + --quiet \ + --platform=unix64 \ + --suppress="*:lib/JsonParser/json-parser.cpp" \ + --suppress="*:lib/V8/v8-json.cpp" \ + --suppress="*:arangod/Aql/grammar.cpp" \ + --suppress="*:arangod/Aql/tokens.cpp" \ + arangod/ arangosh/ lib/ 2>> cppcheck.tmp sort cppcheck.tmp | uniq > cppcheck.log rm cppcheck.tmp