unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tobias Backer Dirks <omgitsaheadcrab@gmail.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Cc: David Bremner <david@tethera.net>
Subject: Re: [PATCH] test: hide message from moreutils parallel.
Date: Mon, 26 Apr 2021 16:45:13 +0100	[thread overview]
Message-ID: <87k0op9hiu.fsf@gmail.com> (raw)
In-Reply-To: <20210426120518.2819757-1-david@tethera.net>

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

  reply	other threads:[~2021-04-26 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 12:05 [PATCH] test: hide message from moreutils parallel David Bremner
2021-04-26 15:45 ` Tobias Backer Dirks [this message]
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=87k0op9hiu.fsf@gmail.com \
    --to=omgitsaheadcrab@gmail.com \
    --cc=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).