diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-03-30 23:35:16 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-03-30 23:35:16 (GMT) |
commit | d7a5f94d66390f2a777e51dba2e781d7f84e0656 (patch) | |
tree | 2db9623a283851a7273b2d01096f45c06c6a3d30 /c++ | |
parent | c3d9b510b4e65cd32ec9708fd369d31b77d76ea6 (diff) | |
download | hdf5-d7a5f94d66390f2a777e51dba2e781d7f84e0656.zip hdf5-d7a5f94d66390f2a777e51dba2e781d7f84e0656.tar.gz hdf5-d7a5f94d66390f2a777e51dba2e781d7f84e0656.tar.bz2 |
[svn-r8289] Purpose:
Feature
Description:
Added to AddTest() a generic parameters pointer argument to
allow some extra parameters for some tests. E.g., test file
names can be customized during runtime and passed into the
test routines.
Platforms tested:
"h5committested".
Also run compat test in eirene.
Diffstat (limited to 'c++')
-rw-r--r-- | c++/test/testhdf5.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp index a532eae..5e5f329 100644 --- a/c++/test/testhdf5.cpp +++ b/c++/test/testhdf5.cpp @@ -54,20 +54,20 @@ main(int argc, char *argv[]) TestInit(); // testing file creation and opening in tfile.cpp - AddTest("file", test_file, cleanup_file, "File I/O Operations"); + AddTest("file", test_file, cleanup_file, "File I/O Operations", NULL); // testing dataspace functionalities in th5s.cpp - AddTest("h5s", test_h5s, cleanup_h5s, "Dataspaces"); + AddTest("h5s", test_h5s, cleanup_h5s, "Dataspaces", NULL); /* Comment out tests that are not done yet. - BMR, Feb 2001 - AddTest("attr", test_attr, cleanup_attr, "Attributes"); - AddTest("select", test_select, cleanup_select, "Selections"); - AddTest("time", test_time, cleanup_time, "Time Datatypes"); - AddTest("reference", test_reference, cleanup_reference, "References"); - AddTest("vltypes", test_vltypes, cleanup_vltypes, "Variable-Length Datatypes"); - AddTest("vlstrings", test_vlstrings, cleanup_vlstrings, "Variable-Length Strings"); - AddTest("iterate", test_iterate, cleanup_iterate, "Group & Attribute Iteration"); - AddTest("array", test_array, cleanup_array, "Array Datatypes"); - AddTest("genprop", test_genprop, cleanup_genprop, "Generic Properties"); + AddTest("attr", test_attr, cleanup_attr, "Attributes", NULL); + AddTest("select", test_select, cleanup_select, "Selections", NULL); + AddTest("time", test_time, cleanup_time, "Time Datatypes", NULL); + AddTest("reference", test_reference, cleanup_reference, "References", NULL); + AddTest("vltypes", test_vltypes, cleanup_vltypes, "Variable-Length Datatypes", NULL); + AddTest("vlstrings", test_vlstrings, cleanup_vlstrings, "Variable-Length Strings", NULL); + AddTest("iterate", test_iterate, cleanup_iterate, "Group & Attribute Iteration", NULL); + AddTest("array", test_array, cleanup_array, "Array Datatypes", NULL); + AddTest("genprop", test_genprop, cleanup_genprop, "Generic Properties", NULL); Comment out tests that are not done yet */ /* Display testing information */ |