Commit Graph

27 Commits

Author SHA1 Message Date
Jonathan Kim
36ea4e8553 [svn-r21368] Purpose:
HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen)

Description:
    - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound)
    - Merged from HDF5 trunk r21358.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-09-06 15:26:08 -05:00
Jonathan Kim
caad58c541 [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)
2011-08-17 11:06:32 -05:00
Allen Byrne
c80afb0cee [svn-r21092] Needed to remove the "echo Expected Results" section due to removal from reference files 2011-07-11 16:20:08 -05:00
Jonathan Kim
a3bf96ec3c [svn-r21077] Purpose:
Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive.

Description:
    Merge from HDF5 trunk r21072.
    Fixed h5diff to display instructive error message and exit with 1
    when mutually exclusive options (-d, -p and --use-system-epsilon)
    are used together.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-07-08 10:53:10 -05:00
Jonathan Kim
3e755a079b [svn-r20706] Purpose:
- HDFFV-5928 - GMQS: h5diff problem and improvement on comparsing the same objects

Description:
    Merged from HDF5 trunk r20676.
    Fixed:
    1) adding h5tools_is_obj_same() function to check if two given IDs or paths point to the same object. This function can be very useful for other tools and applications.
    2) using h5tools_is_obj_same() at h5diff() and diff() in h5diff.c. If two paths point to the same object, there is no need to check the details of the object since we know there is no difference. The fix will increase the performance by skipping the content comparison. It also fixed the problem of reporting difference for some cases of comparing the same file, e.g. empty files or files with incomparable objects the same file.

    Test update:
    Updat prvious test cases (171, 172, 530) affected by this fix, so they
    still perfrom originally intended testing without bypassing.

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
2011-05-02 15:41:03 -05:00
Jonathan Kim
d467c2ce71 [svn-r20369] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Fixed h5diff for --use-system-epsilon option: the calculation changed
    from ( |a - b| / b ) to ( |a - b| ). This was decided for better 
    performance and was corrected only in HDF5 trunk, so 1.8 got updated.
    Also comments for equal_XXX() function were updated correctly. 
    Also help page and RM got updated correctly.
    Also add test cases for testing the differences w/wo the option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-29 11:20:19 -05:00
Jonathan Kim
2aabc3f415 [svn-r20299] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    Merged from HDF5 trunk r20294
    Previously h5diff compared attributes correctly only when two objects have 
    the same number of attributes and attribute names are identical.
    Also didn't display useful information about attribute difference.
    This fix covers all other cases.
    This fixes both issues.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
2011-03-23 09:37:45 -05:00
Jonathan Kim
13c16c8982 [svn-r19713] Purpose:
Fixed h5diff to handle variable-length strings in a compound dataset 
    correctly. Also variable-length string array in a compound dataset.
    Bug #1989.
    

Description:
    Garbage values were displayed when h5diff compared variable-length 
    strings (or string array) in a compound type dataset. 
    Merged from hdf5 trunk r19712.


Tested:
 jam (linux32-LE), heiwa (linuxppc64-BE)
2010-11-02 11:57:16 -05:00
Jonathan Kim
8e07e85f3c [svn-r19448] Fix for legacy Windows test added for 1890 h5diff exclude-path 2010-09-21 09:20:38 -05:00
Jonathan Kim
322a384b13 [svn-r19444] Purpose:
Fix for group comparison with exclude-path case. Use relative path.

Description:
 Merge from hdf5 trunk (r19443)
 Related to "1890:  h5diff excluding object for file comparison via command line" checkins. (r19407)

Tested:
 jam, amani
2010-09-20 17:20:13 -05:00
Jonathan Kim
94ceecadde [svn-r19426] Fix for legay Windows test for h5diff exclude-path updates 2010-09-20 10:21:35 -05:00
Jonathan Kim
3bfb10b2fc [svn-r19411] Purpose:
Add extra test cases for Bug1975 h5diff - support recursive comparison on group when specified as an object

Description:
 Merged from hdf5 trunk (r19409)
 Additional tests for combination of group recursive and --follow-symlinks 
 with multi-linked external links with several files (same name/strucure).

Tested:
 jam, amani, heiwa
