mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/lapack: backport test summary fix
Closes: https://bugs.gentoo.org/924929 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
21
sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
Normal file
21
sci-libs/lapack/files/lapack-3.12.0-test-summary.patch
Normal file
@@ -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])
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user