[Python-modules-commits] r24311 - in packages/scipy/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Sat May 11 19:25:13 UTC 2013
Date: Saturday, May 11, 2013 @ 19:25:12
Author: jtaylor-guest
Revision: 24311
set HOME and TMPDIR to ADTTMP in tests
Modified:
packages/scipy/trunk/debian/rules
packages/scipy/trunk/debian/tests/python2
packages/scipy/trunk/debian/tests/python3
Modified: packages/scipy/trunk/debian/rules
===================================================================
--- packages/scipy/trunk/debian/rules 2013-05-11 19:25:08 UTC (rev 24310)
+++ packages/scipy/trunk/debian/rules 2013-05-11 19:25:12 UTC (rev 24311)
@@ -57,12 +57,12 @@
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
mkdir -p $(TMPDIR)
set -e && for pyvers in $(PY2VERS); do \
- HOME=$(TMPDIR) ADTTMP=$(TMPDIR) \
+ ADTTMP=$(TMPDIR) \
PYTHONPATH=$(BASE)/python-scipy/usr/lib/python$$pyvers/dist-packages/ \
PYS=python$$pyvers TESTMODE=fast $(BASE)/tests/python2; \
done
set -e && for pyvers in $(PY3VERS); do \
- HOME=$(TMPDIR) ADTTMP=$(TMPDIR) \
+ ADTTMP=$(TMPDIR) \
PYTHONPATH=$(BASE)/python3-scipy/usr/lib/python3/dist-packages/ \
PYS=python$$pyvers TESTMODE=fast $(BASE)/tests/python3; \
done
Modified: packages/scipy/trunk/debian/tests/python2
===================================================================
--- packages/scipy/trunk/debian/tests/python2 2013-05-11 19:25:08 UTC (rev 24310)
+++ packages/scipy/trunk/debian/tests/python2 2013-05-11 19:25:12 UTC (rev 24311)
@@ -4,6 +4,8 @@
PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
TESTMODE=${TESTMODE:-full}
TESTPKG=${TESTPKG:-scipy}
+export HOME=$ADTTMP
+export TMPDIR=$ADTTMP
cd "$ADTTMP"
#nosetest does not handle knowfailures
Modified: packages/scipy/trunk/debian/tests/python3
===================================================================
--- packages/scipy/trunk/debian/tests/python3 2013-05-11 19:25:08 UTC (rev 24310)
+++ packages/scipy/trunk/debian/tests/python3 2013-05-11 19:25:12 UTC (rev 24311)
@@ -4,6 +4,8 @@
PYS=${PYS:-"$(py3versions -r 2>/dev/null)"}
TESTMODE=${TESTMODE:-full}
TESTPKG=${TESTPKG:-scipy}
+export HOME=$ADTTMP
+export TMPDIR=$ADTTMP
cd "$ADTTMP"
#nosetest does not handle knowfailures
More information about the Python-modules-commits
mailing list