mirror of
https://github.com/apache/nuttx.git
synced 2025-12-06 17:23:49 +08:00
tools/testbuild.sh: Make blacklist work on macOS
I couldn't find where "\b" was documented. I guess it's a zero-width word boundary or something like that. Anyway, it doesn't seem to work on macOS.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
35e1aa82cb
commit
4c0783353a
@@ -198,8 +198,8 @@ function build {
|
||||
function dotest {
|
||||
echo "===================================================================================="
|
||||
config=`echo $1 | cut -d',' -f1`
|
||||
re=\\b${config/\//:}\\b
|
||||
if [[ $blacklist =~ $re ]]; then
|
||||
re="-${config/\//:}[[:space:]]"
|
||||
if [[ "${blacklist} " =~ $re ]]; then
|
||||
echo "Skipping: $1"
|
||||
else
|
||||
echo "Configuration/Tool: $1"
|
||||
|
||||
Reference in New Issue
Block a user