diff --git a/tests/test_drhook_no_output.cmake b/tests/test_drhook_no_output.cmake index 9efd557..4bdf0e7 100644 --- a/tests/test_drhook_no_output.cmake +++ b/tests/test_drhook_no_output.cmake @@ -29,7 +29,11 @@ function( run_command COMMAND ) set( error TRUE ) message("${stdout}") message("${stderr}") - message("Test failed. Executable should have no output") + if( $ENV{FIAT_TEST_IGNORE_MPI_OUTPUT} ) + set( error FALSE ) + else() + message("Test failed. Executable should have no output") + endif() endif() if( error )