summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/h5cpputil.cpp')
-rw-r--r--c++/test/h5cpputil.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp
index 4f21c9a..d3f531b 100644
--- a/c++/test/h5cpputil.cpp
+++ b/c++/test/h5cpputil.cpp
@@ -94,12 +94,13 @@ int test_report( int nerrors, const string& testname )
*
*-------------------------------------------------------------------------
*/
-void issue_fail_msg(const char* where, int line, const char* file_name)
+void issue_fail_msg(const char* where, int line, const char* file_name,
+ const char* message)
{
if (GetTestVerbosity()>=VERBO_HI)
{
- cerr << " Call to routine: " << where << " at line " << line
- << " in " << file_name << "has failed" << endl;
+ cerr << "--> From " << where << " at line " << line
+ << " in " << file_name << " - " << message << endl << endl;
}
}