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

Use JOBLIB_MULTIPROCESSING=0 to suppress use of multiprocessing by joblib...

Use JOBLIB_MULTIPROCESSING=0 to suppress use of multiprocessing by joblib while running tests to prevent failures in chroots without /dev/shm mounted
parent 4bb175d8
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,11 @@ scikit-learn (0.7.1.dfsg-3) unstable; urgency=low ...@@ -2,8 +2,11 @@ scikit-learn (0.7.1.dfsg-3) unstable; urgency=low
* Do not build documentation in -a mode, to prevent timeouts on buildd * Do not build documentation in -a mode, to prevent timeouts on buildd
servers servers
* Use JOBLIB_MULTIPROCESSING=0 to suppress use of multiprocessing by
joblib while running tests to prevent failures in chroots without
/dev/shm mounted
-- Yaroslav Halchenko <debian@onerussian.com> Wed, 13 Apr 2011 16:27:14 -0400 -- Yaroslav Halchenko <debian@onerussian.com> Wed, 13 Apr 2011 17:18:46 -0400
scikit-learn (0.7.1.dfsg-2) unstable; urgency=low scikit-learn (0.7.1.dfsg-2) unstable; urgency=low
......
...@@ -28,6 +28,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ...@@ -28,6 +28,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
: # Run unittests here against installed scikits.learn : # Run unittests here against installed scikits.learn
export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`; \ export PYTHONPATH=`/bin/ls -d $$PWD/$(PACKAGE_ROOT_DIR)/usr/lib/python$*/*/`; \
export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \ export MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \
export JOBLIB_MULTIPROCESSING=0; \
cd build/; python$* /usr/bin/nosetests -s scikits.learn; \ cd build/; python$* /usr/bin/nosetests -s scikits.learn; \
python$* /usr/bin/nosetests --with-doctest --doctest-extension=rst ../doc/ python$* /usr/bin/nosetests --with-doctest --doctest-extension=rst ../doc/
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment