diff options
-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},
|