]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention --with-tests option.
authorBruno Haible <bruno@clisp.org>
Tue, 10 Jan 2012 19:53:57 +0000 (20:53 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 10 Jan 2012 19:53:57 +0000 (20:53 +0100)
* gnulib-tool (func_usage): Suggest --with-tests for --test etc.
* doc/gnulib.texi (Extra tests modules): Mention the need to pass
--with-tests.
Reported by Reuben Thomas.

ChangeLog
doc/gnulib.texi
gnulib-tool

index 212aeaf15c44b3ee1a2d7e02cbac6bda774601b6..1759167290c51b90b7712e0d72ffa58b50a65e43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-01-10  Bruno Haible  <bruno@clisp.org>
+
+       doc: Mention --with-tests option.
+       * gnulib-tool (func_usage): Suggest --with-tests for --test etc.
+       * doc/gnulib.texi (Extra tests modules): Mention the need to pass
+       --with-tests.
+       Reported by Reuben Thomas.
+
 2012-01-10  Reuben Thomas  <rrt@sc3d.org>
 
        users.txt: order package names lexicographically.
index 83632024916e45c888014249216ab7ef25d09f26..1ab056f35ef41b970f850c1a11a24950def9b6e7 100644 (file)
@@ -825,17 +825,17 @@ there is no workaround about it.  Such a test is better avoided in a
 release that is made for the general public.
 @end table
 
-@code{gnulib-tool --import} will not include tests marked with these
-attributes by default.  When @code{gnulib-tool} is invoked with one
+@code{gnulib-tool --import --with-tests} will not include tests marked with
+these attributes by default.  When @code{gnulib-tool} is invoked with one
 of the options @code{--with-c++-tests}, @code{--with-longrunning-tests},
 @code{--with-privileged-tests}, @code{--with-unportable-tests}, it
 will include tests despite the corresponding special status attribute.
 When @code{gnulib-tool} receives the option @code{--with-all-tests},
 it will include all tests regardless of their status attributes.
 
-@code{gnulib-tool --create-testdir} and
-@code{gnulib-tool --create-megatestdir} by default include all tests of
-modules specified on the command line, regardless of their status
+@code{gnulib-tool --create-testdir --with-tests} and
+@code{gnulib-tool --create-megatestdir --with-tests} by default include all
+tests of modules specified on the command line, regardless of their status
 attributes.  Tests of modules occurring as dependencies are not included
 by default if they have one of these status attributes.  The options
 @code{--with-c++-tests}, @code{--with-longrunning-tests},
index da3aa4d036dc65cb45b5e19bf17139cd52d618dc..de8f6fea79fd2d6612aceb6ecb3223f1d7a31eb4 100755 (executable)
@@ -164,11 +164,15 @@ Operation modes:
       --update              update the current package, restore files omitted
                             from version control
       --create-testdir      create a scratch package with the given modules
+                            (pass --with-tests to include the unit tests)
       --create-megatestdir  create a mega scratch package with the given modules
                             one by one and all together
+                            (pass --with-tests to include the unit tests)
       --test                test the combination of the given modules
+                            (pass --with-tests to include the unit tests)
                             (recommended to use CC=\"gcc -Wall\" here)
       --megatest            test the given modules one by one and all together
+                            (pass --with-tests to include the unit tests)
                             (recommended to use CC=\"gcc -Wall\" here)
       --extract-description        extract the description
       --extract-comment            extract the comment