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

pybuild --pytest: empty directory?



Hi,

I am trying to automatically run pytest from pybuild (by specifying
"dh_auto_test -- --test-pytest" in override_dh_auto_test).

However, the tests do not run. When I look into the log, I see:

I: pybuild base:170: cd <builddir>/.pybuild/pythonX.Y_2.7/build; python2.
============================= test session starts ==============================
platform linux2 -- Python 2.7.9 -- py-1.4.25 -- pytest-2.6.3
collected 0 items

===============================  in 0.00 seconds ===============================

(repeated similarly for python3). Looking into these directories, they
are empty (the build tree is in <builddir>build/lib.linux-x86_64-2.7/wcsaxes
and they are created by pybuild and setup.py:

   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:170: /usr/bin/python setup.py build 
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/wcsaxes
[...]

What am I doing wrong here?

Best regards

Ole


Reply to: