From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Cc: David Bremner <david@tethera.net>
Subject: [PATCH] test: hide message from moreutils parallel.
Date: Mon, 26 Apr 2021 09:05:18 -0300 [thread overview]
Message-ID: <20210426120518.2819757-1-david@tethera.net> (raw)
The argument --version confuses moreutils parallel, but this is OK,
because its confusing does not include printing "GNU"
---
This doesn't hide the message about citation from GNU parallel, but
that's between you and the author of GNU parallel.
test/notmuch-test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/notmuch-test b/test/notmuch-test
index 91909264..cbd33f93 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -50,7 +50,7 @@ META_FAILURE=
# Run the tests
if test -z "$NOTMUCH_TEST_SERIALIZE" && command -v parallel >/dev/null ; then
test -t 1 && export COLORS_WITHOUT_TTY=t || :
- if parallel --version | grep -q GNU ; then
+ if parallel --version 2>&1 | grep -q GNU ; then
echo "INFO: running tests with GNU parallel"
printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel
else
--
2.30.2
next reply other threads:[~2021-04-26 12:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 12:05 David Bremner [this message]
2021-04-26 15:45 ` [PATCH] test: hide message from moreutils parallel Tobias Backer Dirks
2021-04-26 23:11 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210426120518.2819757-1-david@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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).