>From 1e57719d520683d08e8646fb2b778aa9d9afb294 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 3 Aug 2022 18:00:13 +0200 Subject: [PATCH 10/12] gnulib-tool.py: Implement option --without-tests. * gnulib-tool.py (main): Accept option --without-tests. --- ChangeLog | 3 +++ gnulib-tool.py | 4 ++++ gnulib-tool.py.TODO | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3447f433ac..1d7b65eaf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-08-03 Bruno Haible + 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. diff --git a/gnulib-tool.py b/gnulib-tool.py index cbef01b3b2..efe3b1e1d6 100755 --- a/gnulib-tool.py +++ b/gnulib-tool.py @@ -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', diff --git a/gnulib-tool.py.TODO b/gnulib-tool.py.TODO index d6ba01657e..00c766cfe5 100644 --- a/gnulib-tool.py.TODO +++ b/gnulib-tool.py.TODO @@ -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 -- 2.34.1