From 5eee643d4822da2d642bb7162f4892a339ae15d7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko <yoh@onerussian.com> Date: Thu, 7 Oct 2010 16:35:26 -0400 Subject: [PATCH] tune up testing against installed version --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 0a2975dd29..34881f5cc3 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- GitLab