From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 985176DE0ED0 for ; Mon, 4 Nov 2019 08:57:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.059 X-Spam-Level: X-Spam-Status: No, score=-0.059 tagged_above=-999 required=5 tests=[AWL=-0.058, SPF_PASS=-0.001] autolearn=disabled 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 Wf1YTy09bXiK for ; Mon, 4 Nov 2019 08:57:12 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 8EBB96DE0EC7 for ; Mon, 4 Nov 2019 08:57:12 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1iRffA-00077Z-QB; Mon, 04 Nov 2019 11:57:08 -0500 Received: (nullmailer pid 27220 invoked by uid 1000); Mon, 04 Nov 2019 16:57:07 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 4/5] tests: run python-cffi tests In-Reply-To: References: <20191104013927.17037-1-david@tethera.net> <20191104013927.17037-5-david@tethera.net> X-List-To: notmuch Date: Mon, 04 Nov 2019 12:57:07 -0400 Message-ID: <877e4fmvfg.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain 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: , X-List-Received-Date: Mon, 04 Nov 2019 16:57:13 -0000 Tomi Ollila writes: > On Sun, Nov 03 2019, David Bremner wrote: > >> The entire python-cffi test suite is considered as a single test at >> the level of the notmuch test suite. This might or might not be ideal, >> but it gets them run. > > IMO this is good enough approach -- provided that pytest is prereq > for this test to be run =D > > (i.e. one may have cffi but decided not to install pytest) > > Tomi Yes, that's a good point, that actually caused some failures. I guess I'll also need to check for pytest-cov, or disable coverage testing, which is apparently enabled by default in tox.ini. At the moment I don't know the best way to do that, but "python3 -m pytest -c /dev/null" seems to work. d