diff options
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_mdset.c | 6 | ||||
-rw-r--r-- | testpar/testphdf5.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index df2a9a6..7818539 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -438,7 +438,7 @@ void big_dataset(void) /* Check that file of the correct size was created */ file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); - VRFY((file_size == 2147485696ULL), "File is correct size"); + VRFY((file_size == 2147485696 /*ULL*/), "File is correct size"); /* * Create >4GB HDF5 file @@ -467,7 +467,7 @@ void big_dataset(void) /* Check that file of the correct size was created */ file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); - VRFY((file_size == 4294969344ULL), "File is correct size"); + VRFY((file_size == 4294969344 /*ULL*/), "File is correct size"); /* * Create >8GB HDF5 file @@ -496,7 +496,7 @@ void big_dataset(void) /* Check that file of the correct size was created */ file_size=h5_mpi_get_file_size(filename, MPI_COMM_WORLD, MPI_INFO_NULL); - VRFY((file_size == 8589936640ULL), "File is correct size"); + VRFY((file_size == 8589936640 /*ULL*/), "File is correct size"); /* Close fapl */ ret=H5Pclose (fapl); diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 811981e..0d7b38f 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -410,8 +410,14 @@ int main(int argc, char **argv) "collective group and dataset write", &collngroups_params); AddTest("ingrpr", independent_group_read, NULL, "independent group and dataset read", &collngroups_params); - AddTest("bigdset", big_dataset, NULL, - "big dataset test", PARATESTFILE); + /* By default, do not run big dataset on WIN32. */ +#ifdef WIN32 + AddTest("-bigdset", big_dataset, NULL, + "big dataset test", PARATESTFILE); +#else + AddTest("bigdset", big_dataset, NULL, + "big dataset test", PARATESTFILE); +#endif AddTest("fill", dataset_fillvalue, NULL, "dataset fill value", PARATESTFILE); |