[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)
This commit is contained in:
Jonathan Kim
2011-08-17 11:06:32 -05:00
parent c6e1f166e3
commit caad58c541
6 changed files with 69 additions and 6 deletions

View File

@@ -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 ########################################################################