Skip to content

Commit

Permalink
Handle MPI producetion from drhook test. (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDavies2 authored Jun 11, 2024
1 parent e4a5467 commit 6c582c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_drhook_no_output.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 6c582c0

Please sign in to comment.