]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Make --megatest behaviour more similar to shell impl.
authorBruno Haible <bruno@clisp.org>
Wed, 8 May 2024 09:11:12 +0000 (11:11 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 8 May 2024 09:11:12 +0000 (11:11 +0200)
* pygnulib/main.py (main) [megatest]: Remove space from the testdir
name.

ChangeLog
pygnulib/main.py

index fa78ed6a805cda1b4a88643e35d802a5ccf1c466..f61d05a90f7e60df48b6c8b68f080cabecfa6bdd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-08  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        gnulib-tool: In --megatestdir mode, stop when there is an error.
index 8462916653905d43127f812558cc9c9b428ee2fb..585f7df43f38aa7f3cdd12f7d92369cc4fe93564 100644 (file)
@@ -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)