public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/alglib/files/, sci-libs/alglib/
Date: Wed, 12 Sep 2018 08:08:45 +0000 (UTC)	[thread overview]
Message-ID: <1536739285.1c73be5250a159e87abc32ea26a6a1f799bd31b8.asturm@gentoo> (raw)

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


                 reply	other threads:[~2018-09-12  8:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536739285.1c73be5250a159e87abc32ea26a6a1f799bd31b8.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox