Skip to content

Commit

Permalink
conditionally disable unit tests
Browse files Browse the repository at this point in the history
tests may fail due to a bug in MPICH, has been fixed in MPICH 4.1.1
  • Loading branch information
rabauke committed Jul 29, 2023
1 parent b1eb1e5 commit 42775c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_communicator_gatherv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ BOOST_AUTO_TEST_CASE(gatherv) {
BOOST_TEST(gatherv_test<use_non_root_overload::yes>(1.0));
BOOST_TEST(gatherv_test<use_non_root_overload::yes>(tuple{1, 2.0}));

#if !defined MPICH || MPICH_NUMVERSION >= 40101000
BOOST_TEST(igatherv_test<use_non_root_overload::no>(1.0));
BOOST_TEST(igatherv_test<use_non_root_overload::no>(tuple{1, 2.0}));

BOOST_TEST(igatherv_test<use_non_root_overload::yes>(1.0));
BOOST_TEST(igatherv_test<use_non_root_overload::yes>(tuple{1, 2.0}));
#endif
}
2 changes: 2 additions & 0 deletions test/test_communicator_scatterv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ BOOST_AUTO_TEST_CASE(scatterv) {
BOOST_TEST(scatterv_test<use_non_root_overload::yes>(1.0));
BOOST_TEST(scatterv_test<use_non_root_overload::yes>(tuple{1, 2.0}));

#if !defined MPICH || MPICH_NUMVERSION >= 40101000
BOOST_TEST(iscatterv_test<use_non_root_overload::no>(1.0));
BOOST_TEST(iscatterv_test<use_non_root_overload::no>(tuple{1, 2.0}));

BOOST_TEST(iscatterv_test<use_non_root_overload::yes>(1.0));
BOOST_TEST(iscatterv_test<use_non_root_overload::yes>(tuple{1, 2.0}));
#endif
}

0 comments on commit 42775c3

Please sign in to comment.