diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:43:10 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-03-23 04:43:10 (GMT) |
commit | 0642ae58be8a66a882e46c381753facea4568337 (patch) | |
tree | 47713c12cb41031b9352134d066c42b37f9d8e8d /test/h5test.h | |
parent | 40b72387aba7e8ca596e763cdb0b0ceb9a014470 (diff) | |
download | hdf5-0642ae58be8a66a882e46c381753facea4568337.zip hdf5-0642ae58be8a66a882e46c381753facea4568337.tar.gz hdf5-0642ae58be8a66a882e46c381753facea4568337.tar.bz2 |
[svn-r8273] Purpose:
Code cleanup.
Description:
The routines residing in testframe.c was defined in testhdf5.h due to
historical reason. It really belongs to h5test.h because those routines
reside in libh55test.a.
Solution:
Moved them to the right place. Also removed the duplicated occurance
of testframe.c in the TEST_SRC.
Platforms tested:
Tested in o2 (SGI) parallel.
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h index e78559b..91593b3 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -101,6 +101,7 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */ extern "C" { #endif +/* Generally useful testing routines */ H5TEST_DLL int h5_cleanup(const char *base_name[], hid_t fapl); H5TEST_DLL herr_t h5_errors(void *client_data); H5TEST_DLL char *h5_fixname(const char *base_name, hid_t fapl, char *fullname, @@ -112,6 +113,22 @@ H5TEST_DLL void h5_show_hostname(void); H5TEST_DLL off_t h5_get_file_size(const char *filename); H5TEST_DLL int print_func(const char *format, ...); +/* Routines for operating on the list of tests (for the "all in one" tests) */ +H5TEST_DLL void TestUsage(void); +H5TEST_DLL void AddTest(const char *TheName, void (*TheCall) (void), + void (*Cleanup) (void), const char *TheDescr); +H5TEST_DLL void TestInfo(const char *ProgName); +H5TEST_DLL void TestParseCmdLine(int argc, char *argv[], int *Summary, int *CleanUp); +H5TEST_DLL void PerformTests(void); +H5TEST_DLL void TestSummary(void); +H5TEST_DLL void TestCleanup(void); +H5TEST_DLL void TestInit(void); +H5TEST_DLL int GetTestVerbosity(void); +H5TEST_DLL int SetTestVerbosity(int newval); +H5TEST_DLL void ParseTestVerbosity(char *argv); +H5TEST_DLL int GetTestNumErrs(void); +H5TEST_DLL int TestErrPrintf(const char *format, ...); + #ifdef H5_HAVE_PARALLEL H5TEST_DLL int h5_set_info_object(void); H5TEST_DLL void h5_dump_info_object(MPI_Info info); |