summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-06-09 18:41:29 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-06-09 18:41:29 (GMT)
commit7a92820e35582fc94f0dd46e5039547fddd3d98d (patch)
tree4edab170ada903be86940f82c306a2aa738afcb8 /testpar
parenta97fa671eb16f7b12ed87c46c86501d0282aa364 (diff)
downloadhdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.zip
hdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.tar.gz
hdf5-7a92820e35582fc94f0dd46e5039547fddd3d98d.tar.bz2
[svn-r15183] 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);