summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-08-17 16:06:32 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-08-17 16:06:32 (GMT)
commitcaad58c541fcbcec522d784b13100860b1d32f7a (patch)
tree9a0b275dbe05fe84a86adf01dd5efa46b9dd784c /windows
parentc6e1f166e32ae39eb18484749e47293278eaa115 (diff)
downloadhdf5-caad58c541fcbcec522d784b13100860b1d32f7a.zip
hdf5-caad58c541fcbcec522d784b13100860b1d32f7a.tar.gz
hdf5-caad58c541fcbcec522d784b13100860b1d32f7a.tar.bz2
[svn-r21239] Description:
Merged from HDF5 trunk r21237. Add test cases for HDFFV-7656 - "--delta=something" considers two NaN of the same type are different. The fix was added (r21105) before but test cases were incorrectly added and missing for cmake script. Tested: jam (linux32-LE), koala (linux64-LE), tejeda (mac32-LE), cmake (jam)
Diffstat (limited to 'windows')
-rw-r--r--windows/tools/h5diff/testh5diff.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/windows/tools/h5diff/testh5diff.bat b/windows/tools/h5diff/testh5diff.bat
index 2dbe7a7..6de2261 100644
--- a/windows/tools/h5diff/testh5diff.bat
+++ b/windows/tools/h5diff/testh5diff.bat
@@ -524,6 +524,16 @@ rem ############################################################################
call :testing %h5diff% file1.h6 file2.h6
call :tooltest h5diff_629.txt file1.h6 file2.h6
+ rem ######################################################################
+ rem # NaN
+ rem ######################################################################
+ rem 6.30: test (NaN == NaN) must be true based on our documentation -- XCAO
+ call :testing %h5diff% -v -d "0.0001" %srcfile1% %srcfile1% g1/fp18 g1/fp18_COPY
+ call :tooltest h5diff_630.txt -v -d "0.0001" %file1% %file1% g1/fp18 g1/fp18_COPY
+ call :testing %h5diff% -v --use-system-epsilon %srcfile1% %srcfile1% g1/fp18 g1/fp18_COPY
+ call :tooltest h5diff_631.txt -v --use-system-epsilon %file1% %file1% g1/fp18 g1/fp18_COPY
+
+
rem ########################################################################
rem 7. attributes
rem ########################################################################