cppcheck/tools/test_showtimetop5.sh

7 lines
170 B
Bash
Raw Normal View History

#!/bin/bash
output=$(./cppcheck --showtime=top5 cli/cmdlineparser.h --language=c++ --quiet)
echo "$output"
if [[ "$(echo "$output" | wc -l)" != 7 ]] ; then
false
fi