(oops) Boost Test with multiple processes (MPI)

Sorry, I accidentally hit send too early...
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 on all processes.
Here's a simple example. 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. What I want is a way to make the
test fail on all processes.
#define BOOST_TEST_MAIN
#include
participants (1)
-
James Amundson