1 |
commit: d305f8170258f1d97d38eb72de3c0e899d979b02 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Wed Oct 27 20:15:08 2021 +0000 |
4 |
Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
5 |
CommitDate: Wed Oct 27 20:18:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d305f817 |
7 |
|
8 |
sys-cluster/opencoarrays: Fix MPI network testing. Re-enable tests. |
9 |
|
10 |
Add PROPERTIES="test_network" to enable network testing |
11 |
|
12 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
13 |
|
14 |
sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild | 18 +++++++++--------- |
15 |
1 file changed, 9 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild |
18 |
index ab7092849..eac668bef 100644 |
19 |
--- a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild |
20 |
+++ b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild |
21 |
@@ -20,12 +20,12 @@ LICENSE="BSD" |
22 |
SLOT="0" |
23 |
KEYWORDS="~amd64 ~x86" |
24 |
|
25 |
-#! Disable tests due for most versions of openmpi and mpich failed it with error: |
26 |
-#! "No network interfaces were found for out-of-band communications. |
27 |
-#! We require at least one available network for out-of-band messaging." |
28 |
-#! But tests run successfully with FEATURES="-network-sandbox" |
29 |
-#IUSE="test" |
30 |
-#RESTRICT="!test? ( test )" |
31 |
+# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: |
32 |
+# "No network interfaces were found for out-of-band communications. |
33 |
+# We require at least one available network for out-of-band messaging." |
34 |
+IUSE="test" |
35 |
+PROPERTIES="test_network" |
36 |
+RESTRICT="!test? ( test )" |
37 |
|
38 |
RDEPEND=" |
39 |
|| ( >=sys-cluster/openmpi-1.10.7[fortran] >=sys-cluster/mpich-3.3[fortran] ) |
40 |
@@ -38,6 +38,6 @@ pkg_setup() { |
41 |
fortran-2_pkg_setup |
42 |
} |
43 |
|
44 |
-#src_test() { |
45 |
-# cmake_build test |
46 |
-#} |
47 |
+src_test() { |
48 |
+ cmake_build test |
49 |
+} |