mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r6435] Purpose:
Code cleanup Description: Added more information to information printed for test failure. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}
This commit is contained in:
parent
0ba32beed6
commit
f239b2e7f3
@ -82,8 +82,8 @@ extern int Verbosity;
|
||||
"%ld \n", where, (int)__LINE__, __FILE__, (long)x); \
|
||||
} \
|
||||
if (x != val) { \
|
||||
print_func("*** UNEXPECTED VALUE from %s is %ld at line %4d " \
|
||||
"in %s\n", where, (long)x, (int)__LINE__, __FILE__); \
|
||||
print_func("*** UNEXPECTED VALUE from %s should be %ld, but is %ld at line %4d " \
|
||||
"in %s\n", where, (long)val, (long)x, (int)__LINE__, __FILE__); \
|
||||
H5Eprint (stdout); \
|
||||
num_errs++; \
|
||||
} \
|
||||
@ -122,6 +122,7 @@ int print_func(const char *,...);
|
||||
void test_metadata(void);
|
||||
void test_tbbt(void);
|
||||
void test_tst(void);
|
||||
void test_heap(void);
|
||||
void test_refstr(void);
|
||||
void test_file(void);
|
||||
void test_h5t(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user