You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/04/01 05:13:40 UTC

[GitHub] [incubator-nuttx] yamt commented on a change in pull request #677: testbuild.sh: Add an option to show the list of configs

yamt commented on a change in pull request #677: testbuild.sh: Add an option to show the list of configs
URL: https://github.com/apache/incubator-nuttx/pull/677#discussion_r401359861
 
 

 ##########
 File path: tools/testbuild.sh
 ##########
 @@ -196,12 +201,21 @@ function build {
 # Coordinate the steps for the next build test
 
 function dotest {
-  echo "===================================================================================="
+  if [ ${PRINTLISTONLY} -ne 1 ]; then
+    echo "===================================================================================="
+  fi
   config=`echo $1 | cut -d',' -f1`
   re="-${config/\//:}[[:space:]]"
   if [[ "${blacklist} " =~ $re ]]; then
+    if [ ${PRINTLISTONLY} -eq 1 ]; then
+      return
+    fi
     echo "Skipping: $1"
   else
+    if [ ${PRINTLISTONLY} -eq 1 ]; then
 
 Review comment:
   why?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services