From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: gnulib-tool.py: Make --megatest behaviour more similar to shell impl
Date: Wed, 08 May 2024 11:11:33 +0200 [thread overview]
Message-ID: <5473877.vBoWY3egPC@nimes> (raw)
When using --megatest, I see a directory name with a space:
drwxrwxr-x 6 bruno bruno 4096 Mai 8 10:56 testdir1658193
drwxrwxr-x 6 bruno bruno 4096 Mai 8 10:56 'testdir 3482'
I had done a fix of this for --test in commit
1639b8598d86b3d8c7fc3c7a0afaed93c67cbb93. --megatest needs the same fix.
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.
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)
reply other threads:[~2024-05-08 9:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5473877.vBoWY3egPC@nimes \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).