summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-06-09 17:31:22 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-06-09 17:31:22 (GMT)
commit6df2bbd6e93c8731ac5c7a39f32090487b9061f5 (patch)
treefdaced2c64e3c5f2428f6ef02022f48f37989905 /testpar
parent0304c9a5fa3aca4331505e36c939f0347acf0132 (diff)
downloadhdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.zip
hdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.tar.gz
hdf5-6df2bbd6e93c8731ac5c7a39f32090487b9061f5.tar.bz2
[svn-r15181] Purpose: _WIN32 macro cleanup
Description: As part of our Windows cleanup, we try to remove windows-specific tweaks in the source code. There are many instances where Windows code is introduces via ifdef's. We re-evaluate whether they are still required, and found that many of them are not. Others we change to "feature"-specific code, rather than Windows-specific. Tested: VS2005 on WinXP VS.NET on WinXP h5committest (kagisopp, smirom, linew)
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_mdset.c6
-rw-r--r--testpar/testphdf5.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 5b114be..2559d3e 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -457,9 +457,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef _WIN32
VRFY((file_size == 2147485696ULL), "File is correct size(~2GB)");
-#endif
/*
* Create >4GB HDF5 file
@@ -488,9 +486,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef _WIN32
VRFY((file_size == 4294969344ULL), "File is correct size(~4GB)");
-#endif
/*
* Create >8GB HDF5 file
@@ -519,9 +515,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef _WIN32
VRFY((file_size == 8589936640ULL), "File is correct size(~8GB)");
-#endif
/* Close fapl */
ret = H5Pclose(fapl);
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 2f74221..2760a8b 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -399,14 +399,8 @@ 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);
- /* 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);