public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/
Date: Fri, 15 Mar 2024 04:21:03 +0000 (UTC)	[thread overview]
Message-ID: <1710476442.3452a5d07e2f52b6d4a6a17316edde99ccc132cc.sam@gentoo> (raw)

commit:     3452a5d07e2f52b6d4a6a17316edde99ccc132cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 04:20:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 04:20:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3452a5d0

sci-libs/lapack: backport test summary fix

Closes: https://bugs.gentoo.org/924929
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../lapack/files/lapack-3.12.0-test-summary.patch   | 21 +++++++++++++++++++++
 sci-libs/lapack/lapack-3.12.0-r1.ebuild             |  1 +
 2 files changed, 22 insertions(+)

diff --git a/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch b/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
new file mode 100644
index 000000000000..1d2303cdb018
--- /dev/null
+++ b/sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/924929
+https://github.com/Reference-LAPACK/lapack/commit/a4298d5ff68047acfa44d6394ceb3a688a3b2534
+
+From 5b0687f429cf420629c0eeafba6a74a2564d4131 Mon Sep 17 00:00:00 2001
+From: Simon Maertens <simon@slmaertens.dev>
+Date: Fri, 1 Dec 2023 14:05:54 +0000
+Subject: [PATCH] Fixed search phrase for determining the amount of successful
+ tests
+
+--- a/lapack_testing.py
++++ b/lapack_testing.py
+@@ -136,7 +136,7 @@ def run_summary_test( f, cmdline, short_summary):
+         for line in pipe.readlines():
+             f.write(str(line))
+             words_in_line=line.split()
+-            if (line.find("run")!=-1):
++            if (line.find("run)")!=-1):
+ #                  print line
+                 whereisrun=words_in_line.index("run)")
+                 nb_test_run+=int(words_in_line[whereisrun-2])
+

diff --git a/sci-libs/lapack/lapack-3.12.0-r1.ebuild b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
index b1b9e9824637..743021f3426f 100644
--- a/sci-libs/lapack/lapack-3.12.0-r1.ebuild
+++ b/sci-libs/lapack/lapack-3.12.0-r1.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
 	# https://github.com/Reference-LAPACK/lapack/issues/990#issuecomment-1973258284
 	# https://bugs.gentoo.org/878891
 	"${FILESDIR}"/lapack-3.12.0-correct-64bit-interface.patch
+	"${FILESDIR}"/lapack-3.12.0-test-summary.patch
 )
 
 pkg_setup() {


             reply	other threads:[~2024-03-15  4:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  4:21 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-13  0:53 [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/files/, sci-libs/lapack/ Sam James
2021-02-06 21:29 Sam James
2020-09-18 22:56 Sam James

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=1710476442.3452a5d07e2f52b6d4a6a17316edde99ccc132cc.sam@gentoo \
    --to=sam@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