From 4a1b0e682b869eb81792b25004831d712a67de52 Mon Sep 17 00:00:00 2001 From: Pietro Incardona Date: Mon, 27 May 2019 17:22:39 +0200 Subject: [PATCH] Induce crash --- src/Vector/tests/vector_dist_unit_test.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Vector/tests/vector_dist_unit_test.cpp b/src/Vector/tests/vector_dist_unit_test.cpp index a4780586..7aec5939 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] -- GitLab