summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branchAllen Byrne2012-05-238-235/+737
|
* [svn-r22148] Removed incorrect executable svn properties from text, source, ↵Dana Robinson2012-03-261-0/+0
| | | | in, and HDF5 files.
* [svn-r22121] Purpose:Jonathan Kim2012-03-222-1/+8
| | | | | | | | | | | | | | update for HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name Description: Added capability for "-a" option to show attributes containing "/" by using an escape character. For example, for a dataset "/dset" containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)" to show the content of the attribute. Merged from HDF5 trunk r22052, r22063, r22108 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), Cmake (jam)
* [svn-r22099] Add reference file extensions in new tests.Allen Byrne2012-03-201-1/+1
| | | | | Remove "STAR" test as some platforms vary in interpretation. Add new tets to windows legacy test script
* [svn-r22095] Correct test script errorsAllen Byrne2012-03-191-4/+3
| | | | Add new tests to legacy dos script
* [svn-r22088] HDFFV-7957(7958): Correct use of ERROR_STACK for h5dump and tools.Allen Byrne2012-03-194-133/+160
| | | | Tested: local linux after week in trunk
* [svn-r22045] HDFFV-7957-7958:Allen Byrne2012-03-121-5/+33
| | | | | Add tools error stack and check return from H5Dreference call. Tested: trunk
* [svn-r22043] HDFFV-7839: Dangling link should not display errorAllen Byrne2012-03-123-55/+60
| | | | | | | If a link is specified on the command with the -d option, call the handle_links function on error from the H5Dopen command. Updated test file results with error stack when link not found. Tested: trunk
* [svn-r22025] Cleanup compiler warnings.Allen Byrne2012-03-051-27/+27
| | | | | | Add HD prefix to tools library based tests. Cleaned allocation/free in tests. Tested: local linux/ h5committetest
* [svn-r22013] HDFFV-7560:Allen Byrne2012-03-0213-7057/+7973
| | | | | | | | | | Merge 1.8 and h5dump/tools and tests based on tools library from trunk. Reduced warnings. HDFFV-7949: Remove duplicated functions in h5ls Tested: local linux,h5committest
* [svn-r21817] Description:Jonathan Kim2011-12-061-0/+4
| | | | | | | Add test case to unix test-script for "HDFFV-2567 - added test for be generated files with at least 9 attributes at root". It's committed previously as r21812 along with Cmake test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r21812] HDFFV-2567 - added test for be generated files with at least 9 ↵Allen Byrne2011-12-051-0/+6
| | | | | | attributes at root Tested: local linux
* [svn-r21805] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-051-1/+1
| | | | standard 2.8.6
* [svn-r21717] Update cmake configurationAllen Byrne2011-11-041-0/+2
| | | | | | | Update cmake to generate source folders in VS Brought parallel changes from trunk Tested: local linux
* [svn-r21621] Add H5_ff_F90.f90 file to legacy fortran projectsAllen Byrne2011-10-202-20/+16
| | | | | | Replace contents of tnofilename.ddl with contents from tnofilename-with-packed-bits.ddl and use tnofilename.ddl in h5dump test scripts Test local linux: cmake
* [svn-r21421] Merged the Fortran 2003 changes from the trunk into the 1.8 ↵Scot Breitenfeld2011-09-271-0/+3
| | | | | | | | | | | branch, used: svn merge -r 20506:21414 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Tested: jam (gnu, intel, pgi compilers) Also merged effected non-Fortran files: svn merge -r21247:r21248 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/src/libhdf5.settings.in
* [svn-r21379] The tools used "%hhd" to print signed char. But VMS doesn't ↵Raymond Lu2011-09-131-2/+10
| | | | | | know it. So I used H5_VMS to have a different way ("%hd") to print it. Tested on jam and VMS.
* [svn-r21216] Alter clear-objects tests to mate with test that generates ↵Allen Byrne2011-08-101-38/+90
| | | | | | object file. Tested: local linux
* [svn-r21211] Correct location of xml schema files. JIRA HDFFV-7688Allen Byrne2011-08-101-5/+5
|
* [svn-r21064] Purpose:Jonathan Kim2011-07-011-37/+439
| | | | | | | | | | | Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Merged from HDF5 trunk r21057 Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r21044] Purpose:Mike McGreevy2011-06-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDFFV-7592 "Remove PACKEDBITS option from autotools files" Description: The code for h5dump's packed bits feature was conditionally compiled in via this option during its 'beta' release in 1.8.5. Now that the feature is fully supported, h5dump has since been changed to always compile the packed bits code (having removed the #ifdef H5_HAVE_H5DUMP_PACKED_BITS checks), so this option in configure is no longer needed. This commit removes the --enable-h5dump-packed-bits configure option, including the help summary from './configure --help' and the libhdf5.settings output summary, the PACKED_BITS Makefile variable, and the definition of H5_HAVE_H5DUMP_PACKED_BITS define in appropriate pubconf header files (which has already been removed from use in source code as of r20722). Note that this option was never added to the trunk, thus this commit only need occur on the 1.8 branch. Tested: - Configure output, help, & summary verified on jam - h5committested
* [svn-r20893] Description:Quincey Koziol2011-05-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r20885 from trunk to 1.8 branch: r20340: Address coverity issue 248. Set freed pointer to NULL if realloc fails, then check for NULL before attempting to close array of handles stored in memory addressed by pointer. r20341: Added initialization udata.path = NULL; udata.visited = NULL; to prevent unintialized use after done: label. Do C-style initialization AFTER all variable definitions. r20342: Fix valgrind error in H5DUMP-XML-tall.h5 r20343: Addressed Coverity issue 591 - check the return value of H5S_SELECT_ITER_RELEASE. r20344: Added initialization udata.path = NULL; to prevent uninitialized used after done: label r20347: Purpose: Fix memory leak in overhead.c Description: Fixed leak in test() in overhead.c where array "had" was never freed. r20348: Addressed Coverity issue 705 - added prototype for resize_configs_are_equal to cache_common.h. r20392: Purpose: Fix coverity issues 1677 and 1678 Description: Added return value checking for 4 funciton calls in H5tools_get_symlink_info(). r20394: Purpose: Fix coverity issues 1674 and 1675 Description: Modified H5Epush2() and H5E_printf_stack() to keep track of whether va_start() has been called, and to call va_end() at the end if so. r20395: Should be H5MM_calloc(count * sizeof(void*)). Fixed --gh r20396: Should be H5MM_calloc(count * sizeof(void*)). Fixed. --gh Tested on: Mac OSX/32 10.6.7 (amazon) w/debug & production (h5committested on branch)
* [svn-r20889] Snapshot version 1.8 release 8 (snap1)HDF Tester2011-05-231-0/+1
|
* [svn-r20886] purpose:Jonathan Kim2011-05-203-86/+31
| | | | | | | | | | | | | hdffv-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files description: Removed top 3 lines from expected output file and update testing scripts accordingly. These lines started to become maintainence headaches. First phase for h5dump test update. Next phase will be for h5ls. this is prerequisite for 'hdffv-7602 tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.' Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake (jam)
* [svn-r20802] Bring trunk revision 20798 to 1.8. Trunk changes passed overnight.Allen Byrne2011-05-122-4/+33
| | | | Tested: local linux
* [svn-r20780] Corrected export test to use parameters passed in from ADD_TEST()Allen Byrne2011-05-091-1/+1
| | | | Tested: local linux
* [svn-r20772] Problem:Albert Cheng2011-05-071-3/+30
| | | | | | | | | | | | | | | | | Test scripts sometimes need to filter some system-specific messages from the actual output so that it can match the correct expected output. These filtering functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being repeated in individual test scripts. This becomes a maintenance problem and is error prone. Solution: Extract the two filter functions code to bin/output_filter.sh and then each test script sources it in. This allows reuse of coding and is much easier to maintain and to add new filtering. Tested: LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial mode only.
* [svn-r20722] Refactor ext lib import and install.Allen Byrne2011-05-045-2951/+3012
| | | | | | | | Change case of tools subtests to not conflict with tools tests. Add SOVERSION for linux Remove PACKED BITS define/idef blocks Bring r20721 from trunk
* [svn-r20624] Albert's test on bp reveals that the dumper had assertion ↵Raymond Lu2011-04-251-36/+40
| | | | | | | | failure when it tried to display empty attribute data. I added a check for empty attribute in h5dump.c. I also added a check for empty dataset in tools/lib/h5tools.c. Tested on jam, linew, and amani.
* [svn-r20616] Purpose:Jonathan Kim2011-04-222-0/+6
| | | | | | | | | | | | | | HDFFV-5948 - CHICAGO: Tools - implement missing external link test cases Description: Merged from HDF5 trunk r20595 and r20600. Add three test cases for h5dump and h5ls. - h5ls: external link to soft link with follow symlink. - h5dump: external link to soft link with follow symlink. - h5ls: external link to soft link without follow symlink. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
* [svn-r20579] Bug 1386 - allowing dimension size to be zero. I added test ↵Raymond Lu2011-04-203-0/+53
| | | | | | | | cases in the tests for h5dump and h5diff. I also added the test cases in the CMAKE script. Tested on jam. But I tested the same change in the trunk with h5committest.
* [svn-r20540] Description:Quincey Koziol2011-04-181-114/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r20538 & r20539 from trunk to 1.8 branch: Update with new warning flags for gcc 4.6.x Bring Coverity changes back to trunk: r20276: Add recursive is vlen string function. Cleanup resource leaks for issues: 200,202,329,688,811,812 r20277: Check types and close by adding error section: issue 687 r20278: Replaced implicit pointer conversion with (ocrt_info.new_obj != NULL). r20280: Addressed coverity issues 927-929 & 583. The real issue is failure to check file name length -- at least at the H5FD interface level. This needs more work, but at least I have dealt with the issue in H5FDfamily.c r20337: H5O_type_t obj_type = H5O_TYPE_UNKNOWN; r20338: Added udata.name = NULL; to prevent potential uninitialized use after done: label. r20339: coverity issues: 686,828,1670-1673,1707-1711 Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode FreeBSD/32 8.2 (loyalty) w/gcc4.6, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
* [svn-r20525] Description:Mike McGreevy2011-04-151-19/+44
| | | | | | | | Merge revisions 20475, 20502, and 20504 from trunk to 1.8 branch. Tested: Tested on jam, fred, bangan (CYGWIN), and h5committested.
* [svn-r20518] Description:Quincey Koziol2011-04-151-5/+12
| | | | | | | | | | | | | | | Correct test file name. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
* [svn-r20494] Purpose:Jonathan Kim2011-04-142-3/+20
| | | | | | | | | | | | | Fixed HDFFV-4342 : GMQS: h5dump test fails when source directory is read-only Description: Merged from HDF5 trunk r20488 and r20490. Updated h5dump test case script to prevent entire test failure upon source code directory is read-only. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, windows)
* [svn-r20386] Change error-stack test option from -E to --error-stackAllen Byrne2011-04-011-1/+1
|
* [svn-r20385] Purpose:Jonathan Kim2011-03-312-2/+3
| | | | | | | | | | | | | | | | | | | Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions Description: Merged from HDF5 trunk r20378 and r20379 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)
* [svn-r20365] BZ1725: H5DUMP displays type of reference for H5T_REFERENCEAllen Byrne2011-03-291-10/+6
| | | | bring r20349 from trunk
* [svn-r20288] Purpose:Jonathan Kim2011-03-221-6/+2
| | | | | | | | | | | | | | | Fixed Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in dataset or attributes Description: Merged from HDF5 trunk r20266, r20270 and r20285. 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), Cmake - jam
* [svn-r20268] Corrected expected fail tests for use during valgrindAllen Byrne2011-03-181-25/+6
|
* [svn-r20259] Windows compilers insist that variable declarations are before ↵Allen Byrne2011-03-161-5/+5
| | | | | | assignement statements Tested: windows
* [svn-r20253] Test control checks for running with valgrind.Allen Byrne2011-03-151-15/+39
| | | | Bring r20252 from trunk
* [svn-r20248] Change name of new VLEN function from H5Tdetect_vlen_str to ↵Allen Byrne2011-03-141-6/+39
| | | | | | | | | | 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. bring back from trunk r20247 Tested: local linux
* [svn-r20213] fixed bug 2183Peter Cao2011-03-092-0/+9
|
* [svn-r20212] Contary to ref man H5O_get_comment does not return null char in ↵Allen Byrne2011-03-091-1/+2
| | | | | | size. Bring r20211 from trunk
* [svn-r20183] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-041-47/+49
| | | | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Bring back from trunk Tested: local linux
* [svn-r20182] BZ2048: Add -E --enable-error-stack option to h5dump.Allen Byrne2011-03-043-7/+86
| | | | | | Brought from trunk after one week of tests. Tested: local linux
* [svn-r20158] Comment out reference to BZ2048 testsAllen Byrne2011-02-251-3/+3
|
* [svn-r20157] Bring CMake changes to branch up to r20156 from trunkAllen Byrne2011-02-251-13/+21
|
* [svn-r20133] Purpose:Jonathan Kim2011-02-213-0/+103
| | | | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: Merged from HDF5 trunk r20108 and r20132. h5dump skip displaying array indices every certain number when the array type dataset is relatively big. The certain number varies according to the size of each array. This checkin fix the skipping array indices problem. This fix also correct indentation of the dataset data output. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), Cmake - jam