commit:     d305f8170258f1d97d38eb72de3c0e899d979b02
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Oct 27 20:15:08 2021 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Wed Oct 27 20:18:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d305f817

sys-cluster/opencoarrays: Fix MPI network testing. Re-enable tests.

Add PROPERTIES="test_network" to enable network testing

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 sys-cluster/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 ab7092849..eac668bef 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
+}

Reply via email to