summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-12-20 20:36:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-12-20 20:36:08 (GMT)
commit6878261a432d9cc8c705aa6c4f85450b29b37150 (patch)
tree765a4e072ef63bdda33320ca2c16938c5fa7a06f /test/h5test.c
parent79a96581a64a4b2f8a6679100a7f369bb963ab94 (diff)
downloadhdf5-6878261a432d9cc8c705aa6c4f85450b29b37150.zip
hdf5-6878261a432d9cc8c705aa6c4f85450b29b37150.tar.gz
hdf5-6878261a432d9cc8c705aa6c4f85450b29b37150.tar.bz2
[svn-r14353] Description:
- Add hash value for skip list string types, to reduce # of string comparisons. - Fixed bug with metadata/small data block aggregator adding size == 0 block into file free space list. - Refactored metadata/small data block aggregator code into single set of common routines. - Changed block aggregator code to be smarter about releasing space in the 'other' block when the 'other' block has aggregated enough data. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index db56860..5424717 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -210,13 +210,24 @@ h5_cleanup(const char *base_name[], hid_t fapl)
void
h5_reset(void)
{
- char filename[1024];
-
HDfflush(stdout);
HDfflush(stderr);
H5close();
H5Eset_auto2(H5E_DEFAULT, h5_errors, NULL);
+/*
+ * I commented this chunk of code out because it's not clear what diagnostics
+ * were being output and under what circumstances, and creating this file
+ * is throwing off debugging some of the tests. I can't see any _direct_
+ * harm in keeping this section of code, but I can't see any _direct_
+ * benefit right now either. If we figure out under which circumstances
+ * diagnostics are being output, we should enable this behavior based on
+ * appropriate configure flags/macros. QAK - 2007/12/20
+ */
+#ifdef OLD_WAY
+{
+ char filename[1024];
+
/*
* Cause the library to emit some diagnostics early so they don't
* interfere with other formatted output.
@@ -231,6 +242,8 @@ h5_reset(void)
HDunlink(filename);
} H5E_END_TRY;
}
+#endif /* OLD_WAY */
+}
/*-------------------------------------------------------------------------