Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8354
| From | Brian May <brian@linuxpenguins.xyz> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: running tests against installed version of package |
| Date | 2016-03-27 07:20 +0200 |
| Message-ID | <rhbhf-3vZ-5@gated-at.bofh.it> (permalink) |
| References | <rguch-6J2-5@gated-at.bofh.it> <rhbhf-3vZ-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> ... little cheat: run the tests after install:
> https://sources.debian.net/src/pytest-catchlog/1.2.2-1/debian/rules/
Ok, thanks for that.
In my case I found the order is not important. What is important is that
the tests are run via "setup.py" which will write/read the
APScheduler.egg-info/*
--- cut ---
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.11+, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
collected 401 items
...
--- cut ---
vs
--- cut ---
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test -- --system=custom --test-args="{interpreter} setup.py test"
I: pybuild base:184: python2.7 setup.py test
running test
running egg_info
writing requirements to APScheduler.egg-info/requires.txt
writing APScheduler.egg-info/PKG-INFO
writing top-level names to APScheduler.egg-info/top_level.txt
writing dependency_links to APScheduler.egg-info/dependency_links.txt
writing entry points to APScheduler.egg-info/entry_points.txt
reading manifest file 'APScheduler.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'APScheduler.egg-info/SOURCES.txt'
running build_ext
============================= test session starts ==============================
platform linux2 -- Python 2.7.11+, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
collected 401 items
--- cut ---
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
running tests against installed version of package Brian May <brian@linuxpenguins.xyz> - 2016-03-25 08:20 +0100
Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-25 11:50 +0100
Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 03:50 +0100
Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 04:10 +0100
Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-26 04:20 +0100
Re: running tests against installed version of package Ben Finney <ben+debian@benfinney.id.au> - 2016-03-26 04:10 +0100
Re: running tests against installed version of package Barry Warsaw <barry@debian.org> - 2016-03-25 23:20 +0100
Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-03-26 04:00 +0100
Re: running tests against installed version of package Barry Warsaw <barry@debian.org> - 2016-03-31 19:00 +0200
Re: running tests against installed version of package Brian May <brian@linuxpenguins.xyz> - 2016-03-27 07:20 +0200
egg-info executable files Brian May <bam@debian.org> - 2016-03-27 07:30 +0200
Re: egg-info executable files Ben Finney <ben+debian@benfinney.id.au> - 2016-03-27 08:50 +0200
Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-01 00:00 +0200
Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-01 00:20 +0200
Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-02 14:00 +0200
Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-02 23:00 +0200
Re: running tests against installed version of package Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-02 10:10 +0200
Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-04-03 03:40 +0200
Re: running tests against installed version of package Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-03 04:50 +0200
Re: running tests against installed version of package Brian May <bam@debian.org> - 2016-04-03 05:00 +0200
Re: running tests against installed version of package Thomas Goirand <zigo@debian.org> - 2016-04-06 00:30 +0200
Re: running tests against installed version of package Piotr Ożarowski <piotr@debian.org> - 2016-04-06 11:00 +0200
csiph-web