mirror of
https://github.com/boostorg/mpi.git
synced 2026-01-19 04:22:10 +00:00
add test for wait_all on null request
This commit is contained in:
@@ -39,6 +39,7 @@ test-suite mpi
|
||||
[ mpi-test sendrecv_test : : : 1 4 7 48 ]
|
||||
[ mpi-test wait_any_test : : : 1 4 7 20 ]
|
||||
[ mpi-test wait_all_vector_test : : : 2 ]
|
||||
[ mpi-test wait_all_on_null : : : 1 2 ]
|
||||
[ mpi-test scan_test ]
|
||||
[ mpi-test scatter_test ]
|
||||
# Note: Microsoft MPI fails all skeleton-content tests
|
||||
|
||||
17
test/wait_all_on_null.cpp
Normal file
17
test/wait_all_on_null.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2020 Steffen Hirschmann
|
||||
|
||||
// Use, modification and distribution is subject to the Boost Software
|
||||
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/mpi.hpp>
|
||||
#include <boost/mpi/nonblocking.hpp>
|
||||
#include <vector>
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::mpi::environment env;
|
||||
std::vector<boost::mpi::request> req(1);
|
||||
boost::mpi::wait_all(req.begin(), req.end());
|
||||
}
|
||||
Reference in New Issue
Block a user