diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a4b00ef92d..0fa3385f08 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -166,7 +166,7 @@ if(ENABLE_MPI) NAME tiledarray/unit/run-np-${p} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${p} ${MPIEXEC_PREFLAGS} - $ --log_level=warning --show-progress ${${executable}_np_${p}_args} + $ --log_level=unit_scope ${${executable}_np_${p}_args} ${MPIEXEC_POSTFLAGS} ) set_tests_properties(tiledarray/unit/run-np-${p} diff --git a/tests/ta_test.cpp b/tests/ta_test.cpp index 8e2bc45705..f8ac27f1f8 100644 --- a/tests/ta_test.cpp +++ b/tests/ta_test.cpp @@ -45,6 +45,11 @@ GlobalFixture::GlobalFixture() { // to launch a debugger here or elsewhere: // Debugger::default_debugger()->debug("ready to run"); } + + if (world->rank() != 0) { + boost::unit_test::unit_test_log.set_threshold_level( + boost::unit_test::log_all_errors); + } } GlobalFixture::~GlobalFixture() {