Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7203
| From | Nikolaus Rath <Nikolaus@rath.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | pybuild: how to pass multiple test args? |
| Date | 2015-08-23 05:00 +0200 |
| Message-ID | <q0tFL-4J3-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello,
I have the following in debian/rules:
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS="--installed {dir}/test/"
In unstable, this gives the following result:
make[1]: Leaving directory '/«BUILDDIR»/python-llfuse-0.41.1+dfsg'
dh_auto_test -O--buildsystem=pybuild
pybuild --test --test-pytest -i python{version} -p 2.7 --dir .
I: pybuild base:170: cd /«BUILDDIR»/python-llfuse-0.41.1+dfsg/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest "--installed /«BUILDDIR»/python-llfuse-0.41.1+dfsg/test/"
============================= test session starts ==============================
platform linux2 -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
rootdir: /«BUILDDIR»/python-llfuse-0.41.1+dfsg, inifile:
ERROR: file not found: --installed /«BUILDDIR»/python-llfuse-0.41.1+dfsg/test/
In other words, the two arguments are passed as one.
How can I pass them separately?
Thanks,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar
pybuild: how to pass multiple test args? Nikolaus Rath <Nikolaus@rath.org> - 2015-08-23 05:00 +0200 Re: pybuild: how to pass multiple test args? Nikolaus Rath <Nikolaus@rath.org> - 2015-08-23 06:20 +0200
csiph-web