[svn-r12748] _exit() function for Windows DLL cannot immediately terminate the calling process.

So new flush2 tests generates false failures for DLL version on windows.
Two cases of flush2 tests were skipped temporarily on windows. 
The inserted windows macros should be removed when a better solution is found.
Tested on vs6.0 and vs 7.1 and Linux.
This commit is contained in:
MuQun Yang 2006-10-11 17:32:26 -05:00
parent c69d0bd40b
commit 3cb353e883

View File

@ -196,8 +196,14 @@ main(void)
PASSED()
else
{
H5_FAILED()
goto error;
#if defined WIN32 && defined _HDF5USEDLL_
SKIPPED();
puts(" DLL will flush the file even when calling _exit, skip this test temporarily");
#else
H5_FAILED()
goto error;
#endif
}
H5Eset_auto_stack(H5E_DEFAULT, func, NULL);
@ -212,8 +218,15 @@ main(void)
PASSED()
else
{
H5_FAILED()
goto error;
#if defined WIN32 && defined _HDF5USEDLL_
SKIPPED();
puts(" DLL will flush the file even when calling _exit, skip this test temporarily");
#else
H5_FAILED()
goto error;
#endif
}
H5Eset_auto_stack(H5E_DEFAULT, func, NULL);