summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-10-08 20:29:27 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-10-08 20:29:27 (GMT)
commitc84d9f5eabed93c22e6c898434a0246cb93e4ee8 (patch)
treeebb479cd39af9ea5c7b8cca2366e941ca0927133 /testpar
parent25fe6cbafa93a3c4eebe46fe9ffbf3d41903ab16 (diff)
downloadhdf5-c84d9f5eabed93c22e6c898434a0246cb93e4ee8.zip
hdf5-c84d9f5eabed93c22e6c898434a0246cb93e4ee8.tar.gz
hdf5-c84d9f5eabed93c22e6c898434a0246cb93e4ee8.tar.bz2
[svn-r7575] Purpose:
Feature, sort of. Description: Reactivated the big dataset test. Changed it to default off, can be turned on via -b. Platforms tested: Only in Copper which is the only local machine safe to run mulitple GB size files. Misc. update:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/testphdf5.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 52300b2..761c26c 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -44,7 +44,7 @@ int doread=1; /* read test */
int dowrite=1; /* write test */
int docompact=1; /* compact dataset test */
int doindependent=1; /* independent test */
-unsigned dobig=1; /* "big" dataset tests */
+unsigned dobig=0; /* "big" dataset tests */
/* FILENAME and filenames must have the same number of names */
const char *FILENAME[9]={
@@ -127,6 +127,7 @@ usage(void)
"\tset number of groups for the multiple group test\n");
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-v\t\tverbose on\n");
printf("\t-f <prefix>\tfilename prefix\n");
printf("\t-s\t\tuse Split-file together with MPIO\n");
@@ -179,7 +180,7 @@ parse_options(int argc, char **argv)
break;
case 'i': doindependent = 0;
break;
- case 'b': dobig = 0;
+ case 'b': dobig = 1;
break;
case 'v': verbose = 1;
break;
@@ -470,17 +471,13 @@ int main(int argc, char **argv)
MPI_BANNER("Independent test skipped");
}
-#ifdef LATER
if (dobig && sizeof(MPI_Offset)>4){
MPI_BANNER("big dataset test...");
big_dataset(filenames[7]);
}
else {
-#endif /* LATER */
MPI_BANNER("big dataset test skipped");
-#ifdef LATER
}
-#endif /* LATER */
if (!(dowrite || doread || ndatasets || ngroups || docompact || doindependent || dobig)){
usage();