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

RFH pychopper - test in cowbuilder does not find tests



Hello,

https://salsa.debian.org/med-team/pychopper

It is a Python module with a small script to its side that is not named pychopper  - a bit surprising. More surprising, cowbuilder gives me

writing... pychopper.1{ cmd_listmodulespychopperpychopper.phmm_datapychopper.primer_datapychopper.tests} done
build succeeded.

The manual pages are in _build/man.

Build finished. The manual pages are in _build/man.
make[2]: Leaving directory '/build/pychopper-2.4.0/docs'
make[1]: Leaving directory '/build/pychopper-2.4.0'
  dh_auto_test -O--buildsystem=pybuild
       pybuild --test --test-pytest -i python{version} -p 3.8
I: pybuild base:217: cd /build/pychopper-2.4.0/.pybuild/cpython3_3.8_pychopper/build; python3.8 -m pytest ========================================================================================= test session starts ==========================================================================================
platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
rootdir: /build/pychopper-2.4.0, inifile: pytest.ini
plugins: xonsh-0.9.18, doctestplus-0.7.0, xdist-1.32.0, cov-2.8.1, mock-1.10.4, openfiles-0.5.0, forked-1.1.3, arraydiff-0.3, hypothesis-5.16.0, timeout-1.3.3, remotedata-0.3.2
collected 0 items

===================================================================================== no tests ran in 0.02 seconds ===================================================================================== E: pybuild pybuild:352: test: plugin distutils failed with: exit code=5: cd /build/pychopper-2.4.0/.pybuild/cpython3_3.8_pychopper/build; python3.8 -m pytest dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

while everything works with dpkg/gbp buildpackage.

I had to

-        cdna_classifier = path.join(pkg_base, 'scripts', 'cdna_classifier.py') +        cdna_classifier = path.join(pkg_base, '../../../scripts', 'cdna_classifier.py')

for the second test but this is downstream from where this problem arises - a symptom, possibly, though.

Many thanks!!!!

Steffen


Reply to: