diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-21 16:45:19 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-09-21 16:45:19 (GMT) |
commit | f9a87fa0f4b843e36e991429d1b5b31c68a52a33 (patch) | |
tree | 4fae2982c38bfc888c4c11d58723afe371b4cc29 /testpar | |
parent | 36ffea6f61fb03625e22165b2a05f5dde1c7b65e (diff) | |
download | hdf5-f9a87fa0f4b843e36e991429d1b5b31c68a52a33.zip hdf5-f9a87fa0f4b843e36e991429d1b5b31c68a52a33.tar.gz hdf5-f9a87fa0f4b843e36e991429d1b5b31c68a52a33.tar.bz2 |
[svn-r11450] Purpose:
bug fix
Description:
the MPI_File_get_size returns a different value in one of the tests in Windows
comment the code and not run the test in windows
a ULL suffix on the harcoded return VRY return number is needed on AIX
Solution:
Platforms tested:
Windows
AIX
Misc. update:
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_mdset.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c index 7818539..9b268b6 100644 --- a/testpar/t_mdset.c +++ b/testpar/t_mdset.c @@ -438,7 +438,9 @@ 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 == 2147485696 /*ULL*/), "File is correct size"); +#ifndef WIN32 + VRFY((file_size == 2147485696ULL), "File is correct size"); +#endif /* * Create >4GB HDF5 file @@ -467,7 +469,9 @@ 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 == 4294969344 /*ULL*/), "File is correct size"); +#ifndef WIN32 + VRFY((file_size == 4294969344ULL), "File is correct size"); +#endif /* * Create >8GB HDF5 file @@ -496,7 +500,9 @@ 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 == 8589936640 /*ULL*/), "File is correct size"); +#ifndef WIN32 + VRFY((file_size == 8589936640ULL), "File is correct size"); +#endif /* Close fapl */ ret=H5Pclose (fapl); |