From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YF+oFSXLMmQUhgEASxT56A (envelope-from ) for ; Sun, 09 Apr 2023 16:26:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4AdEFSXLMmRV4QAAauVa8A (envelope-from ) for ; Sun, 09 Apr 2023 16:26:45 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 2A84E2647D for ; Sun, 9 Apr 2023 16:26:45 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5BB385F379; Sun, 9 Apr 2023 14:26:36 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id B2DC75E017 for ; Sun, 9 Apr 2023 14:26:32 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 250C25FB98; Sun, 9 Apr 2023 10:26:32 -0400 (EDT) Received: (nullmailer pid 2216435 invoked by uid 1000); Sun, 09 Apr 2023 14:26:29 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH v3 3/5] test: Guess a value for NOTMUCH_PYTHON Date: Sun, 9 Apr 2023 11:26:25 -0300 Message-Id: <20230409142627.2216080-4-david@tethera.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230409142627.2216080-1-david@tethera.net> References: <20230409142627.2216080-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: ZT5CY6JYYULWH3XLJO2FE5USUM5OCZCC X-Message-ID-Hash: ZT5CY6JYYULWH3XLJO2FE5USUM5OCZCC X-MailFrom: bremner@minkowski.home 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; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681050405; a=rsa-sha256; cv=none; b=G9uP69GsYYtF7CVDZDRlB3MmWP/+RdnvxTbPZO/Ne3tdS65F1pE8HEWJB4vUeA4VYRpuCc DIDU29O1nc+AzFM1ycgkIPyefIXx2V2uXXs806dIukx8d+JdZn90ZIToPPLy/HFW3MRCdl UxAxa6HAo/axvpaFhNCaAwYrR+szMZP3UPWJ2/OejoI6KtBc91G604L+XtfXyBXa65DF3W SFqzmXo5Iy01h3WWfZpbc/EDBMXe6FSMKuX5slpSWHerZus46aMtpbwFxONNG1o6uN2SSG zpevJlLOZy9G5Aiva+k+oL6bodZF5rQG+eshN1px+AWNP1HhheCvX4pXFy9Hxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681050405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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-owner:list-unsubscribe:list-subscribe:list-post; bh=STO8qJ0yaGQ6IUOVr1rCsoOl4hf5rlRINtAsCGMYQlU=; b=ZVaVH8fS0c3lBQzcqcU9QxJ4ROBqoKeRn7axTqpWuXslpCCTRJe4bh22Fl+g/Ji3VHp5vS AQk1pgwCY6krWjA2kUZkOdJhbQ6NUNFEVWhaXPkEgGkcosx7ZUpHNHqHwkvEoineExTbDO HPyIlZidhcXjr7Y+MFkkuyPoHUL169AfHjZTj90W0d5JqVesRv0HzEWurDa8UTbyyK1b6C SZ248cazad7ld48bjmdX3eLp3Fhw1Lstnft5asv4nYnB8oeEVqgqhC1MBQPAuwSBI7fbl3 JRXQoNsGr7qyRTOFTETDBIi2EmnmTS4DE3DqQ8+QtgV9OCTGh6+kf1NftSijOA== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.47 X-Spam-Score: -1.47 X-Migadu-Queue-Id: 2A84E2647D X-TUID: GBXfkzcJMl5j python3 will work for many people, and reduce the friction to running the tests without running configure first. --- test/test-lib-common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh index 18fa29c0..4d14e0b3 100644 --- a/test/test-lib-common.sh +++ b/test/test-lib-common.sh @@ -323,6 +323,10 @@ rm -rf "$TMP_DIRECTORY" || { exit 1 } +# Provide a guess at a usable Python, to support running tests without +# running configure first. +NOTMUCH_PYTHON=${NOTMUCH_PYTHON-python3} + # A temporary home directory is needed by at least: # - emacs/"Sending a message via (fake) SMTP" # - emacs/"Reply within emacs" -- 2.39.2