* [gentoo-commits] repo/gentoo:master commit in: sci-libs/alglib/files/, sci-libs/alglib/
@ 2018-09-12 8:08 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-09-12 8:08 UTC (permalink / raw
To: gentoo-commits
commit: 1c73be5250a159e87abc32ea26a6a1f799bd31b8
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 12 08:01:25 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 12 08:01:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c73be52
sci-libs/alglib: Disable failing test
Bug: https://bugs.gentoo.org/665504
Package-Manager: Portage-2.3.49, Repoman-2.3.10
sci-libs/alglib/alglib-3.10.0-r1.ebuild | 2 ++
.../alglib/files/alglib-3.10.0-disable-minlm-test.patch | 16 ++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/sci-libs/alglib/alglib-3.10.0-r1.ebuild b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
index 71b8e121855..13290e16e87 100644
--- a/sci-libs/alglib/alglib-3.10.0-r1.ebuild
+++ b/sci-libs/alglib/alglib-3.10.0-r1.ebuild
@@ -16,6 +16,8 @@ IUSE="test"
S="${WORKDIR}"/cpp/
+PATCHES=( "${FILESDIR}/${P}-disable-minlm-test.patch" )
+
src_prepare() {
cp "${FILESDIR}"/CMakeLists.txt-3.8.2 CMakeLists.txt || die
cmake-utils_src_prepare
diff --git a/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch b/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch
new file mode 100644
index 00000000000..fc2dfae6c01
--- /dev/null
+++ b/sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch
@@ -0,0 +1,16 @@
+Description: disable minlm test, because it fails sometimes on some platforms.
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2015-05-29
+
+Index: cpp/tests/test_c.cpp
+===================================================================
+--- cpp.orig/tests/test_c.cpp
++++ cpp/tests/test_c.cpp
+@@ -93354,7 +93354,6 @@ _s_testrecord unittests[] =
+ {"spline1d",testspline1d,_pexec_testspline1d},
+ {"normestimator",testnormestimator,_pexec_testnormestimator},
+ {"minqp",testminqp,_pexec_testminqp},
+- {"minlm",testminlm,_pexec_testminlm},
+ {"lsfit",testlsfit,_pexec_testlsfit},
+ {"parametric",testparametric,_pexec_testparametric},
+ {"linlsqr",testlinlsqr,_pexec_testlinlsqr},
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-09-12 8:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-12 8:08 [gentoo-commits] repo/gentoo:master commit in: sci-libs/alglib/files/, sci-libs/alglib/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox