From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0JxPB+CdCWFR7QAAgWs5BA (envelope-from ) for ; Tue, 03 Aug 2021 21:49:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YJjSAuCdCWEKRQAAbx9fmQ (envelope-from ) for ; Tue, 03 Aug 2021 19:49:52 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 668021EF13 for ; Tue, 3 Aug 2021 21:49:51 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id B9D5D2C09F; Tue, 3 Aug 2021 15:49:47 -0400 (EDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [IPv6:2a0b:5c81:1c1::37]) by mail.notmuchmail.org (Postfix) with ESMTPS id EDD222C09D for ; Tue, 3 Aug 2021 15:49:43 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 8750C1B0004B; Tue, 3 Aug 2021 22:49:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1628020182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eWBDScZRZxAk5yMeKScW3+GOmKdxnocWIHU1NoXU7vw=; b=oG4WD17OvZyTRjxFtkoMpT103amc6ZnhZ8jxsLhkw2jahUSIieZIf2MT504c/6YBZTXrJx wPQMg0SZa1AJw70iXj04lDvXjcEm1WibG3etu5SelcLSr76NjKMt4Mw/D5rRgZnSpzosVY t2XhGhm76f277X95MaRJtXhreTKt/F0K8ZSeQzaReEiPFtdM/EyUHS9KW4dG//uQ9E/87Q JNgVquqE+nKdljHse57sB277+JJ94Rgr3YNshzftM6XYOn7WtRiE5gf6P+yzv8Uttl+Ntj R969swgC7WFwGL0PVw/eIMxlwjypwO+YvVElKp/K/ElMkzYFo11DKBxNFZriSw== From: Tomi Ollila To: David Bremner , Ole Tange , notmuch@notmuchmail.org Cc: David Bremner Subject: Re: [PATCH] test: use --minversion to detect GNU Parallel. In-Reply-To: <20210802112142.2904259-1-david@tethera.net> References: <20210802112142.2904259-1-david@tethera.net> User-Agent: Notmuch/0.32+21~gfdddd4c (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1628020182; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eWBDScZRZxAk5yMeKScW3+GOmKdxnocWIHU1NoXU7vw=; b=qP3KKqiofvXOdq518fn9grU7IyGg2LMksZHiSHu9ueYKvQ7RlRf8WemWQ/sy5CwgreJezM UoaN22fLO+7ViZ6P4pKHCB9kiNmbh5UMQIUU4lyKPIJY1Vb/i0Pwi4b1jlE9nsXqLZBrkU D18aDDCJX/nyWkhZT/uLOaQZxpNGbM4QJxK+BtgmLjDab7WngCqFZz7dnb17mYO/EqHLGD IYwiZwBIwseSDDVnsvAJ9qq/icEozJjvOAdfvfm2WoyHKdJFQY23BWwGlrp8lEfC6eWlzQ GMx+OKmk5rfk14DMj7GT82tGvMPsTvxOty6tYdOMSCK9cFV9f0+2V2PT65WKBA== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1628020182; a=rsa-sha256; cv=none; b=Jwa5SNrZcIp2s3PmCVlhyf56XrTPQB1/KWj4HF4yWy6SOm/JgLvarScT2W2kA6rqcZvfbC iQgb0dGkBg6EqsvncT0F9r6mDmDcVSmI+T4id9s8CVtx31hFmZ/7rotIXjPZQJIuDYjcrv OoDfFIuHXUNI4/a9moKSj87S/De9VmHOU+r1yDf2IDexMQ3Q50z6al6pNzVRqQWvDUPfff ZYbMESfsYXDlYKyMdWYmVSXY3Z7KDzayeEd4E0mLy7Plu8RHyzvDDhCRkAz/Irs2RzN3vh G0iN9fCLEKRdtkvjXnlvuKc3EhYGpOJdWITtC6Y7NOfXysK8JbrMFUp7TGg7MA== Message-ID-Hash: SG5PK7CZI2JYYRULRNQR3TEIP4VSMKHV X-Message-ID-Hash: SG5PK7CZI2JYYRULRNQR3TEIP4VSMKHV X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628020191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O62fom4S2k7BxVWoprVxHPW7qLDZQXsg6oR7DLTJjuA=; b=KQOmoEQU0JPqOc8lE8gej19hQ2vNjHUsXAo1n6l4l+U9UuAOXUbJJNLOg3EgT4iFGWU+EQ bd0OX48deAbFkLLAABu9o7+E3B1Qp1xLX/piydqVo9mdytuaMYt0S0g1kqwQmK5qbwjFFo ZejWSs/0AvcUTNPEIPXD9kJf7d0qWE9aRMJ1jgVx3dsme03ASaSFgb0IJMgtDIvsTLM+Lw bj1gkupW9o0NcmT5aFG+BtUX81kjmIcpKd7vNaDPeX0vrt1TDEjTI4IQYhquwwNi7LBwiL xQS/F7gegFIEHC2lJ+PBmJyzgrnu6s8oM+aRoBzqD8heO/HHcDPUXxsWlRZdsg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1628020191; a=rsa-sha256; cv=fail; b=bEK3RnmWUMUmAoDQyugH6Md0QZe60v9TB3OYSewapTYJoHXiWpQU+qERvMjG+YHBKQE830 jGbN9VfvvabdjXxWZtsKMqn1UuC6BoW9vLWr4rW1B/E1uRLZGhnA9f2Ve3QzNbM9H1TZez tmXNf2JYLcXb+o3XYEDPFjbKsVRrk26+k6Tc/IcevidUJD5NYMMbFiAZe8spcT+7qAfc65 zqEoL6cHTUlf6Ep8Z5WR7Nyb9dWolf99kRUdAn6jlisyMd8lHsjhqPQwwrRABDhJQUz5gS iNT/12VfT2iTzJT15yY8FqHdgedpQrXsSJBA0I9YJBff473Xhow/5QiSq8xpOg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=oG4WD17O; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=oG4WD17O; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 668021EF13 X-Spam-Score: 0.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6FEeNyosAH/D On Mon, Aug 02 2021, David Bremner wrote: > 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 fix the 2 spaces ;D the 1 before >/dev/null is a bit confusing, fast reader reads parallel --minversion 0 1 as the arguments. so I'd suggest to drop the '1'. Tomi > echo "INFO: running tests with GNU parallel" > printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel || RES=$? > else > -- > 2.30.2 > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org