RE:Help running tests in python-biom-format
Hell andreas
for numexpr we are doing like this.
you need to set the PYTHONPATh in order to find the extension
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e -x;\
for py in $(PY2VERS) $(PY3VERS); do \
cd $(CURDIR)/build/lib.*-$$py;\
env PYTHONPATH=. python$$py numexpr/tests/test_numexpr.py;\
cd $(CURDIR)/build/lib.*-$$py-pydebug;\
env PYTHONPATH=. python$$py-dbg numexpr/tests/test_numexpr.py;\
done
endif
cheers
Fred
Reply to: