[ Andreas Tille ]
* d/rules: Remove redundant get-orig-source target
- * provide LD_LIBRARY_PATH for run time test to avoid RPATH setting
-- Afif Elghraoui <afif@debian.org> Mon, 23 Jan 2017 19:13:47 -0800
export HTSLIB_LIBRARY_DIR=$(HTSLIBDIR)
export HTSLIB_INCLUDE_DIR=/usr/include
-#export PYBUILD_TEST_NOSE=1
+export PYBUILD_TEST_NOSE=1
# pybuild calls nosetests as `python{version} -m nose tests`
#
# The "tests" argument (passed by pybuild as shown above) fails,
# so don't pass anything:
-#export PYBUILD_TEST_ARGS=
+export PYBUILD_TEST_ARGS=
# This is how we pass parameters to nose without command-line flags
export NOSE_WHERE=$(CURDIR)/tests
export NOSE_VERBOSE=2
dh_install -Xtest.gtf.gz
override_dh_auto_test: pysam_data.all cbcf_data.all
- #dh_auto_test
- dh_auto_test -- --test --system=custom \
- --test-args='set -x; echo "{build_dir}/pysam {interpreter}"; LD_LIBRARY_PATH={build_dir}/pysam {interpreter} -m nose'
+ dh_auto_test
override_dh_auto_clean:
dh_auto_clean