From 42684497945800bcbee12ccbef778a4a9c9adc93 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Fri, 3 Sep 2004 12:53:42 -0500 Subject: [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: --- testpar/testphdf5.c | 17 +++++++---------- 1 file 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]); -- cgit v0.12