diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-21 13:41:09 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-21 13:41:09 (GMT) |
commit | d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986 (patch) | |
tree | b24f9f73985b4fed56da48082f163a822b9595c4 /testpar | |
parent | 4114f888c63ca1fed13d84a93c4bdf173cad443e (diff) | |
download | hdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.zip hdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.tar.gz hdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.tar.bz2 |
[svn-r11448] Purpose:
new features
Description:
add support for compiling the library and testphdf5 in Windows
Solution:
Platforms tested:
Linux
AIX
Solaris
Windows VC6
Misc. update:
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); |