bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: gnulib-tool.py: Fix misspelled option in output
Date: Fri, 12 Apr 2024 15:52:14 +0200	[thread overview]
Message-ID: <6669377.TBR9ndVY9D@nimes> (raw)

Here's a fix for this test failure:

$ ./test-cache-1-8.sh
Files ./test-cache-1-8.result/lib/Makefile.am and tmp1858399-result/lib/Makefile.am differ
Files ./test-cache-1-8.result/m4/gnulib-cache.m4 and tmp1858399-result/m4/gnulib-cache.m4 differ
FAIL: gnulib-tool's result has unexpected differences.
$ diff -u ./test-cache-1-8.result/m4/gnulib-cache.m4 tmp1858399-result/m4/gnulib-cache.m4
--- ./test-cache-1-8.result/m4/gnulib-cache.m4  2024-04-12 00:17:57.547981888 +0200
+++ tmp1858399-result/m4/gnulib-cache.m4        2024-04-12 15:34:53.113424660 +0200
@@ -34,7 +34,7 @@
 #  --doc-base=doc \
 #  --tests-base=tests \
 #  --aux-dir=. \
-#  --with-privileged-tests \
+#  --with-privileged-test \
 #  --no-conditional-dependencies \
 #  --no-libtool \
 #  --macro-prefix=gl
$ diff -u ./test-cache-1-8.result/lib/Makefile.am tmp1858399-result/lib/Makefile.am
--- ./test-cache-1-8.result/lib/Makefile.am     2024-04-12 00:17:57.655982968 +0200
+++ tmp1858399-result/lib/Makefile.am   2024-04-12 15:34:53.113424660 +0200
@@ -29,7 +29,7 @@
 #  --doc-base=doc \
 #  --tests-base=tests \
 #  --aux-dir=. \
-#  --with-privileged-tests \
+#  --with-privileged-test \
 #  --no-conditional-dependencies \
 #  --no-libtool \
 #  --macro-prefix=gl


2024-04-12  Bruno Haible  <bruno@clisp.org>

	gnulib-tool.py: Fix misspelled option in output.
	* pygnulib/GLImport.py (GLImport.actioncmd): Fix typo.

diff --git a/pygnulib/GLImport.py b/pygnulib/GLImport.py
index 903bd2e581..8a576c2fb1 100644
--- a/pygnulib/GLImport.py
+++ b/pygnulib/GLImport.py
@@ -427,7 +427,7 @@ class GLImport:
         if self.config.checkInclTestCategory(TESTS['longrunning-test']):
             actioncmd += ' \\\n#  --with-longrunning-tests'
         if self.config.checkInclTestCategory(TESTS['privileged-test']):
-            actioncmd += ' \\\n#  --with-privileged-test'
+            actioncmd += ' \\\n#  --with-privileged-tests'
         if self.config.checkInclTestCategory(TESTS['unportable-test']):
             actioncmd += ' \\\n#  --with-unportable-tests'
         if self.config.checkInclTestCategory(TESTS['all-test']):





                 reply	other threads:[~2024-04-12 13:52 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=6669377.TBR9ndVY9D@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).