Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7203
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Nikolaus Rath <Nikolaus@rath.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | pybuild: how to pass multiple test args? |
| Date | Sun, 23 Aug 2015 05:00:01 +0200 |
| Message-ID | <q0tFL-4J3-1@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Aug 23 02:55:58 2015 |
| Old-Return-Path | <Nikolaus@rath.org> |
| X-Amavis-Spam-Status | No, score=-2.62 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=+kEle5EhTyYVzrJ5U55elFafVmE=; b=SLcJY JMb4IlDeOVvSyj9ORL1JSR3DAce1nUki/pC2YDREwWVV3jyf4NdYGiHQQZzOVJDl 5LvZa4gh9rDWl8y/vluw48zjPI9QO2jNke8IGc5cGwaI+YTKmBN/Mm57ZhgVjsBE saJ3xgHpmhKzpvPL++jbzVAkIxpGsGuhQ8BRPo= |
| X-Sasl-Enc | GbLX4ZgyusaZtUpcnDh72RiW0UsIdIrotaed2340Ymcm 1440298531 |
| Mail-Copies-To | never |
| Mail-Followup-To | debian-python@lists.debian.org |
| User-Agent | Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/12510 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/87lhd2zpb2.fsf@vostro.rath.org |
| Approved | robomod@news.nic.it |
| Lines | 36 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 22 Aug 2015 19:55:29 -0700 |
| X-Original-Message-ID | <87lhd2zpb2.fsf@vostro.rath.org> |
| Xref | csiph.com linux.debian.maint.python:7203 |
Show key headers only | View raw
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