From ff9b8217e2abf1d7076eb5abb4691d73bc1f41c5 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Mon, 10 Nov 2014 12:00:21 +0000 Subject: [PATCH] Unittest - let vramsteg count non-executable tests Currently harmless as there's only 1 non-executable test --- test/run_all.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/run_all.in b/test/run_all.in index d400a68e4..fc0293bc8 100755 --- a/test/run_all.in +++ b/test/run_all.in @@ -42,11 +42,6 @@ else if [ -x "$i" ]; then echo '#' $i >>all.log - if [ $BAR -eq 1 ]; then - $VRAMSTEG --label 'All tests' --min 0 --max $TOTAL --current $COUNT --percentage --start $START --estimate - COUNT=`expr $COUNT + 1` - fi - $i >> all.log 2>&1 if [ $? -ne 0 ]; then rc=1 @@ -54,6 +49,11 @@ else else echo "# Skipping $(basename $i) execute bit not set" >> all.log 2>&1 fi + + if [ $BAR -eq 1 ]; then + $VRAMSTEG --label 'All tests' --min 0 --max $TOTAL --current $COUNT --percentage --start $START --estimate + COUNT=`expr $COUNT + 1` + fi done if [ $BAR -eq 1 ]; then