mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +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
|
if [[ "${check}" =~ ${re:1}$ ]]; then
|
||||||
echo "Skipping: $1"
|
echo "Skipping: $1"
|
||||||
skip=1
|
skip=1
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -525,6 +526,7 @@ function dotest {
|
|||||||
if [[ "${config/\//:}" == "${l}" ]]; then
|
if [[ "${config/\//:}" == "${l}" ]]; then
|
||||||
echo "Cmake in present: $1"
|
echo "Cmake in present: $1"
|
||||||
cmake=1
|
cmake=1
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user