From: Bruno Haible Date: Wed, 8 May 2024 09:11:12 +0000 (+0200) Subject: gnulib-tool.py: Make --megatest behaviour more similar to shell impl. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=07e4eeaf1b27d2a72eead59a742210105d44af44;p=gnulib.git gnulib-tool.py: Make --megatest behaviour more similar to shell impl. * pygnulib/main.py (main) [megatest]: Remove space from the testdir name. --- diff --git a/ChangeLog b/ChangeLog index fa78ed6a80..f61d05a90f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-05-08 Bruno Haible + + gnulib-tool.py: Make --megatest behaviour more similar to shell impl. + * pygnulib/main.py (main) [megatest]: Remove space from the testdir + name. + 2024-05-08 Bruno Haible gnulib-tool: In --megatestdir mode, stop when there is an error. diff --git a/pygnulib/main.py b/pygnulib/main.py index 8462916653..585f7df43f 100644 --- a/pygnulib/main.py +++ b/pygnulib/main.py @@ -1120,7 +1120,7 @@ def main(temp_directory: str) -> None: elif mode == 'megatest': 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)