summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20429] CMake: correct h5copy test macros, add userblock script test to ↵Allen Byrne2011-04-072-102/+147
| | | | | | h5jam tests, and correct h5jam tests Tested: local linux
* [svn-r20427] Purpose:Jonathan Kim2011-04-0611-33/+33
| | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Additional check in from the previous checkin r20424. Updated help page again. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20424] Purpose:Jonathan Kim2011-04-0611-11/+22
| | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Additional check in from the previous checkin r20384. Updated help page. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20384] Purpose:Jonathan Kim2011-03-3124-125/+145
| | | | | | | | | | | | | | | | | | Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for --use-system-epsilon option Description: Merged from HDF5 1.8 branch r20369. 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)
* [svn-r20379] Missed test file from previous checkin r20378.Jonathan Kim2011-03-301-1/+1
| | | | Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions
* [svn-r20378] Purpose:Jonathan Kim2011-03-309-10/+34
| | | | | | | | | | | | | | | | | | | Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions Description: Decided to use --enable-error-stack long option name only to display error stack messages from HDF5 lib among tools. Updated to unify option name to '--enable-error-stack' for printing HDF5 error stack messages for HDF5 tools. h5ls and h5dump for now. For h5ls, this replaces "-e/--errors" option, which is deprecated. For h5dump, remove -E from help page and RM , which was added by mistake before release1.8.7. Help page and RM got updated. Updated test case. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
* [svn-r20372] Separate no option test within ADD_TEST so depends behaves ↵Allen Byrne2011-03-291-29/+53
| | | | correctly
* [svn-r20363] Updated commands to properly clear generated filesAllen Byrne2011-03-292-5/+2
| | | | Tested: local linux
* [svn-r20362] Added missing character in CMake commandAllen Byrne2011-03-291-1/+1
|
* [svn-r20349] BZ1725: H5DUMP displays type of reference for H5T_REFERENCEAllen Byrne2011-03-254-18/+14
| | | | Tested: local linux
* [svn-r20334] Purpose:Jonathan Kim2011-03-2511-11/+110
| | | | | | | | | | | | | | | Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the different set of attributes (different number and names) Description: This is related to previous checkin r20294. Add help page update for verbose option level feature, which displays useful information about attribute difference with -v1, --verbose=1 -v2 or --verbose=2 option. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20332] Correct clear-misc filenameAllen Byrne2011-03-251-3/+3
|
* [svn-r20330] Adjust H5JAM tests for valgind executionAllen Byrne2011-03-251-11/+19
|
* [svn-r20320] Correct clear objects for H5MKGRP testsAllen Byrne2011-03-241-0/+9
| | | | Tested:local linux
* [svn-r20318] Correct depends of test for ADD_H5COPY_TESTAllen Byrne2011-03-241-4/+5
| | | | Tested:local linux
* [svn-r20310] Change incorrect use of "struct stat" to use "h5_stat_t". On ↵Allen Byrne2011-03-242-20/+4
| | | | | | windows, this used the wrong structure and caused crashes. Also removed includes from top of file - they are included with proper config checks in h5private.h. Tested: local linux, windows
* [svn-r20305] Add tests to h5import and 80% of h5jamAllen Byrne2011-03-232-3/+537
| | | | Tested: local linux
* [svn-r20294] Purpose:Jonathan Kim2011-03-2222-1219/+10497
| | | | | | | | | | | | | | | | Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the different set of attributes (different number and names) Description: Previously h5diff compared attributes correctly only when two objects have the same number of attributes and attribute names are identical. This fix covers all other cases. Also didn't display useful information about attribute difference. This fixes both issues. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20285] Purpose:Jonathan Kim2011-03-216-58/+75
| | | | | | | | | | | | | | | | | Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Related to the previous checkin r20270 and r20266. Improve h5tools_detect_vlen() code for better performance. H5Tdetect_class already recusive on given type so don't need to be part of recusive call again. Also improve error handlings in h5tools_detect_vlen and h5tools_detect_vlen_str functions. Also updated h5ls and h5dump code accordingly. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20282] Corrected expected fail tests for use during valgrindAllen Byrne2011-03-191-0/+3
|
* [svn-r20274] Purpose:Jonathan Kim2011-03-181-7/+6
| | | | | | | | | | | | | | Fixed Bug 2214 - GMQS: h5diff - memory leak in diff() Description: Memory leaks occurred when accessing symbolic links with --follow-symlink option. Test cases are in testing script. (400 - 456, 501 - 518) An example test : valgrind --leak-check=full h5diff --follow-symlinks -v h5diff_softlinks.h5 h5diff_softlinks.h5 Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20270] Purpose:Jonathan Kim2011-03-186-21/+58
| | | | | | | | | | | | | | | | Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Improve the fix along with the previous checkin r20266. Add a new function to tool lib, h5tools_detect_vlen_data() which return TRUE if include any kind of vlen data all at once, either VLEN-data or VLEN-string and so on. Also updated h5ls and h5dump code accordingly. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20267] Corrected expected fail tests for use during valgrindAllen Byrne2011-03-181-25/+6
|
* [svn-r20266] Purpose:Jonathan Kim2011-03-172-46/+67
| | | | | | | | | | | | | | Fixed Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Test for dataset : valgrind --leak-check=full ./h5diff -v h5diff_dset1.h5 h5diff_dset2.h5 /g1/VLstring Test for attr : valgrind --leak-check=full ./h5diff h5diff_attr1.h5 h5diff_attr2.h5 Both test cases are in testing script. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20260] Windows compilers insist that variable declarations are before ↵Allen Byrne2011-03-161-5/+5
| | | | assignement statements
* [svn-r20257] Corect name of test in test propertyAllen Byrne2011-03-161-1/+1
|
* [svn-r20254] Description:Jonathan Kim2011-03-152-4/+4
| | | | | | | | | h5ls is used to verify for the result, so change the two tests not to run h5diff like others. This is related to the previous checkin SVN r18398 for Bug#1733. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), cmake (jam)
* [svn-r20252] Add comment that indicates a "2" in the resultcode param means ↵Allen Byrne2011-03-151-0/+1
| | | | "skip h5diff" component of test
* [svn-r20251] Correct expected fail tests to check a result code of NOT 0Allen Byrne2011-03-151-2/+2
|
* [svn-r20249] Add test properties to H5LS for expected failAllen Byrne2011-03-153-27/+45
| | | | Add SKIPPED to test name if test skipped, also do not run skipped tests if doing memcheck
* [svn-r20247] Change name of new VLEN function from H5Tdetect_vlen_str to ↵Allen Byrne2011-03-144-10/+20
| | | | | | | | h5tools_detect_vlen_str to match other functions in tools lib. Added back test for H5Tdetect_class of H5T_VLEN after each instance of above function to catch all VLEN types in h5dump. Tested: local linux
* [svn-r20231] Purpose:Jonathan Kim2011-03-116-6/+30
| | | | | | | | | | Fixed Bug 1904 - h5ls : usage of '-a' option is not clear to display expected output Description: Fixed incorrect content and improved help page for -a option of h5ls. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Cmake (jam)
* [svn-r20222] Correct mistake by declaring indexing variable removed from for ↵Allen Byrne2011-03-101-0/+1
| | | | at top of function.
* [svn-r20221] Remove rougue 'int' inside for loop (cut-paste error) - windows ↵Allen Byrne2011-03-101-1/+1
| | | | complained.
* [svn-r20218] Valgrind fix for memory leak in print_datatype which used an ↵Allen Byrne2011-03-091-1/+3
| | | | | | allocation function in a printf(). Tested: local linux and valgrind
* [svn-r20217] Valgrind indicated error in reading past end of buffer.Allen Byrne2011-03-091-1/+4
| | | | Tested: local linux and valgrind
* [svn-r20216] Valgrind fix for memory leak in h5tools_dump_xxx which is fixed ↵Allen Byrne2011-03-094-4/+90
| | | | | | | | by adding a new function; htri_t H5Tdetect_vlen_str(hid_t tid) to h5tools. This needs to be called before any H5Aread/H5Dread and if TRUE, then call vlen_reclaim function after the corresponding h5tools_dump_xxx(). Tested: local linux and valgrind
* [svn-r20211] Valgrind indicated error in writing past buffer. Contary to ref ↵Allen Byrne2011-03-091-1/+1
| | | | | | man H5O_get_comment does not return null char in size. Tested: local linux and valgrind
* [svn-r20209] add test case for -y -o for h5dumpPeter Cao2011-03-091-0/+6
|
* [svn-r20208] Valgrind fix for memory leak in free_tables - 2nd malloc was ↵Allen Byrne2011-03-091-0/+4
| | | | | | freed by free_table calls but not the first malloc. Added HDfree('table') after each free_table() call. Tested: local linux and valgrind
* [svn-r20206] Updated manifest and source code for fixing h5dump -y -o problemPeter Cao2011-03-092-9/+12
|
* [svn-r20204] Add test case for check -y -o optionsPeter Cao2011-03-081-0/+27
|
* [svn-r20203] Purpose:Jonathan Kim2011-03-083-9/+53
| | | | | | | | | | | | | Fix Bug 2120 - h5copy: improve to copy an object into same HDF file Description: Before the fix users can't copy an object (dataset or group) with different name if input file (-i) and output file (-o) is same. This feature would be useful to clone any object with different name and reuse contents. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r20202] Correct order of tests DEPENDSAllen Byrne2011-03-081-7/+3
|
* [svn-r20200] Add expected fail condition to memcheck alternate tests.Allen Byrne2011-03-082-0/+18
|
* [svn-r20197] Change test macro to allow control of infile and outfile parametersAllen Byrne2011-03-081-4/+8
|
* [svn-r20188] Purpose:Jonathan Kim2011-03-041-2/+15
| | | | | | | | | | | | Fixing Bug 2161 - GMQS: h5dump - only on Windows, skip displaying a data value every a certain lines in array type dataset Description: Fixed h5dump for skipping some values for long array type dataset on Windows. This issue only occurred on Windows due to the different return behavior from _vsnprintf() funtion. Tested: Windows, jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20186] Verify/cleanup code due to debugging changesAllen Byrne2011-03-043-9/+10
| | | | Tested: local linux
* [svn-r20172] Add h5mkgrp utility to package listAllen Byrne2011-03-011-1/+1
|
* [svn-r20171] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-017-198/+225
| | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Tested: local linux