tools/testbuild.sh: Skip lines in test list that begin with #

This commit is contained in:
Gregory Nutt 2015-07-22 13:20:35 -06:00
parent 9669b5d04b
commit fbcdb663f9
2 changed files with 18 additions and 13 deletions

@ -1 +1 @@
Subproject commit 43c6dd3026b656983a4012c683a9be1e0dadf40c
Subproject commit 7c8ccb29d28c128d70fa052c5d71e507de583feb

View File

@ -216,7 +216,11 @@ testlist=`cat $testfile`
#while read -r line || [[ -n $line ]]; do
for line in $testlist; do
echo "===================================================================================="
echo "Configuration/Tool Config: $line"
firstch=${line:0:1}
if [ "X$firstch" == "X#" ]; then
echo "Skipping: $line"
else
echo "Configuration/Tool: $line"
# Parse the next line
@ -237,6 +241,7 @@ for line in $testlist; do
# Perform the build test
dotest
fi
cd $WD || { echo "ERROR: Failed to CD to $WD"; exit 1; }
done # < $testfile