From 1c73be5250a159e87abc32ea26a6a1f799bd31b8 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 12 Sep 2018 10:01:25 +0200 Subject: 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(+) create mode 100644 sci-libs/alglib/files/alglib-3.10.0-disable-minlm-test.patch (limited to 'sci-libs/alglib') 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 +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}, -- cgit v1.2.3-65-gdbad