summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-12 10:01:25 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-12 10:01:25 +0200
commit1c73be5250a159e87abc32ea26a6a1f799bd31b8 (patch)
treee6ede0b601227f279996a8629e31ac7ba4012d23
parentprofiles: Update kde-plasma/plasma-desktop[appstream] mask message (diff)
downloadgentoo-1c73be5250a159e87abc32ea26a6a1f799bd31b8.tar.gz
gentoo-1c73be5250a159e87abc32ea26a6a1f799bd31b8.tar.bz2
gentoo-1c73be5250a159e87abc32ea26a6a1f799bd31b8.zip
sci-libs/alglib: Disable failing test
Bug: https://bugs.gentoo.org/665504 Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r--sci-libs/alglib/alglib-3.10.0-r1.ebuild2
-rw-r--r--sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch16
2 files changed, 18 insertions, 0 deletions
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},