From 4b135b935d6f4baa4dbc5f06e818568924f95693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toralf=20F=C3=B6rster?= Date: Wed, 25 Jun 2014 22:49:47 +0200 Subject: [PATCH] tools/times.sh: use always long-opts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Toralf Förster --- tools/times.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/times.sh b/tools/times.sh index 513dde40a..931c44e31 100755 --- a/tools/times.sh +++ b/tools/times.sh @@ -21,7 +21,7 @@ for i in `seq 1 50`; do make SRCDIR=build CXXFLAGS=-O2 -j4 || make clean ; make SRCDIR=build CXXFLAGS=-O2 -j4 echo "Run number $i" for j in `seq 1 4`; do - ./cppcheck -q --showtime=summary --enable=all --inconclusive src 2> /dev/null | tee -a times.log + ./cppcheck --quiet --showtime=summary --enable=all --inconclusive src 2> /dev/null | tee -a times.log done grep "Overall" times.log | tail -4 | sed s/s// | awk -v "i=$i" -v "git_head=$git_head" '{ sum+=$3} END {print "Run " i", "git_head " Average: " sum/4}' | tee -a times.log git reset --hard HEAD^1 | tee -a times.log