From: Bruno Haible Date: Sun, 31 Jul 2022 16:54:22 +0000 (+0200) Subject: gnulib-tool.py: Make --test behaviour more similar to gnulib-tool. X-Git-Tag: v1.0~2199 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=1639b8598d86b3d8c7fc3c7a0afaed93c67cbb93;p=gnulib.git gnulib-tool.py: Make --test behaviour more similar to gnulib-tool. * gnulib-tool.py (main) [test]: Remove space from the testdir name. --- diff --git a/ChangeLog b/ChangeLog index 1795d77965..df99979193 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-07-31 Bruno Haible + gnulib-tool.py: Make --test behaviour more similar to gnulib-tool. + * gnulib-tool.py (main) [test]: Remove space from the testdir name. + gnulib-tool: Clarify that --test allows zero module arguments. * gnulib-tool (func_usage): Mark the modules for --test as optional. * pygnulib/GLInfo.py (GLInfo.usage): Likewise. diff --git a/gnulib-tool.py b/gnulib-tool.py index 166a4ae56d..a646ae2d38 100755 --- a/gnulib-tool.py +++ b/gnulib-tool.py @@ -702,7 +702,7 @@ def main(): elif mode == 'test': if not destdir: - destdir = 'testdir %04d' % random.randrange(0, 9999) + destdir = 'testdir%04d' % random.randrange(0, 9999) if not auxdir: auxdir = 'build-aux' config.setAuxDir(auxdir)