From 5a5ca3f12c1a377e8084cb7d21dfb7c3d5ded6cc Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Fri, 11 Sep 2009 17:13:56 -0500 Subject: [svn-r17471] Corrected use of _DEBUG preprocessor value in release configurations of hdf5_f90cstubdll.vcproj Corrected debug configuration of examples project file Updated windows batch file to match the testh5diff.sh script change in rev 17466. Tested: windows --- windows/examples/allexamples/allexamples.vcproj | 65 +++++++++++++++++++++- .../proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj | 4 +- windows/tools/h5diff/testh5diff.bat | 10 ++-- 3 files changed, 70 insertions(+), 9 deletions(-) diff --git a/windows/examples/allexamples/allexamples.vcproj b/windows/examples/allexamples/allexamples.vcproj index a5795f9..4c87ec0 100644 --- a/windows/examples/allexamples/allexamples.vcproj +++ b/windows/examples/allexamples/allexamples.vcproj @@ -198,7 +198,7 @@ Name="Debug|Win32" OutputDirectory="..\..\..\examples\$(ProjectName)\$(ConfigurationName)" IntermediateDirectory="$(OutDir)" - ConfigurationType="10" + ConfigurationType="1" InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" @@ -211,11 +211,74 @@ Name="VCCustomBuildTool" /> + + + + + + + + + + + + + + diff --git a/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj b/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj index 1682e4d..a6af615 100644 --- a/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj +++ b/windows/proj/hdf5_f90cstubdll/hdf5_f90cstubdll.vcproj @@ -52,7 +52,7 @@ Optimization="2" InlineFunctionExpansion="1" AdditionalIncludeDirectories="..\..\..\src" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_HDF5USEDLL_;HDF5FORT_CSTUB_DLL_EXPORTS" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_HDF5USEDLL_;HDF5FORT_CSTUB_DLL_EXPORTS" StringPooling="true" RuntimeLibrary="2" EnableFunctionLevelLinking="true" @@ -146,7 +146,7 @@ Optimization="2" InlineFunctionExpansion="1" AdditionalIncludeDirectories="..\..\..\src" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_HDF5USEDLL_;HDF5FORT_CSTUB_DLL_EXPORTS" + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_HDF5USEDLL_;HDF5FORT_CSTUB_DLL_EXPORTS" StringPooling="true" RuntimeLibrary="2" EnableFunctionLevelLinking="true" diff --git a/windows/tools/h5diff/testh5diff.bat b/windows/tools/h5diff/testh5diff.bat index af1e7d4..4b5f265 100644 --- a/windows/tools/h5diff/testh5diff.bat +++ b/windows/tools/h5diff/testh5diff.bat @@ -381,8 +381,8 @@ rem ############################################################################ call :tooltest h5diff_607.txt -d "1" %file1% %file2% g1/dset3 g1/dset4 rem 6.8: repeated option - call :testing %h5diff% -d 1 -d 2 %srcfile1% %srcfile2% g1/dset3 g1/dset4 - call :tooltest h5diff_608.txt -d 1 -d 2 %file1% %file2% g1/dset3 g1/dset4 + call :testing %h5diff% --use-system-epsilon %srcfile1% %srcfile2% g1/dset3 g1/dset4 + call :tooltest h5diff_608.txt --use-system-epsilon %file1% %file2% g1/dset3 g1/dset4 rem 6.9: number larger than biggest difference call :testing %h5diff% -d 200 %srcfile1% %srcfile2% g1/dset3 g1/dset4 @@ -432,13 +432,10 @@ rem ############################################################################ call :tooltest h5diff_619.txt -p 0.005 %file1% %file2% g1/dset3 g1/dset4 - rem ############################################################################## rem # -n rem ############################################################################## - - rem 6.21: negative value call :testing %h5diff% -n -4 %srcfile1% %srcfile2% g1/dset3 g1/dset4 call :tooltest h5diff_621.txt -n -4 %file1% %file2% g1/dset3 g1/dset4 @@ -471,6 +468,7 @@ rem ############################################################################ call :testing %h5diff% -n 1 %srcfile1% %srcfile2% g1/dset3 g1/dset4 call :tooltest h5diff_628.txt -n 1 %file1% %file2% g1/dset3 g1/dset4 + rem This is disabled on *nix platforms rem 6.29 non valid files call :testing %h5diff% file1.h6 file2.h6 call :tooltest h5diff_629.txt file1.h6 file2.h6 @@ -493,7 +491,7 @@ rem ############################################################################ rem 10. read by hyperslab, print indexes rem ############################################################################## - rem Not tested on windows as this has not been a problem - ADB 1/22/2009 + rem Not skipped on windows as this has not been a problem - ADB 1/22/2009 rem if test -n "$pmode" -a "$mydomainname" = hdfgroup.uiuc.edu; then rem # skip this test which sometimes hangs in some THG machines rem SKIP -v $SRCFILE9 $SRCFILE10 -- cgit v0.12