diff --git a/tools/test_showtimetop5.sh b/tools/test_showtimetop5.sh index 9c5fd374a..02c6aaaf6 100755 --- a/tools/test_showtimetop5.sh +++ b/tools/test_showtimetop5.sh @@ -1,4 +1,4 @@ #!/bin/bash -if [[ "$(./cppcheck --showtime=top5 cli/cmdlineparser.h --quiet | wc -l)" != 7 ]] ; then +if [[ "$(./cppcheck --showtime=top5 cli/cmdlineparser.h --language=c++ --quiet | wc -l)" != 7 ]] ; then false fi