unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Ole Tange <tange@gnu.org>, notmuch@notmuchmail.org
Cc: David Bremner <david@tethera.net>
Subject: [PATCH] test: use --minversion to detect GNU Parallel.
Date: Mon,  2 Aug 2021 08:21:42 -0300	[thread overview]
Message-ID: <20210802112142.2904259-1-david@tethera.net> (raw)
In-Reply-To: <CA+4vN7x6jp4HCiEybZ=5g+2X6Pa7etBFX3Bbd=UYty37gR6wEQ@mail.gmail.com>

Based on a suggestion of Ole Tange [1].

[1]: id:CA+4vN7x6jp4HCiEybZ=5g+2X6Pa7etBFX3Bbd=UYty37gR6wEQ@mail.gmail.com
---
 test/notmuch-test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/notmuch-test b/test/notmuch-test
index ce142f7c..eefdf091 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -51,7 +51,7 @@ RES=0
 # 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 2>&1 | grep -q GNU ; then
+    if parallel --minversion 0 1>/dev/null 2>&1  ; then
         echo "INFO: running tests with GNU parallel"
         printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel || RES=$?
     else
-- 
2.30.2

  reply	other threads:[~2021-08-02 11:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02 18:57 Don't use GNU Parallel --version, use --minversion instead Ole Tange
2021-08-02 11:21 ` David Bremner [this message]
2021-08-03 19:49   ` [PATCH] test: use --minversion to detect GNU Parallel Tomi Ollila
2021-08-04  1:47   ` 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=20210802112142.2904259-1-david@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tange@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.
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).