Skip to content
Snippets Groups Projects
Commit 5eee643d authored by Yaroslav Halchenko's avatar Yaroslav Halchenko
Browse files

tune up testing against installed version

parent bfd70103
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,10 @@ python-install%:
python-test%: python-install%
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
: # Run unittests here against installed scikits.learn
export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/` MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \
python$* /usr/bin/nosetests -s scikits.learn \
$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/scikits/learn; \
python$* /usr/bin/nosetests --doctest-extension=rst doc/
export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`
export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build
cd build/; python$* /usr/bin/nosetests -s scikits.learn
cd build/; python$* /usr/bin/nosetests --doctest-extension=rst ../doc/
else
: # Skip unittests due to nocheck
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment