]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Implement option --without-tests.
authorBruno Haible <bruno@clisp.org>
Wed, 3 Aug 2022 16:00:13 +0000 (18:00 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 3 Aug 2022 16:09:39 +0000 (18:09 +0200)
* gnulib-tool.py (main): Accept option --without-tests.

ChangeLog
gnulib-tool.py
gnulib-tool.py.TODO

index 3447f433ac94b9cd55f1e8292928f6bd870276b2..1d7b65eaf1e75810b52aeb9ed8b35a2b642921ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-08-03  Bruno Haible  <bruno@clisp.org>
 
+       gnulib-tool.py: Implement option --without-tests.
+       * gnulib-tool.py (main): Accept option --without-tests.
+
        gnulib-tool.py: Fix broken 'for' loop.
        * gnulib-tool.py (main): Canonicalize inctests before creating the
        GLConfig. Rewrite a broken 'for' loop.
index cbef01b3b24d97acda39b48c36ce238707b98f97..efe3b1e1d6e63fa9718a44dc838b141f93341061 100755 (executable)
@@ -251,6 +251,10 @@ def main():
                         dest='inctests',
                         default=None,
                         action='store_true')
+    parser.add_argument('--without-tests',
+                        dest='inctests',
+                        default=None,
+                        action='store_false')
     # obsolete
     parser.add_argument('--with-obsolete',
                         dest='obsolete',
index d6ba01657e5e014a34a42ed55f0eee422960ade8..00c766cfe5735d485f91a41945533da7df538bbf 100644 (file)
@@ -24,7 +24,6 @@ Implement the options:
   --extract-recursive-dependencies
   --extract-recursive-link-directive
   --extract-tests-module
-  --without-tests
   --without-c++-tests
   --without-longrunning-tests
   --without-privileged-tests