tools/testbuild.sh: Allow spaces in comments

This commit is contained in:
YAMAMOTO Takashi 2020-03-28 21:25:27 +09:00 committed by Xiang Xiao
parent 01c91e8af8
commit 35e1aa82cb

View file

@ -131,7 +131,7 @@ fi
export APPSDIR
testlist=`grep -v "^-" $testfile || true`
testlist=`grep -v -E "^(-|#)" $testfile || true`
blacklist=`grep "^-" $testfile || true`
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
@ -259,7 +259,7 @@ for line in $testlist; do
for i in ${list}; do
dotest $i${line/$dir/}
done
elif [ "X$firstch" != "X#" ]; then
else
dotest $line
fi
done