]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Make --test behaviour more similar to gnulib-tool.
authorBruno Haible <bruno@clisp.org>
Sun, 31 Jul 2022 16:54:22 +0000 (18:54 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 Jul 2022 21:52:42 +0000 (23:52 +0200)
* gnulib-tool.py (main) [test]: Remove space from the testdir name.

ChangeLog
gnulib-tool.py

index 1795d77965d2a055cd509837df8bb8f9fcc815b8..df99979193774e11d7121bc8da8766e222fc939a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2022-07-31  Bruno Haible  <bruno@clisp.org>
 
+       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.
index 166a4ae56d95960fad300ce9231c13959d20ce7b..a646ae2d3890905648e3a3d2e32f2df9f394acb3 100755 (executable)
@@ -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)