diff --git a/src/Vector/tests/vector_dist_unit_test.cpp b/src/Vector/tests/vector_dist_unit_test.cpp index a4780586f63e0adc0cedaae6e7a1908d5700e1be..7aec59399f438259e6ba2b71be8516523b3f4679 100644 --- a/src/Vector/tests/vector_dist_unit_test.cpp +++ b/src/Vector/tests/vector_dist_unit_test.cpp @@ -338,6 +338,16 @@ BOOST_AUTO_TEST_CASE( vector_dist_iterator_test_use_2d ) ++it; } + ///////// induce crash // + + if (v_cl.rank() == 0) + { + std::cout << "CRASH" << std::endl; + return; + } + + // + vd.map(); //! [Create a vector of random elements on each processor 2D]