[svn-r24188] Purpose: Fixed bug introduced in r24163

Description:
    - The failure in daily test was caused by missing initialization of member
    "id" in a few constructors.  This is now fixed.
    - Added two overloaded H5Location::setComment
    - Improved some error reporting in H5Location
    - Improved error reporting in tests
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/64 2.6 (koala)/PGI compilers
This commit is contained in:
Binh-Minh Ribler
2013-09-22 19:39:44 -05:00
parent f9a758f442
commit f8fb310610
21 changed files with 997 additions and 561 deletions

View File

@@ -106,6 +106,30 @@ void issue_fail_msg(const char* where, int line, const char* file_name,
}
}
/*-------------------------------------------------------------------------
* Function: issue_fail_msg
*
* Purpose: Displays that a function has failed with its location.
*
* Return: None
*
* Programmer: Binh-Minh Ribler (copied and modified macro CHECK from C)
* Monday, December 20, 2004
*
*-------------------------------------------------------------------------
*/
void issue_fail_msg(const char* where, int line, const char* file_name,
const char* func_name, const char* message)
{
//if (GetTestVerbosity()>=VERBO_HI)
{
cerr << endl;
cerr << ">>> FAILED in " << where << ": " << func_name << endl <<
" at line " << line << " in " << file_name << endl <<
" C library detail: " << message << endl << endl;
}
}
/*-------------------------------------------------------------------------
* Function: check_values
*