simbit18 commented on code in PR #18495:
URL: https://github.com/apache/nuttx/pull/18495#discussion_r2889234980


##########
Documentation/components/tools/testbuild.rst:
##########
@@ -0,0 +1,73 @@
+================
+``testbuild.sh``
+================
+
+This script automates building of a set of configurations. The intent is
+simply to assure that the set of configurations build correctly. The -h
+option shows the usage:
+
+.. code:: console
+
+   $ ./testbuild.sh -h
+
+   USAGE: ./testbuild.sh [-l|m|c|g|n] [-d] [-e <extraflags>] [-x] [-j <ncpus>] 
[-a <appsdir>] [-t <topdir>] [-p] [-G] <testlist-file>
+          ./testbuild.sh -h
+
+   Where:
+     -l|m|c|g|n selects Linux (l), macOS (m), Cygwin (c),
+        MSYS/MSYS2 (g) or Windows native (n). Default Linux
+     -d enables script debug output
+     -e pass extra c/c++ flags such as -Wno-cpp via make command line
+     -x exit on build failures
+     -j <ncpus> passed on to make.  Default:  No -j make option.
+     -a <appsdir> provides the relative path to the apps/ directory.  Default 
../apps
+     -t <topdir> provides the absolute path to top nuttx/ directory.  Default 
../nuttx
+     -p only print the list of configs without running any builds
+     -A store the build executable artifact in ARTIFACTDIR (defaults to 
../buildartifacts
+     -C Skip tree cleanness check.
+     -G Use "git clean -xfdq" instead of "make distclean" to clean the tree.
+        This option may speed up the builds. However, note that:
+          * This assumes that your trees are git based.
+          * This assumes that only nuttx and apps repos need to be cleaned.
+          * If the tree has files not managed by git, they will be removed
+            as well.
+     -R execute "run" script in the config directories if exists.

Review Comment:
   nel doc checkpatch.rst manca 
   
   
    echo "-x format supported files (only .py, requires: pip install black)"
   
   https://github.com/apache/nuttx/blob/master/tools/checkpatch.sh#L62



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to