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 ms11 with LMTPS id ABbjH1qA0l4ANAAA0tVLHw (envelope-from ) for ; Sat, 30 May 2020 15:48:42 +0000 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 QMXjG1qA0l49IAAAB5/wlQ (envelope-from ) for ; Sat, 30 May 2020 15:48:42 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4ED9F94042B for ; Sat, 30 May 2020 15:48:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ECBBE6DE0286; Sat, 30 May 2020 08:48:35 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DvEilvawP1ea; Sat, 30 May 2020 08:48:35 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 52D6D6DE02AC; Sat, 30 May 2020 08:48:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6C1326DE02AC for ; Sat, 30 May 2020 08:48:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U4hXlKJmaQ50 for ; Sat, 30 May 2020 08:48:31 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 6B9E76DE0286 for ; Sat, 30 May 2020 08:48:31 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.92) (envelope-from ) id 1jf3ij-0000PV-Hb; Sat, 30 May 2020 11:48:25 -0400 Received: (nullmailer pid 551784 invoked by uid 1000); Sat, 30 May 2020 15:48:23 -0000 From: David Bremner To: Floris Bruynooghe , Daniel Kahn Gillmor , notmuch@notmuchmail.org Subject: Re: python-cffi and ruby test suites fail in out-of-tree builds In-Reply-To: <87d06usa31.fsf@powell.devork.be> References: <87h7w8iwod.fsf@fifthhorseman.net> <87d06usa31.fsf@powell.devork.be> Date: Sat, 30 May 2020 12:48:23 -0300 Message-ID: <878sh9toe0.fsf@tethera.net> MIME-Version: 1.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -1.01 X-TUID: ZP97cX6xOVnd Floris Bruynooghe writes: > > I checked out the python one, and maybe that's not too hard. The > following patch made this work for both in tree and out of tree (on top > of your other patch): > > modified test/T391-python-cffi.sh > @@ -8,7 +8,7 @@ fi > > > test_begin_subtest "python cffi tests" > -pytest_dir=$NOTMUCH_SRCDIR/bindings/python-cffi/build/stage > +pytest_dir=$NOTMUCH_BUILDDIR/bindings/python-cffi/build/stage > printf "[pytest]\nminversion = 3.0\naddopts = -ra\n" > $pytest_dir/pytest.ini > test_expect_success "(cd $pytest_dir && ${NOTMUCH_PYTHON} -m pytest --log-file=$TMP_DIRECTORY/test.output)" > test_done > I smooshed this into id:20200522010359.715688-1-dkg@fifthhorseman.net and pushed to master.