* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/shuffile/
@ 2022-06-15 22:57 Alessandro Barbieri
0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2022-06-15 22:57 UTC (permalink / raw
To: gentoo-commits
commit: 3ce60c9188d13db1c9c83da95847a69cd74c7d42
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jun 15 22:53:18 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Jun 15 22:53:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ce60c91
dev-libs/shuffile: restrict tests
Closes: https://bugs.gentoo.org/784647
Closes: https://bugs.gentoo.org/852038
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-libs/shuffile/shuffile-0.1.0-r1.ebuild | 4 +++-
dev-libs/shuffile/shuffile-0.2.0.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-libs/shuffile/shuffile-0.1.0-r1.ebuild b/dev-libs/shuffile/shuffile-0.1.0-r1.ebuild
index 02b2dff1d..17a5d36b9 100644
--- a/dev-libs/shuffile/shuffile-0.1.0-r1.ebuild
+++ b/dev-libs/shuffile/shuffile-0.1.0-r1.ebuild
@@ -25,7 +25,9 @@ BDEPEND="
"
PATCHES=( "${FILESDIR}/${P}-no-static.patch" )
-RESTRICT="!test? ( test )"
+# tests require access to /dev/shm, thus root permission is needed
+# but mpirun refuse to run as root
+RESTRICT="test"
src_configure() {
mycmakeargs=(
diff --git a/dev-libs/shuffile/shuffile-0.2.0.ebuild b/dev-libs/shuffile/shuffile-0.2.0.ebuild
index 213612ce0..ba8e30f2f 100644
--- a/dev-libs/shuffile/shuffile-0.2.0.ebuild
+++ b/dev-libs/shuffile/shuffile-0.2.0.ebuild
@@ -22,7 +22,9 @@ RDEPEND="
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
-RESTRICT="!test? ( test )"
+# tests require access to /dev/shm, thus root permission is needed
+# but mpirun refuse to run as root
+RESTRICT="test"
src_configure() {
mycmakeargs=(
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-15 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-15 22:57 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/shuffile/ Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox