Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8846

Re: dh_auto_test versus nosetests3

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: dh_auto_test versus nosetests3
Date Tue, 06 Sep 2016 16:40:02 +0200
Message-ID <sepHA-3dy-11@gated-at.bofh.it> (permalink)
References <sepxT-3ab-13@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Sep 6 14:36:31 2016
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.979 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (4.6.0-0.bpo.1-rt-amd64)
User-Agent Mutt/1.6.2-neo (2016-07-23)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14184
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20160906143609.b32vfxjcc7mxw7rq@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 10
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 6 Sep 2016 16:36:09 +0200
X-Original-Message-ID <20160906143609.b32vfxjcc7mxw7rq@sar0.p1otr.com>
X-Original-References <fac7637e-8b62-84da-f66d-cd4d4f12f4e4@451f.org>
Xref csiph.com linux.debian.maint.python:8846

Show key headers only | View raw


pybuild invokes tests from within build directory (for a very good reason)
You can patch the code to use f.e. env. var. that points to resources
directory or you can copy needed files to build directory with something like:

 export PYBUILD_BEFORE_TEST=cp -r {dir}/resources {build_dir}
 export PYBUILD_AFTER_TEST=rm -r {build_dir}/resources
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

dh_auto_test versus nosetests3 u <u@451f.org> - 2016-09-06 16:30 +0200
  Re: dh_auto_test versus nosetests3 Piotr Ożarowski <piotr@debian.org> - 2016-09-06 16:40 +0200

csiph-web