From d305f8170258f1d97d38eb72de3c0e899d979b02 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Wed, 27 Oct 2021 23:15:08 +0300 Subject: [PATCH] sys-cluster/opencoarrays: Fix MPI network testing. Re-enable tests. Add PROPERTIES="test_network" to enable network testing Signed-off-by: Sergey Torokhov --- .../opencoarrays/opencoarrays-2.9.2.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild index ab7092849b..eac668bef5 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild @@ -20,12 +20,12 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -#! Disable tests due for most versions of openmpi and mpich failed it with error: -#! "No network interfaces were found for out-of-band communications. -#! We require at least one available network for out-of-band messaging." -#! But tests run successfully with FEATURES="-network-sandbox" -#IUSE="test" -#RESTRICT="!test? ( test )" +# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: +# "No network interfaces were found for out-of-band communications. +# We require at least one available network for out-of-band messaging." +IUSE="test" +PROPERTIES="test_network" +RESTRICT="!test? ( test )" RDEPEND=" || ( >=sys-cluster/openmpi-1.10.7[fortran] >=sys-cluster/mpich-3.3[fortran] ) @@ -38,6 +38,6 @@ pkg_setup() { fortran-2_pkg_setup } -#src_test() { -# cmake_build test -#} +src_test() { + cmake_build test +}