mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 18:12:33 +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 {
|
function dotest {
|
||||||
echo "===================================================================================="
|
echo "===================================================================================="
|
||||||
config=`echo $1 | cut -d',' -f1`
|
config=`echo $1 | cut -d',' -f1`
|
||||||
re=\\b${config/\//:}\\b
|
re="-${config/\//:}[[:space:]]"
|
||||||
if [[ $blacklist =~ $re ]]; then
|
if [[ "${blacklist} " =~ $re ]]; then
|
||||||
echo "Skipping: $1"
|
echo "Skipping: $1"
|
||||||
else
|
else
|
||||||
echo "Configuration/Tool: $1"
|
echo "Configuration/Tool: $1"
|
||||||
|
|||||||
Reference in New Issue
Block a user