summaryrefslogtreecommitdiffstats
path: root/c++/test
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-03-31 14:23:54 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-03-31 14:23:54 (GMT)
commit310a684fc28d719c1ed4e67818a5810ad632e547 (patch)
tree009f27995fa0cc40f37a3c5c564f0ec78a0c5baa /c++/test
parent0180863320994d8a7efba446f81bd73819315cd2 (diff)
downloadhdf5-310a684fc28d719c1ed4e67818a5810ad632e547.zip
hdf5-310a684fc28d719c1ed4e67818a5810ad632e547.tar.gz
hdf5-310a684fc28d719c1ed4e67818a5810ad632e547.tar.bz2
[svn-r8290] 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".
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/testhdf5.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp
index 784a38b..5e5f329 100644
--- a/c++/test/testhdf5.cpp
+++ b/c++/test/testhdf5.cpp
@@ -52,22 +52,22 @@ main(int argc, char *argv[])
/* Initialize testing framework */
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 */