Path: csiph.com!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod From: Barry Warsaw Newsgroups: linux.debian.maint.python Subject: Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary Date: Wed, 14 Oct 2015 16:20:03 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Oct 14 14:12:28 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Organization: The Organization of Unorganized Woozalists X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/12975 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20151014101206.43159b13@limelight.wooz.org Approved: robomod@news.nic.it Lines: 16 Sender: robomod@news.nic.it X-Original-Date: Wed, 14 Oct 2015 10:12:06 -0400 X-Original-Message-ID: <20151014101206.43159b13@limelight.wooz.org> X-Original-References: <20151013213209.GI15907@sar0.p1otr.com> <20151014112659.GK15907@sar0.p1otr.com> Xref: csiph.com linux.debian.maint.python:7664 On Oct 14, 2015, at 01:26 PM, Piotr O=C5=BCarowski wrote: >> export PYBUILD_TEST_ARGS=3D{dir}/tests > >should I do that by default in pybuild if >* "test" or "tests" directory is detected >* PYBUILD_TEST_ARGS is not set >* nose or pytest test suite is used > >? Maybe just on the first two conditions, only if it's documented, and if there's an easy way to disable it for corner cases. Cheers, -Barry