mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
tools/testbuild.sh: Added a break to the dotest Blacklist and CMake loop
Added break to the dotest Blacklist and CMake loop: it stops at the first match instead of continuing unnecessarily. Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
@@ -516,6 +516,7 @@ function dotest {
|
||||
if [[ "${check}" =~ ${re:1}$ ]]; then
|
||||
echo "Skipping: $1"
|
||||
skip=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -525,6 +526,7 @@ function dotest {
|
||||
if [[ "${config/\//:}" == "${l}" ]]; then
|
||||
echo "Cmake in present: $1"
|
||||
cmake=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user