diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-03 02:54:50 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-03 02:54:50 (GMT) |
commit | f65948d933ac5bc70ec5bd3ab43387b310722d97 (patch) | |
tree | e1ab74e1a87cd1b697d8cb2fbca01dfdf4f9fa2c /testpar/testphdf5.c | |
parent | a59c045de10854aa53d69e2f27b52254138ee7c1 (diff) | |
download | hdf5-f65948d933ac5bc70ec5bd3ab43387b310722d97.zip hdf5-f65948d933ac5bc70ec5bd3ab43387b310722d97.tar.gz hdf5-f65948d933ac5bc70ec5bd3ab43387b310722d97.tar.bz2 |
[svn-r8013] 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"
Misc. update:
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 8394db4..4229876 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); } @@ -484,15 +480,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++; } |