You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/11/23 16:17:36 UTC

[incubator-nuttx] 02/03: tools/release.sh: Build sim:asan instead of sim:nsh

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

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

commit 403b09fa606cdef43a917e002b41dc84334d1aa6
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Nov 23 02:49:13 2021 +0800

    tools/release.sh: Build sim:asan instead of sim:nsh
    
    since sim:asan could do more check
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 tools/checkrelease.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/checkrelease.sh b/tools/checkrelease.sh
index 82a6ada..560d32a 100755
--- a/tools/checkrelease.sh
+++ b/tools/checkrelease.sh
@@ -133,18 +133,18 @@ function check_nuttx_apps() {
     check_required_files "$RELEASE_DIR"
 }
 
-function check_sim_nsh_build() {
+function check_sim_asan_build() {
     RELEASE_DIR="nuttx"
-    echo "Trying to build $RELEASE_DIR sim:nsh..."
+    echo "Trying to build $RELEASE_DIR sim:asan..."
     cd "$RELEASE_DIR"
-    output=$(make distclean; ./tools/configure.sh sim:nsh; make) 2>&1
+    output=$(make distclean; ./tools/configure.sh sim:asan; make) 2>&1
     return_value=$?
     if [ $return_value -eq 0 ]; then
-      echo " OK: we were able to build sim:nsh."
+      echo " OK: we were able to build sim:asan."
     else
       RETURN_CODE=1
       echo "$output"
-      echo " - Error building sim:nsh."
+      echo " - Error building sim:asan."
     fi
     echo
 }
@@ -154,7 +154,7 @@ function usage() {
     echo "   Given release full URL, release name, or a local directory, downloads or copies"
     echo "   all files in that directory (which for a release should include nuttx and nuttx-apps, sha512, "
     echo "   asc, and tar.gz files), checks the release SHA512 and GPG signatures, checks the unpacked "
-    echo "   directories for required files, and tries to build NuttX for sim:nsh."
+    echo "   directories for required files, and tries to build NuttX for sim:asan."
     echo
     echo "   If tempdir is specified, it will be removed and recreated; if it is not specified, /tmp/nuttx-checkrelease"
     echo "   is used."
@@ -212,6 +212,6 @@ download_release
 import_key
 check_nuttx
 check_nuttx_apps
-check_sim_nsh_build
+check_sim_asan_build
 
 exit $RETURN_CODE