2003-04-01 01:59:04 +08:00
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2007-02-07 22:56:24 +08:00
|
|
|
* Copyright by The HDF Group. *
|
2003-04-01 01:59:04 +08:00
|
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
|
|
* All rights reserved. *
|
|
|
|
* *
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
2017-04-18 03:32:16 +08:00
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
|
|
|
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
|
|
|
* If you do not have access to either file, you may request a copy from *
|
|
|
|
* help@hdfgroup.org. *
|
2003-04-01 01:59:04 +08:00
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
1997-07-31 05:17:56 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This header file contains information required for testing the HDF5 library.
|
|
|
|
*/
|
|
|
|
|
2004-01-07 01:53:13 +08:00
|
|
|
#ifndef TESTHDF5_H
|
|
|
|
#define TESTHDF5_H
|
1997-07-31 05:17:56 +08:00
|
|
|
|
1997-08-16 00:53:11 +08:00
|
|
|
/*
|
|
|
|
* Include required headers. This file tests internal library functions,
|
|
|
|
* so we include the private headers here.
|
|
|
|
*/
|
2001-04-04 02:09:16 +08:00
|
|
|
#include "H5private.h"
|
2010-01-28 06:03:28 +08:00
|
|
|
#include "H5Eprivate.h"
|
1997-07-31 05:17:56 +08:00
|
|
|
|
2004-01-07 01:53:13 +08:00
|
|
|
/* Include generic testing header also */
|
|
|
|
#include "h5test.h"
|
|
|
|
|
1997-07-31 05:17:56 +08:00
|
|
|
/* Use %ld to print the value because long should cover most cases. */
|
|
|
|
/* Used to make certain a return value _is_not_ a value */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define CHECK(ret, val, where) do { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d " \
|
|
|
|
"in %s returned %ld \n", \
|
|
|
|
where, (int)__LINE__, __FILE__, \
|
|
|
|
(long)(ret)); \
|
|
|
|
} \
|
|
|
|
if ((ret) == (val)) { \
|
|
|
|
TestErrPrintf("*** UNEXPECTED RETURN from %s is %ld at line %4d " \
|
|
|
|
"in %s\n", where, (long)(ret), (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2003-09-25 03:26:50 +08:00
|
|
|
} while(0)
|
|
|
|
|
2017-11-28 00:57:26 +08:00
|
|
|
#define CHECK_I(ret,where) { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned %ld\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__, (long)(ret)); \
|
|
|
|
} \
|
|
|
|
if ((ret)<0) { \
|
|
|
|
TestErrPrintf ("*** UNEXPECTED RETURN from %s is %ld line %4d in %s\n", \
|
|
|
|
(where), (long)(ret), (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2003-09-25 03:26:50 +08:00
|
|
|
}
|
|
|
|
|
2017-11-27 10:13:18 +08:00
|
|
|
/* Check that a pointer is valid (i.e.: not NULL) */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define CHECK_PTR(ret,where) { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__, (ret)); \
|
|
|
|
} \
|
|
|
|
if (!(ret)) { \
|
|
|
|
TestErrPrintf ("*** UNEXPECTED RETURN from %s is NULL line %4d in %s\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2003-09-25 03:26:50 +08:00
|
|
|
}
|
|
|
|
|
2017-11-28 00:57:26 +08:00
|
|
|
/* Check that a pointer is NULL */
|
|
|
|
#define CHECK_PTR_NULL(ret,where) { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__, (ret)); \
|
|
|
|
} \
|
|
|
|
if (ret) { \
|
|
|
|
TestErrPrintf ("*** UNEXPECTED RETURN from %s is not NULL line %4d in %s\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Check that two pointers are equal */
|
|
|
|
#define CHECK_PTR_EQ(ret, val, where) { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned %p\n", \
|
|
|
|
(where), (int)__LINE__, __FILE__, (ret)); \
|
|
|
|
} \
|
|
|
|
if (ret != val) { \
|
|
|
|
TestErrPrintf ("*** UNEXPECTED RETURN from %s: returned value of %p is not equal to %p line %4d in %s\n", \
|
2017-11-28 01:11:53 +08:00
|
|
|
(where), (void *)(ret), (void *)(val), (int)__LINE__, __FILE__); \
|
2017-11-28 00:57:26 +08:00
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2015-03-09 08:41:54 +08:00
|
|
|
}
|
|
|
|
|
2003-09-25 03:26:50 +08:00
|
|
|
/* Used to make certain a return value _is_ a value */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define VERIFY(_x, _val, where) do { \
|
|
|
|
long __x = (long)_x, __val = (long)_val; \
|
|
|
|
if(VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s had value " \
|
|
|
|
"%ld \n", (where), (int)__LINE__, __FILE__, __x); \
|
|
|
|
} \
|
|
|
|
if((__x) != (__val)) { \
|
|
|
|
TestErrPrintf("*** UNEXPECTED VALUE from %s should be %ld, but is %ld at line %4d " \
|
|
|
|
"in %s\n", (where), __val, __x, (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2003-09-25 03:26:50 +08:00
|
|
|
} while(0)
|
|
|
|
|
[svn-r17461] Description:
Fix a few more problems when the user block is not aligned properly.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.8 (amazon) in debug mode
Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2009-09-11 03:02:40 +08:00
|
|
|
/* Used to make certain a (non-'long' type's) return value _is_ a value */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define VERIFY_TYPE(_x, _val, _type, _format, where) do { \
|
|
|
|
_type __x = (_type)_x, __val = (_type)_val; \
|
|
|
|
if(VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s had value " \
|
|
|
|
_format " \n", (where), (int)__LINE__, __FILE__, __x); \
|
|
|
|
} \
|
|
|
|
if((__x) != (__val)) { \
|
|
|
|
TestErrPrintf("*** UNEXPECTED VALUE from %s should be " _format ", but is " _format " at line %4d " \
|
|
|
|
"in %s\n", (where), __val, __x, (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
[svn-r17461] Description:
Fix a few more problems when the user block is not aligned properly.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.5.8 (amazon) in debug mode
Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
2009-09-11 03:02:40 +08:00
|
|
|
} while(0)
|
|
|
|
|
2005-07-21 22:48:26 +08:00
|
|
|
/* Used to make certain a string return value _is_ a value */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define VERIFY_STR(x, val, where) do { \
|
|
|
|
if (VERBOSE_HI) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s had value " \
|
|
|
|
"%s \n", (where), (int)__LINE__, __FILE__, x); \
|
|
|
|
} \
|
|
|
|
if (HDstrcmp(x, val)) { \
|
|
|
|
TestErrPrintf("*** UNEXPECTED VALUE from %s should be %s, but is %s at line %4d " \
|
|
|
|
"in %s\n", where, val, x, (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2005-07-21 22:48:26 +08:00
|
|
|
} while(0)
|
|
|
|
|
2003-09-25 03:26:50 +08:00
|
|
|
/* Used to document process through a test and to check for errors */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define RESULT(ret,func) do { \
|
|
|
|
if (VERBOSE_MED) { \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned " \
|
|
|
|
"%ld\n", func, (int)__LINE__, __FILE__, (long)(ret)); \
|
|
|
|
} \
|
|
|
|
if (VERBOSE_HI) \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
if ((ret) == FAIL) { \
|
|
|
|
TestErrPrintf("*** UNEXPECTED RETURN from %s is %ld at line %4d " \
|
|
|
|
"in %s\n", func, (long)(ret), (int)__LINE__, __FILE__); \
|
|
|
|
H5Eprint2(H5E_DEFAULT, stdout); \
|
|
|
|
} \
|
2003-09-25 03:26:50 +08:00
|
|
|
} while(0)
|
|
|
|
|
1997-07-31 05:17:56 +08:00
|
|
|
/* Used to document process through a test */
|
2012-09-14 01:08:01 +08:00
|
|
|
#if defined(H5_HAVE_PARALLEL) && defined(H5_PARALLEL_TEST)
|
2017-11-28 00:57:26 +08:00
|
|
|
#define MESSAGE(V,A) { \
|
|
|
|
int mpi_rank; \
|
|
|
|
\
|
|
|
|
MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank); \
|
|
|
|
if(mpi_rank == 0 && HDGetTestVerbosity() > (V)) \
|
|
|
|
print_func A ; \
|
2012-09-14 01:08:01 +08:00
|
|
|
}
|
|
|
|
#else /* H5_HAVE_PARALLEL */
|
|
|
|
#define MESSAGE(V,A) {if (HDGetTestVerbosity() > (V)) print_func A;}
|
|
|
|
#endif /* H5_HAVE_PARALLEL */
|
1997-07-31 05:17:56 +08:00
|
|
|
|
2010-02-10 06:32:28 +08:00
|
|
|
/* Used to indicate an error that is complex to check for */
|
2017-11-28 00:57:26 +08:00
|
|
|
#define ERROR(where) do { \
|
|
|
|
if(VERBOSE_HI) \
|
|
|
|
print_func(" Call to routine: %15s at line %4d in %s returned " \
|
|
|
|
"invalid result\n", where, (int)__LINE__, __FILE__); \
|
|
|
|
TestErrPrintf("*** UNEXPECTED RESULT from %s at line %4d in %s\n", \
|
|
|
|
where, (int)__LINE__, __FILE__); \
|
2010-02-10 06:32:28 +08:00
|
|
|
} while(0)
|
|
|
|
|
1997-07-31 05:17:56 +08:00
|
|
|
/* definitions for command strings */
|
1998-01-17 06:23:43 +08:00
|
|
|
#define VERBOSITY_STR "Verbosity"
|
|
|
|
#define SKIP_STR "Skip"
|
|
|
|
#define TEST_STR "Test"
|
|
|
|
#define CLEAN_STR "Cleanup"
|
1997-07-31 05:17:56 +08:00
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
1997-07-31 05:17:56 +08:00
|
|
|
/* Prototypes for the test routines */
|
1998-01-17 06:23:43 +08:00
|
|
|
void test_metadata(void);
|
2006-08-22 07:27:11 +08:00
|
|
|
void test_checksum(void);
|
[svn-r6252] Purpose:
Lots of performance improvements & a couple new internal API interfaces.
Description:
Performance Improvements:
- Cached file offset & length sizes in shared file struct, to avoid
constantly looking them up in the FCPL.
- Generic property improvements:
- Added "revision" number to generic property classes to speed
up comparisons.
- Changed method of storing properties from using a hash-table
to the TBBT routines in the library.
- Share the propery names between classes and the lists derived
from them.
- Removed redundant 'def_value' buffer from each property.
- Switching code to use a "copy on write" strategy for
properties in each list, where the properties in each list
are shared with the properties in the class, until a
property's value is changed in a list.
- Fixed error in layout code which was allocating too many buffers.
- Redefined public macros of the form (H5open()/H5check, <variable>)
internally to only be (<variable>), avoiding innumerable useless
calls to H5open() and H5check_version().
- Reuse already zeroed buffers in H5F_contig_fill instead of
constantly re-zeroing them.
- Don't write fill values if writing entire dataset.
- Use gettimeofday() system call instead of time() system when
checking the modification time of a dataset.
- Added reference counted string API and use it for tracking the
names of objects opening in a file (for the ID->name code).
- Removed redundant H5P_get() calls in B-tree routines.
- Redefine H5T datatype macros internally to the library, to avoid
calling H5check redundantly.
- Keep dataspace information for dataset locally instead of reading
from disk each time. Added new module to track open objects
in a file, to allow this (which will be useful eventually for
some FPH5 metadata caching issues).
- Remove H5AC_find macro which was inlining metadata cache lookups,
and call function instead.
- Remove redundant memset() calls from H5G_namei() routine.
- Remove redundant checking of object type when locating objects
in metadata cache and rely on the address only.
- Create default dataset object to use when default dataset creation
property list is used to create datasets, bypassing querying
for all the property list values.
- Use default I/O vector size when performing raw data with the
default dataset transfer property list, instead of querying for
I/O vector size.
- Remove H5P_DEFAULT internally to the library, replacing it with
more specific default property list based on the type of
property list needed.
- Remove redundant memset() calls in object header message (H5O*)
routines.
- Remove redunant memset() calls in data I/O routines.
- Split free-list allocation routines into malloc() and calloc()-
like routines, instead of one combined routine.
- Remove lots of indirection in H5O*() routines.
- Simplify metadata cache entry comparison routine (used when
flushing entire cache out).
- Only enable metadata cache statistics when H5AC_DEBUG is turned
on, instead of always tracking them.
- Simplify address comparison macro (H5F_addr_eq).
- Remove redundant metadata cache entry protections during dataset
creation by protecting the object header once and making all
the modifications necessary for the dataset creation before
unprotecting it.
- Reduce # of "number of element in extent" computations performed
by computing and storing the value during dataspace creation.
- Simplify checking for group location's file information, when file
has not been involving in file-mounting operations.
- Use binary encoding for modification time, instead of ASCII.
- Hoist H5HL_peek calls (to get information in a local heap)
out of loops in many group routine.
- Use static variable for iterators of selections, instead of
dynamically allocation them each time.
- Lookup & insert new entries in one step, avoiding traversing
group's B-tree twice.
- Fixed memory leak in H5Gget_objname_idx() routine (tangential to
performance improvements, but fixed along the way).
- Use free-list for reference counted strings.
- Don't bother copying object names into cached group entries,
since they are re-created when an object is opened.
The benchmark I used to measure these results created several thousand
small (2K) datasets in a file and wrote out the data for them. This is
Elena's "regular.c" benchmark.
These changes resulted in approximately ~4.3x speedup of the
development branch when compared to the previous code in the
development branch and ~1.4x speedup compared to the release
branch.
Additionally, these changes reduce the total memory used (code and
data) by the development branch by ~800KB, bringing the development
branch back into the same ballpark as the release branch.
I'll send out a more detailed description of the benchmark results
as a followup note.
New internal API routines:
Added "reference counted strings" API for tracking strings that get
used by multiple owners without duplicating the strings.
Added "ternary search tree" API for text->object mappings.
Platforms tested:
Tested h5committest {arabica (fortran), eirene (fortran, C++)
modi4 (parallel, fortran)}
Other platforms/configurations tested?
FreeBSD 4.7 (sleipnir) serial & parallel
Solaris 2.6 (baldric) serial
2003-01-10 01:20:03 +08:00
|
|
|
void test_tst(void);
|
2003-02-25 04:21:13 +08:00
|
|
|
void test_heap(void);
|
[svn-r6252] Purpose:
Lots of performance improvements & a couple new internal API interfaces.
Description:
Performance Improvements:
- Cached file offset & length sizes in shared file struct, to avoid
constantly looking them up in the FCPL.
- Generic property improvements:
- Added "revision" number to generic property classes to speed
up comparisons.
- Changed method of storing properties from using a hash-table
to the TBBT routines in the library.
- Share the propery names between classes and the lists derived
from them.
- Removed redundant 'def_value' buffer from each property.
- Switching code to use a "copy on write" strategy for
properties in each list, where the properties in each list
are shared with the properties in the class, until a
property's value is changed in a list.
- Fixed error in layout code which was allocating too many buffers.
- Redefined public macros of the form (H5open()/H5check, <variable>)
internally to only be (<variable>), avoiding innumerable useless
calls to H5open() and H5check_version().
- Reuse already zeroed buffers in H5F_contig_fill instead of
constantly re-zeroing them.
- Don't write fill values if writing entire dataset.
- Use gettimeofday() system call instead of time() system when
checking the modification time of a dataset.
- Added reference counted string API and use it for tracking the
names of objects opening in a file (for the ID->name code).
- Removed redundant H5P_get() calls in B-tree routines.
- Redefine H5T datatype macros internally to the library, to avoid
calling H5check redundantly.
- Keep dataspace information for dataset locally instead of reading
from disk each time. Added new module to track open objects
in a file, to allow this (which will be useful eventually for
some FPH5 metadata caching issues).
- Remove H5AC_find macro which was inlining metadata cache lookups,
and call function instead.
- Remove redundant memset() calls from H5G_namei() routine.
- Remove redundant checking of object type when locating objects
in metadata cache and rely on the address only.
- Create default dataset object to use when default dataset creation
property list is used to create datasets, bypassing querying
for all the property list values.
- Use default I/O vector size when performing raw data with the
default dataset transfer property list, instead of querying for
I/O vector size.
- Remove H5P_DEFAULT internally to the library, replacing it with
more specific default property list based on the type of
property list needed.
- Remove redundant memset() calls in object header message (H5O*)
routines.
- Remove redunant memset() calls in data I/O routines.
- Split free-list allocation routines into malloc() and calloc()-
like routines, instead of one combined routine.
- Remove lots of indirection in H5O*() routines.
- Simplify metadata cache entry comparison routine (used when
flushing entire cache out).
- Only enable metadata cache statistics when H5AC_DEBUG is turned
on, instead of always tracking them.
- Simplify address comparison macro (H5F_addr_eq).
- Remove redundant metadata cache entry protections during dataset
creation by protecting the object header once and making all
the modifications necessary for the dataset creation before
unprotecting it.
- Reduce # of "number of element in extent" computations performed
by computing and storing the value during dataspace creation.
- Simplify checking for group location's file information, when file
has not been involving in file-mounting operations.
- Use binary encoding for modification time, instead of ASCII.
- Hoist H5HL_peek calls (to get information in a local heap)
out of loops in many group routine.
- Use static variable for iterators of selections, instead of
dynamically allocation them each time.
- Lookup & insert new entries in one step, avoiding traversing
group's B-tree twice.
- Fixed memory leak in H5Gget_objname_idx() routine (tangential to
performance improvements, but fixed along the way).
- Use free-list for reference counted strings.
- Don't bother copying object names into cached group entries,
since they are re-created when an object is opened.
The benchmark I used to measure these results created several thousand
small (2K) datasets in a file and wrote out the data for them. This is
Elena's "regular.c" benchmark.
These changes resulted in approximately ~4.3x speedup of the
development branch when compared to the previous code in the
development branch and ~1.4x speedup compared to the release
branch.
Additionally, these changes reduce the total memory used (code and
data) by the development branch by ~800KB, bringing the development
branch back into the same ballpark as the release branch.
I'll send out a more detailed description of the benchmark results
as a followup note.
New internal API routines:
Added "reference counted strings" API for tracking strings that get
used by multiple owners without duplicating the strings.
Added "ternary search tree" API for text->object mappings.
Platforms tested:
Tested h5committest {arabica (fortran), eirene (fortran, C++)
modi4 (parallel, fortran)}
Other platforms/configurations tested?
FreeBSD 4.7 (sleipnir) serial & parallel
Solaris 2.6 (baldric) serial
2003-01-10 01:20:03 +08:00
|
|
|
void test_refstr(void);
|
1998-01-17 06:23:43 +08:00
|
|
|
void test_file(void);
|
2006-08-03 07:41:53 +08:00
|
|
|
void test_h5o(void);
|
1998-01-17 06:23:43 +08:00
|
|
|
void test_h5t(void);
|
1998-04-29 06:33:07 +08:00
|
|
|
void test_h5s(void);
|
2007-12-21 05:09:58 +08:00
|
|
|
void test_coords(void);
|
1998-01-17 06:23:43 +08:00
|
|
|
void test_h5d(void);
|
1998-04-24 06:24:52 +08:00
|
|
|
void test_attr(void);
|
1998-07-15 05:14:12 +08:00
|
|
|
void test_select(void);
|
2000-10-20 00:42:33 +08:00
|
|
|
void test_time(void);
|
1998-10-14 05:30:49 +08:00
|
|
|
void test_reference(void);
|
1999-06-12 06:05:04 +08:00
|
|
|
void test_vltypes(void);
|
1999-09-29 08:30:47 +08:00
|
|
|
void test_vlstrings(void);
|
2000-04-06 04:51:44 +08:00
|
|
|
void test_iterate(void);
|
2000-11-10 05:47:59 +08:00
|
|
|
void test_array(void);
|
2000-11-12 08:10:08 +08:00
|
|
|
void test_genprop(void);
|
2001-09-26 13:37:15 +08:00
|
|
|
void test_configure(void);
|
2002-01-24 05:28:24 +08:00
|
|
|
void test_misc(void);
|
2004-06-19 00:56:04 +08:00
|
|
|
void test_ids(void);
|
2004-11-28 00:07:11 +08:00
|
|
|
void test_skiplist(void);
|
2006-11-14 04:41:36 +08:00
|
|
|
void test_sohm(void);
|
2005-05-24 02:20:07 +08:00
|
|
|
void test_unicode(void);
|
1997-07-31 05:17:56 +08:00
|
|
|
|
1998-07-03 08:57:00 +08:00
|
|
|
/* Prototypes for the cleanup routines */
|
|
|
|
void cleanup_metadata(void);
|
2006-08-22 07:27:11 +08:00
|
|
|
void cleanup_checksum(void);
|
1998-07-03 08:57:00 +08:00
|
|
|
void cleanup_file(void);
|
2006-08-03 07:41:53 +08:00
|
|
|
void cleanup_h5o(void);
|
1998-07-03 08:57:00 +08:00
|
|
|
void cleanup_h5s(void);
|
2007-12-21 05:09:58 +08:00
|
|
|
void cleanup_coords(void);
|
1998-07-03 08:57:00 +08:00
|
|
|
void cleanup_attr(void);
|
1998-07-15 05:14:12 +08:00
|
|
|
void cleanup_select(void);
|
2000-10-20 00:42:33 +08:00
|
|
|
void cleanup_time(void);
|
1998-10-14 05:30:49 +08:00
|
|
|
void cleanup_reference(void);
|
1999-06-12 06:05:04 +08:00
|
|
|
void cleanup_vltypes(void);
|
1999-09-29 08:30:47 +08:00
|
|
|
void cleanup_vlstrings(void);
|
2000-04-06 04:51:44 +08:00
|
|
|
void cleanup_iterate(void);
|
2000-11-10 05:47:59 +08:00
|
|
|
void cleanup_array(void);
|
2000-11-12 08:10:08 +08:00
|
|
|
void cleanup_genprop(void);
|
2001-09-26 13:37:15 +08:00
|
|
|
void cleanup_configure(void);
|
2006-11-14 04:41:36 +08:00
|
|
|
void cleanup_sohm(void);
|
2002-01-24 05:28:24 +08:00
|
|
|
void cleanup_misc(void);
|
2005-05-24 02:20:07 +08:00
|
|
|
void cleanup_unicode(void);
|
1998-07-03 08:57:00 +08:00
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2004-01-07 01:53:13 +08:00
|
|
|
#endif /* TESTHDF5_H */
|