pybuild invokes tests from within build directory (for a very good reason)
You can patch the code to use f.e. env. var. that points to resources
directory or you can copy needed files to build directory with something like:
export PYBUILD_BEFORE_TEST=cp -r {dir}/resources {build_dir}
export PYBU
Hi!
I have a package where upstream provides tests.
These tests, when run with nosetests3, work correctly.
Currently, I build the package using (debian/rules):
%:
dh $@ --with python3 --buildsystem=pybuild
But some of the tests fail this way (see log below, for better readability).
Now,
2 matches
Mail list logo