This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 76fe46a6dbb tools/testbuild.sh: Added a break to the dotest Blacklist 
and CMake loop
76fe46a6dbb is described below

commit 76fe46a6dbb342fd49e9138000e7e6361790ec95
Author: simbit18 <[email protected]>
AuthorDate: Thu Mar 12 11:58:10 2026 +0100

    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 <[email protected]>
---
 tools/testbuild.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testbuild.sh b/tools/testbuild.sh
index 9317e23a56d..6d80903155b 100755
--- a/tools/testbuild.sh
+++ b/tools/testbuild.sh
@@ -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

Reply via email to