From f9a87fa0f4b843e36e991429d1b5b31c68a52a33 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Wed, 21 Sep 2005 11:45:19 -0500 Subject: [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: --- testpar/t_mdset.c | 12 +++++++++--- 1 file 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); -- cgit v0.12