* [PATCH] test: hide message from moreutils parallel.
@ 2021-04-26 12:05 David Bremner
2021-04-26 15:45 ` Tobias Backer Dirks
2021-04-26 23:11 ` David Bremner
0 siblings, 2 replies; 3+ messages in thread
From: David Bremner @ 2021-04-26 12:05 UTC (permalink / raw)
To: notmuch; +Cc: David Bremner
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] test: hide message from moreutils parallel.
2021-04-26 12:05 [PATCH] test: hide message from moreutils parallel David Bremner
@ 2021-04-26 15:45 ` Tobias Backer Dirks
2021-04-26 23:11 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: Tobias Backer Dirks @ 2021-04-26 15:45 UTC (permalink / raw)
To: David Bremner, notmuch; +Cc: David Bremner
I didn't realize the citation message was printed to stderr, fair
enough. In the latest version of GNU parallel it seems to be omitted
altogether.
David Bremner <david@tethera.net> writes:
> 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
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] test: hide message from moreutils parallel.
2021-04-26 12:05 [PATCH] test: hide message from moreutils parallel David Bremner
2021-04-26 15:45 ` Tobias Backer Dirks
@ 2021-04-26 23:11 ` David Bremner
1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2021-04-26 23:11 UTC (permalink / raw)
To: notmuch
David Bremner <david@tethera.net> writes:
> The argument --version confuses moreutils parallel, but this is OK,
> because its confusing does not include printing "GNU"
applied,
d
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-26 23:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 12:05 [PATCH] test: hide message from moreutils parallel David Bremner
2021-04-26 15:45 ` Tobias Backer Dirks
2021-04-26 23:11 ` David Bremner
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).