Skip to content

Commit

Permalink
Print error stream when cmake greptest fails to match error ref. (#4841)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored Sep 17, 2024
1 parent ca217e2 commit eeb94a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cmake/grepTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ if (TEST_ERRREF)
RESULT_VARIABLE TEST_ERRREF_RESULT
)
endif ()
message (FATAL_ERROR "Failed: The error output of ${TEST_PROGRAM} did not contain ${TEST_ERRREF}")
message (FATAL_ERROR "Failed: The error output of ${TEST_PROGRAM} did not contain '${TEST_ERRREF}'. Error output was: '${TEST_ERR_STREAM}'")
endif ()
endif ()
endif ()
Expand Down

0 comments on commit eeb94a8

Please sign in to comment.