diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-09-12 10:01:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-09-12 10:01:25 +0200 |
commit | 1c73be5250a159e87abc32ea26a6a1f799bd31b8 (patch) | |
tree | e6ede0b601227f279996a8629e31ac7ba4012d23 /sci-libs/alglib | |
parent | profiles: Update kde-plasma/plasma-desktop[appstream] mask message (diff) | |
download | gentoo-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
Diffstat (limited to 'sci-libs/alglib')
-rw-r--r-- | sci-libs/alglib/alglib-3.10.0-r1.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch | 16 |
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 71b8e121855a..13290e16e875 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 000000000000..fc2dfae6c012 --- /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},
|