libMesh / libmesh

libMesh github repository
http://libmesh.github.io
GNU Lesser General Public License v2.1
653 stars 286 forks source link

CPPUNIT_ASSERT_FOO aren't MPI-aware #1008

Open roystgnr opened 8 years ago

roystgnr commented 8 years ago

And it's a little confusing when our unit_tests report

OK (419 tests)

Shortly followed by

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 68343 RUNNING AT zappa.ices.utexas.edu
=   EXIT CODE: 1

We should make a wrapper macro that handles the "something succeeded on processor 0 but failed elsewhere" case.

jwpeterson commented 7 years ago

Something to keep in mind for #1307 as well.