Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8846
| From | Piotr Ożarowski <piotr@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: dh_auto_test versus nosetests3 |
| Date | 2016-09-06 16:40 +0200 |
| Message-ID | <sepHA-3dy-11@gated-at.bofh.it> (permalink) |
| References | <sepxT-3ab-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
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