summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-03-23 04:43:12 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-03-23 04:43:12 (GMT)
commitb45703bf8996cef0cfb6c9c62aa0b6cf9660d118 (patch)
tree6ee8d374c992c9298fdf0eea6d84fbb142fa65fd /test/h5test.h
parent5f7cc587559f9b421e82dc7c70c37077a4411706 (diff)
downloadhdf5-b45703bf8996cef0cfb6c9c62aa0b6cf9660d118.zip
hdf5-b45703bf8996cef0cfb6c9c62aa0b6cf9660d118.tar.gz
hdf5-b45703bf8996cef0cfb6c9c62aa0b6cf9660d118.tar.bz2
[svn-r8274] 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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 2f039f3..1b37feb 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -112,6 +112,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);