Unittest - let vramsteg count non-executable tests
Currently harmless as there's only 1 non-executable test
This commit is contained in:
@@ -42,11 +42,6 @@ else
|
|||||||
if [ -x "$i" ]; then
|
if [ -x "$i" ]; then
|
||||||
echo '#' $i >>all.log
|
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
|
$i >> all.log 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
rc=1
|
rc=1
|
||||||
@@ -54,6 +49,11 @@ else
|
|||||||
else
|
else
|
||||||
echo "# Skipping $(basename $i) execute bit not set" >> all.log 2>&1
|
echo "# Skipping $(basename $i) execute bit not set" >> all.log 2>&1
|
||||||
fi
|
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
|
done
|
||||||
|
|
||||||
if [ $BAR -eq 1 ]; then
|
if [ $BAR -eq 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user