From 07e4eeaf1b27d2a72eead59a742210105d44af44 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 8 May 2024 11:11:12 +0200 Subject: [PATCH] gnulib-tool.py: Make --megatest behaviour more similar to shell impl. * pygnulib/main.py (main) [megatest]: Remove space from the testdir name. --- ChangeLog | 6 ++++++ pygnulib/main.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.39.5