From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qMBSCGNxfWFTTQEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 18:22:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IIIJBGNxfWG2dwAAB5/wlQ (envelope-from ) for ; Sat, 30 Oct 2021 16:22:59 +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 CDBD4332D for ; Sat, 30 Oct 2021 18:22:58 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 116351F52A; Sat, 30 Oct 2021 12:22:45 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 681741F486 for ; Sat, 30 Oct 2021 12:22:40 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 5A0555FC42; Sat, 30 Oct 2021 12:22:40 -0400 (EDT) Received: (nullmailer pid 1204123 invoked by uid 1000); Sat, 30 Oct 2021 16:22:38 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 2/4] test: add python-cffi bindings to path for test_python Date: Sat, 30 Oct 2021 13:22:33 -0300 Message-Id: <20211030162235.1203886-3-david@tethera.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211030162235.1203886-1-david@tethera.net> References: <20211030162235.1203886-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: I435AZXZGNSBFJTC4YMCDTTQISFPQL6Z X-Message-ID-Hash: I435AZXZGNSBFJTC4YMCDTTQISFPQL6Z X-MailFrom: bremner@tethera.net 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-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635610978; 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=i4asQUqiddnrVXkb0ekVKuGo2YEPclpPRILd88pJLvM=; b=dsag/r9f9aYaj8563aUMETTeOdBwskeVCo/umgpG9+lUMboZMK7JFU4dkocGAPnzA9oB3C 25+sWnsUcZ0T9hqgIU48A+xSdlf8sZLtEH2pNT6G5Gb7m/1GLB6Mmikvoyw8d7Z7TPkjCH NT2TbusUGVXC1M5Ep5+XQc7bey6sr5F7ntwDMoXi2+g5R5HeXF1wF7Y+G7/uezxrnrs+er j1ev95K7VZYdeTeflBu1v/QRhVKjP0JFlEnLDCHhs6Tkeg3o18SldF9oNScNdtO2SxzeD2 gmKXCzjUMPe6Xh3TUPPBBVilBzdV1ITm0N+oDNaMzoIsvMcN90PzRf55iBRYrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635610978; a=rsa-sha256; cv=none; b=Cnd6eP+B/X/R1DDoKTbmSSOax6voG/X+kEA35dkWPwJm6Hg9OpkZb3NmP71JGVrnJ3o24n K/Ih1+Ok4KvMc4QxWmtKzEO6ZgijYqMnPUSjVvaGscrKW99NORikQIX/e81+FbEEjZWtCv E2TfOPRQcBuOcDvI2dbz6Mf/6654y/e+Ssx6UAapaiY2HJrljV3lKon21mMKOngbovOo8a WXPi27CNgwywlMKxa3lvaFmA0lduTpBrOu66siCQKFllGb5/7MrGiFg92KwiyGVAit/7Gw tyiITYQEiK+41xIMvM9PrGCsYP/CSNcNpj+COAVzP4hijLLbHyO3NewrgFX49Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -1.15 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: CDBD4332D X-Spam-Score: -1.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: movd6nv7sTQs This will allow testing the new python bindings using test_python, in addition to the current invocation of pytest. --- test/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 32f710a5..e476a69b 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -909,7 +909,7 @@ test_done () { test_python () { # Note: if there is need to print debug information from python program, # use stdout = os.fdopen(6, 'w') or stderr = os.fdopen(7, 'w') - PYTHONPATH="$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \ + PYTHONPATH="$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage:$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \ $NOTMUCH_PYTHON -B - > OUTPUT } -- 2.33.0