2010-09-16 19:22:29 -05:00
Jonathan Kim
6d97ffcc6c [svn-r19407] Purpose:
Add --exclude-path option

Description:
 Merged from hdf5 trunk (r19406).
 Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded.
Related to "1890:  h5diff excluding object for file comparison via command line"

Tested:
 jam, amani
2010-09-16 16:57:27 -05:00
Jonathan Kim
a9a3f22e78 [svn-r19401] Purpose:
Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object

Description:
 Merged from hdf5 trunk (r19400).
 Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly.

Tested:
 jam, amani
2010-09-16 13:09:59 -05:00
Allen Byrne
6ad7da65a4 [svn-r18878] Update testh5diff.bat for --follow-symlinks change
Tested:  windows
2010-05-21 16:51:06 -05:00
Allen Byrne
2aaa6b7dd9 [svn-r18318] Updated test script to match *nix shell script. Also corrected 629 file exit code
Tested: windows
2010-02-23 14:02:54 -05:00
Allen Byrne
4faad745e8 [svn-r17469] Update windows batch file to match the testh5diff.sh script change in rev 17467.
Tested: windows
2009-09-11 16:40:23 -05:00
Allen Byrne
6a24df2bb9 [svn-r17288] Added the two infinity tests to the windows batch script to match the linux test script. 2009-07-31 13:27:18 -05:00
Allen Byrne
d82141259c [svn-r16470] Added two new test cases for compound types to batch file per script file changes in rev #16463.
Tested:
   XP32, XP64 - VNET, VS2005
2009-02-11 17:20:55 -05:00
Allen Byrne
5a80587476 [svn-r16443] Update windows batch file to match *nix script due to rev 16351
Tested:
 XP 32 VNET
2009-02-05 13:55:42 -05:00
Scott Wegner
7f758bceb0 [svn-r15909] Purpose: Various Windows test script updates
Description:
This checkin includes updates to Windows test scripts for h5copy, h5diff, and h5dump tools.  Each represents minor changes to syntax which emulates the updates made to the general-platform test scripts.

Tested:
VS2005 on WinXP
2008-10-20 11:06:48 -05:00
Scott Wegner
4ee45f7edd [svn-r15786] Purpose: Bring h5diff test updates to Windows
Description:
The test files used for the h5diff test script were recently moved to a new directory, and the format of the testing was changed.  This checkin brings the changes to Windows as well.

Tested:
VS2005 on WinXP
2008-10-06 13:43:18 -05:00
Scott Wegner
943aa55852 [svn-r15435] Purpose: Update Windows test script for new h5diff option: -c
Description:
A new parameter was added to h5diff recently.  We add a new test to the h5diff script, and change the syntax in which h5diff is called from the h5repack test script

Tested:
VS2005 on WinXP
2008-08-06 08:35:44 -05:00
Scott Wegner
e622c634d5 [svn-r14835] Purpose: Remove English-specific code from Windows test scripts
Description:
In previous versions of Windows, the builtin 'FC' command (diff equivalent) didn't return proper exit status.  As a work-around, we parsed the message returned to check status.  This relies on English return messages.

In current Windows XP and Windows Vista, FC will return exit status as expected, so we can remove this workaround.  Older platforms where we would need this workaround are no longer supported.

Tested:
VS2005 on Windows XP
Small test on Windows Vista
2008-04-14 09:59:52 -05:00
Scott Wegner
30d4db8912 [svn-r14302] Purpose: Update Windows test scripts for recent changes
Description:
Minor changes were recently made in the linux test scripts for h5diff and h5repack.  This brings Windows up-to-date.

Note: I am still working on updates to testh5ls.bat-- there is one test that is failing, but should be ready soon.

Tested:
VS2005 on WinXP
2007-11-29 08:36:57 -05:00
Scott Wegner
27e823f08b [svn-r14265] Purpose: Bring Windows test scripts up to date for h5diff changes.
Description:
Recently, the format of parameters for h5diff was changed.  This checkin makes the neccessary changes for Windows to also bring it up to date.

Tested:
VS6 on WinXP
2007-11-19 12:59:53 -05:00
Scott Wegner
43bb1ba8e5 [svn-r14138] 2007-09-10 14:14:08 -05:00