[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pybuild: how to pass multiple test args?



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.«


Reply to: