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@yandex.ru>
This commit is contained in:
Sergey Torokhov
2021-10-27 23:15:08 +03:00
parent 0d846a3026
commit d305f81702

View File

@@ -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
}