From f239b2e7f330c8095297fd16993ad3851e7e5232 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 24 Feb 2003 15:21:13 -0500 Subject: [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)} --- test/testhdf5.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/testhdf5.h b/test/testhdf5.h index f89e1dc..96223be 100644 --- a/test/testhdf5.h +++ b/test/testhdf5.h @@ -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); -- cgit v0.12