diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-03 04:57:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-03 04:57:25 (GMT) |
commit | 32a213632cfab8463e2bdf6966777f126cc8f988 (patch) | |
tree | 0b99bc7c6d9fd8c07a034f38858505bd21522293 /testpar/testphdf5.c | |
parent | 2a14f37bda3d3d5a0adcbd21affdb337024a9fa3 (diff) | |
download | hdf5-32a213632cfab8463e2bdf6966777f126cc8f988.zip hdf5-32a213632cfab8463e2bdf6966777f126cc8f988.tar.gz hdf5-32a213632cfab8463e2bdf6966777f126cc8f988.tar.bz2 |
[svn-r8014] Description:
Added a test of fill value before any data is written to a dataset.
Rename short_dataset() as dataset_fillvalue() as it reflects better
the tests. Also removed the option of -S since the fill value test
will be tested always.
Platforms tested:
"h5committested"
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r-- | testpar/testphdf5.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 3472d10..ee9bd66 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -45,7 +45,6 @@ int dowrite=1; /* write test */ int docompact=1; /* compact dataset test */ int doindependent=1; /* independent test */ unsigned dobig=0; /* "big" dataset tests */ -unsigned doshort=1; /* "short" dataset tests */ /* FILENAME and filenames must have the same number of names */ const char *FILENAME[10]={ @@ -57,7 +56,7 @@ const char *FILENAME[10]={ "ParaCompact", "ParaIndividual", "ParaBig", - "ParaShort", + "ParaFill", NULL}; char filenames[10][PATH_MAX]; hid_t fapl; /* file access property list */ @@ -130,7 +129,6 @@ usage(void) printf("\t-o\t\tno compact dataset test\n"); printf("\t-i\t\tno independent read test\n"); printf("\t-b\t\trun big dataset test\n"); - printf("\t-S\t\tno short dataset test\n"); printf("\t-v\t\tverbose on\n"); printf("\t-f <prefix>\tfilename prefix\n"); printf("\t-s\t\tuse Split-file together with MPIO\n"); @@ -228,8 +226,6 @@ parse_options(int argc, char **argv) break; case 'h': /* print help message--return with nerrors set */ return(1); - case 'S': doshort = 0; - break; default: nerrors++; return(1); } @@ -488,15 +484,10 @@ int main(int argc, char **argv) MPI_BANNER("big dataset test skipped"); } - if (doshort) { - MPI_BANNER("short dataset test..."); - short_dataset(filenames[8]); - } - else { - MPI_BANNER("short dataset test skipped"); - } + MPI_BANNER("dataset fill value test..."); + dataset_fillvalue(filenames[8]); - if (!(dowrite || doread || ndatasets || ngroups || docompact || doindependent || dobig || doshort)){ + if (!(dowrite || doread || ndatasets || ngroups || docompact || doindependent || dobig )){ usage(); nerrors++; } |