Unittest - let vramsteg count non-executable tests

Currently harmless as there's only 1 non-executable test
This commit is contained in:
Renato Alves 2014-11-10 12:00:21 +00:00
parent 1a4774a2d8
commit ff9b8217e2

View file

@ -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