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

Re: Fwd: Trying to run build time tests using nosetest for python-pysam



On 2015-07-20 10:54, Andreas Tille wrote:
unfortunately I did not got any response from Debian Python team and
I'm simply lost how to run the tests.

Maybe change the dh_auto_test override to something like:

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="cd tests && {interpreter} pysam_test.py" dh_auto_test || echo "Ignoring test failures"

Also note the following in tests/00README.txt:

"
In order for the script pysam_test.py to work, you will need pysam in your PYTHONPATH.
"

There is also a pysam_test_offline.py which may be more suitable for build environments without network.

Kind Regards,

Bas


Reply to: