sci-libs/scotch: fix Test

Closes: https://bugs.gentoo.org/833789
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-05-31 21:36:08 +02:00
parent 690c69995e
commit 8ebf9e4ea5
3 changed files with 17 additions and 2 deletions
@@ -0,0 +1,11 @@
--- a/src/check/Makefile 2026-05-31 21:22:26.421017889 +0200
+++ b/src/check/Makefile 2026-05-31 21:22:57.352697002 +0200
@@ -368,7 +368,7 @@
check_scotch_graph_dump : test_scotch_graph_dump2
$(EXECS) ./test_scotch_graph_dump2 $(TMPDIR)/m16x16_b1.grf
- $(PROGDIFF) "data/bump_b1.grf" "$(TMPDIR)/bump_b1.grf"
+ $(PROGDIFF) "data/m16x16_b1.grf" "$(TMPDIR)/m16x16_b1.grf"
test_scotch_graph_dump2 : test_scotch_graph_dump2.c \
$(SCOTCHLIBDIR)/libscotch$(LIB)
+3 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,6 +25,8 @@ DEPEND="
mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-fixtest.patch )
static_to_shared() {
local libstatic=${1}; shift
local libname=$(basename ${libstatic%.a})
+3 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,6 +25,8 @@ DEPEND="
mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-7.0.1-fixtest.patch )
static_to_shared() {
local libstatic=${1}; shift
local libname=$(basename ${libstatic%.a})