>From cfb5e7537c7725da01f4854eba605006bdff0468 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 31 Jul 2022 18:54:22 +0200 Subject: [PATCH 09/16] gnulib-tool.py: Make --test behaviour more similar to gnulib-tool. * gnulib-tool.py (main) [test]: Remove space from the testdir name. --- ChangeLog | 3 +++ gnulib-tool.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index caf9747ac3..bff168a7a4 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) -- 2.34.1