mirror of
https://github.com/boostorg/mpi.git
synced 2026-01-19 04:22:10 +00:00
test the new environment::libray_version
This commit is contained in:
@@ -31,6 +31,12 @@ test_version(mpi::communicator const& comm) {
|
||||
}
|
||||
BOOST_CHECK(version.first == mpi_version);
|
||||
BOOST_CHECK(version.second == mpi_subversion);
|
||||
std::string lib_version = mpi::environment::library_version();
|
||||
#if (3 <= MPI_VERSION)
|
||||
BOOST_CHECK(lib_version.size() > 0);
|
||||
#else
|
||||
BOOST_CHECK(lib_version.size() == 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string
|
||||
|
||||
Reference in New Issue
Block a user