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 5029f87
Showing 1 changed file with 2 additions and 0 deletions.
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 >= MPICH_CALC_VERSION(4, 1, 1, 0, 0)) || !defined MPICH
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 5029f87

Please sign in to comment.