commit: 81a9e5bc3fae689a5d0e3ae28c31791b546b2682
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 10:20:09 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 10:25:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81a9e5bc
sci-libs/scipy: Correct tests to not fail on warning
Github: scipy/scipy#5426
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
sci-libs/scipy/scipy-0.16.1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-libs/scipy/scipy-0.16.1.ebuild
b/sci-libs/scipy/scipy-0.16.1.ebuild
index de2289b..07d9730 100644
--- a/sci-libs/scipy/scipy-0.16.1.ebuild
+++ b/sci-libs/scipy/scipy-0.16.1.ebuild
@@ -119,9 +119,13 @@ python_test() {
"${PYTHON}" -c \
'import numpy as np; print("relaxed strides checking:",
np.ones((10,1),order="C").flags.f_contiguous)' \
|| die
+ # https://github.com/scipy/scipy/issues/5426
"${EPYTHON}" -c \
- "import scipy, sys; r = scipy.test('fast',verbose=2);
sys.exit(0 if r.wasSuccessful() else 1)" \
+ "import scipy, sys; r = scipy.test('fast', verbose=2,
raise_warnings='release'); sys.exit(0 if r.wasSuccessful() else 1)" \
|| die "Tests fail with ${EPYTHON}"
+# "${EPYTHON}" -c \
+# "import scipy, sys; r = scipy.test('fast',verbose=2);
sys.exit(0 if r.wasSuccessful() else 1)" \
+# || die "Tests fail with ${EPYTHON}"
}
python_install_all() {