
Does anyone have a solution for writing unit tests with Boost Test that
run in multiple processes? I am using MPI, but I think the same problem
would appear in other multi-process situations. I need some way to
collect whether, e.g., BOOST_CHECK, has passed.
Here's a schematic view of the problem. I want my "example" test to fail
because should_be_true is false on process 1. What happens is that I get
success on process 0 and failure in process 1.
#define BOOST_TEST_MAIN
#include