summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-09-03 17:53:42 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-09-03 17:53:42 (GMT)
commit42684497945800bcbee12ccbef778a4a9c9adc93 (patch)
tree41c02a5df652dea487ad4f0308669f5f80df4900
parent6d52dc8601e2cd5c13c8073a531cbdbeef075601 (diff)
downloadhdf5-42684497945800bcbee12ccbef778a4a9c9adc93.zip
hdf5-42684497945800bcbee12ccbef778a4a9c9adc93.tar.gz
hdf5-42684497945800bcbee12ccbef778a4a9c9adc93.tar.bz2
[svn-r9200]
Purpose: Shrink HDF5 parallel test Description: Previously the collective chunk IO tests created and opened four HDF5 files; it turned out that all collective chunk IO tests can use one file for testing. Solution: To use one file for all collective chunk IO tests with trunc option to be set in H5Fcreate. Platforms tested: copper(no need to use h5committest) Misc. update:
-rw-r--r--testpar/testphdf5.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 989666c..6256212 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -39,7 +39,7 @@ void *old_client_data; /* previous error handler arg.*/
/* other option flags */
/* FILENAME and filenames must have the same number of names */
-const char *FILENAME[15]={
+const char *FILENAME[12]={
"ParaEg1",
"ParaEg2",
"ParaEg3",
@@ -49,13 +49,10 @@ const char *FILENAME[15]={
"ParaIndividual",
"ParaBig",
"ParaFill",
- "ParaCC1",
- "ParaCC2",
- "ParaCC3",
- "ParaCC4",
+ "ParaCC",
"ParaNull",
NULL};
-char filenames[15][PATH_MAX];
+char filenames[12][PATH_MAX];
hid_t fapl; /* file access property list */
#ifdef USE_PAUSE
@@ -427,14 +424,14 @@ int main(int argc, char **argv)
AddTest("cchunk1", coll_chunk1,NULL,
"simple collective chunk io",filenames[9]);
AddTest("cchunk2", coll_chunk2,NULL,
- "noncontiguous collective chunk io",filenames[10]);
+ "noncontiguous collective chunk io",filenames[9]);
AddTest("cchunk3", coll_chunk3,NULL,
- "multi-chunk collective chunk io",filenames[11]);
+ "multi-chunk collective chunk io",filenames[9]);
AddTest("cchunk4", coll_chunk4,NULL,
- "collective to independent chunk io",filenames[12]);
+ "collective to independent chunk io",filenames[9]);
}
AddTest("null", null_dataset, NULL,
- "null dataset test", filenames[13]);
+ "null dataset test", filenames[10]);
/* Display testing information */
TestInfo(argv[0]);