summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branchAllen Byrne2012-05-232-0/+27
|
* [svn-r22291] Description:Quincey Koziol2012-04-171-3/+3
| | | | | | | | | | Bring r22287 from trunk to 1.8 branch: Clean up more FUNC_ENTER/FUNC_LEAVE macros and move H5D & H5T code toward the final design (as exemplified by the H5EA & H5FA code). Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & parallel
* [svn-r22121] Purpose:Jonathan Kim2012-03-228-0/+56
| | | | | | | | | | | | | | 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-r22088] HDFFV-7957(7958): Correct use of ERROR_STACK for h5dump and tools.Allen Byrne2012-03-1912-8/+260
| | | | Tested: local linux after week in trunk
* [svn-r22044] HDFFV-7957-7958:Allen Byrne2012-03-121-0/+4
| | | | | Add tools error stack and check return from H5Dreference call. Add missing file update
* [svn-r22043] HDFFV-7839: Dangling link should not display errorAllen Byrne2012-03-126-6/+154
| | | | | | | 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-r22031] Purpose:Jonathan Kim2012-03-061-206/+206
| | | | | | | | | | | | | | | | Task for HDFFV-7862 - Select data by chunk direction to improve performance in h5repack Description: h5repack sometimes became very slow when handling big chunked datasets in certain cases. (when chunk boundary doesn't match with a hyperslab boundary.) The main issue was from figuring out a hypeslab without considering chunk boundary to read from and write to such datasets. The update was made to figure out a better hyperslab unit with considering chunk boundary to improve performance for such cases prior to the update. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows
* [svn-r22013] HDFFV-7560:Allen Byrne2012-03-02112-2190/+10465
| | | | | | | | | | 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-r21866] Purpose:Jonathan Kim2012-01-062-0/+50
| | | | | | | | | | | | | | Fix for HDFFV-7838 h5ls: segfault for handling region reference in attribute with -v option Description: Segfault occurred when h5ls access region reference data in an attribute. This didn't occurred when -v option was used. The cause was "h5tool_format_t info;" struct variable members were accessed without proper values were assigned (was NULL), so printf failed later in the code. Merged from HDF5 trunk r21865. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), , cmake-Windows (32-LE)
* [svn-r21812] HDFFV-2567 - added test for be generated files with at least 9 ↵Allen Byrne2011-12-052-0/+119
| | | | | | attributes at root Tested: local linux
* [svn-r21621] Add H5_ff_F90.f90 file to legacy fortran projectsAllen Byrne2011-10-202-95/+11
| | | | | | 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-r21211] Correct location of xml schema files. JIRA HDFFV-7688Allen Byrne2011-08-1061-61/+61
|
* [svn-r21018] Purpose:Jonathan Kim2011-06-225-44/+104
| | | | | | | | | | | | | | | HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index Description: Merged from HDF5 trunk r21014. Fixed h5dump to display the first line of each element into correct position for multiple dimention array type. Before this fix, the first line of each element in array were displayed after the last line of previous element without moving to the next line (+indentation) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20936] Issue 4278 - When reading data fails, the error message should ↵Raymond Lu2011-06-061-1/+1
| | | | | | say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output. Tested on jam, koala, and heiwa.
* [svn-r20928] Purpose:Jonathan Kim2011-06-0353-159/+0
| | | | | | | | | | | | HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description: Merged from hdf5 trunk r20927. This is a subtask from 'HDFFV-7514 - gmqs: h5dump - improve effectiveness of testing scripts for handling expected output files'. 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)
* [svn-r20886] purpose:Jonathan Kim2011-05-20225-675/+0
| | | | | | | | | | | | | 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-121-0/+94
| | | | Tested: local linux
* [svn-r20722] Refactor ext lib import and install.Allen Byrne2011-05-047-7/+7
| | | | | | | | 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-r20616] Purpose:Jonathan Kim2011-04-2211-0/+56
| | | | | | | | | | | | | | 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-202-0/+19
| | | | | | | | 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-r20494] Purpose:Jonathan Kim2011-04-141-3/+0
| | | | | | | | | | | | | 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-r20385] Purpose:Jonathan Kim2011-03-3114-14/+37
| | | | | | | | | | | | | | | | | | | 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-294-8/+9
| | | | bring r20349 from trunk
* [svn-r20246] Purpose:Jonathan Kim2011-03-145-5/+25
| | | | | | | | | | | Fixed Bug 1904 - h5ls : usage of '-a' option is not clear to display expected output Description: Merged from HDF5 trunk r20231. Fixed incorrect content and improved help page for -a option of h5ls. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), cmake (jam)
* [svn-r20215] Added ddl file for testing bug 2183Peter Cao2011-03-091-0/+27
|
* [svn-r20182] BZ2048: Add -E --enable-error-stack option to h5dump.Allen Byrne2011-03-049-0/+37
| | | | | | Brought from trunk after one week of tests. Tested: local linux
* [svn-r20133] Purpose:Jonathan Kim2011-02-216-37/+3062
| | | | | | | | | | | | | | | | 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
* [svn-r20045] Fix bz2127 by dynamically allocating storgae for comments. Allen Byrne2011-02-043-0/+11
| | | | | | Bring 20044 from trunk Tested: local linux
* [svn-r19992] Purpose:Jonathan Kim2011-01-251-0/+15
| | | | | | | | h5dump: add dangling external link test case as part of Chicago project. Merged from hdf5 trunk r19971. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE)
* [svn-r19916] Add hh modifier to signed char printf format string. Added ↵Allen Byrne2011-01-051-0/+572
| | | | | | | h5dump test to verify that signed/unsigned datasets print correctly. Solves problem on heiwa with Signed char of 8 bits Tested: local linux, heiwa
* [svn-r19905] Corrected typo of offset in comment at top of reference filesAllen Byrne2011-01-044-4/+4
|
* [svn-r19900] Correct typo in commentAllen Byrne2010-12-311-1/+1
|
* [svn-r19897] Extend packed bits and testing to 64 bit integers.Allen Byrne2010-12-3043-4/+3100
| | | | Tested: local Linux
* [svn-r19752] Purpose:Jonathan Kim2010-11-093-0/+58
| | | | | | | | | | | | | | | Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is difficult to parse. Description: Update to add curly brackets for the nested compound members, when S (--simple) option is used with -l (--label), so user can tell which members blong to which compound type. Merged from hdf5 trunk r19751. Tested: jam (linux32-LE), amani (linux64-LE)
* [svn-r19287] Corrected name of file appearing in expected output.Allen Byrne2010-08-241-1/+1
| | | | (Missed edit from local test)
* [svn-r19280] Fix test scripts (Cmake needs to capture output yet)Allen Byrne2010-08-232-15/+21
| | | | | | linux script needed -R and double compare: Tested: local linux
* [svn-r19254] Description:Quincey Koziol2010-08-195-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring r19252 & 19253 from trunk to 1.8 branch: Bring Coverity changes from branch to trunk: r19161: Fixed the part for matching the subset info with dataset r19189: BZ1646: h5dump does not check number of dimensions for subsetting parameters against the dataset Changed subset_t structure from holding hsize_t pointers to holding new subset_d pointers, which hold the original hsize_t pointer + len. this len is then checked against dataset ndims in the handle_dataset function of h5dump. Changed all references to use new data structure. Added tests for each subset parameter. r19190: Added new h5dump ddl files Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r19198] [BZ1953]implementation for the proposed changes suggested by ↵Allen Byrne2010-08-091-0/+7
| | | | | | | the "h5dump_output_option" RFC. This required that the region reference code be duplicated and reduced to allow the do_bin_output() function to understand region references. The container type-id also needed to be propagated into the do_bin_output() function and functions referenced (render_bin_output*). Existing tests tested the binary function, so only one test was added to test the region reference generated file. Tested: local linux
* [svn-r19182] Description:Quincey Koziol2010-08-062-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | Bring r19179 from trunk to 1.8 branch: Bring changes from Coverity branch back to trunk: r19079 & 19080: [BZ1942] h5dump -u to generate XML, it does not respect the -m option xml version of dump_data function didn't check for use of fp_format variable. Added new test expected file for committed bug 1942 r19103, 19104 & 19105: [BZ1821] h5repack -v did not display correct output for a selected compression. Needed new test for comparing output of -v option. Added new test file for solution to BZ1821 BZ1821 - Bring test changes from the shell script actually used. Tested on: Mac OS X/32 10.6.4 (amazon) debug & production (h5committested on branch)
* [svn-r19053] Purpose:Jonathan Kim2010-07-0710-90/+214
| | | | | | | | | | | | Add --no-dangling-links option to h5ls. Description: Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code." If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error). Merged from hdf5 trunk r19051 Tested: jam, amani, heiwa
* [svn-r18946] Purpose:Jonathan Kim2010-06-0220-97/+271
| | | | | | | | | | | | | Support follow symbolic links. Description: Merged from hdf5 trunk r18943. Add '--follow-symlinks' option to follow symbolic links (soft and external). Update help page according to RM. Remove some warning messages from compiler. Tested: jam
* [svn-r18892] Improvment:Albert Cheng2010-05-257-28/+70
| | | | | | | Revised the online help page of h5dump to explain the packed bits feature and added an example too. Tested: h5committest plus jam tested with --disable-h5dump-packedbits.
* [svn-r18826] Added packed bits tests on Compound and Array data types.Albert Cheng2010-05-172-0/+86
| | | | Tested: AlbertPax. Will do h5committest after check in.
* [svn-r18821] Packed bits codes tidy up. Removed codes that are not neededAlbert Cheng2010-05-151-0/+0
| | | | | | | | | any more. Changed algorithm of creating mask which now sits at the least significant bits. Display data by down shift first and then mask it for display. Changed the variable names to reflect the new purpose better. Tested: AlbertPax (linux)
* [svn-r18794] Enhancement 1853:Albert Cheng2010-05-1313-57/+752
| | | | | | | | | | | | | | | | | | | | | | | | | | Install packed-bits feature for h5dump. testfiles/packedbits.h5: New HDF5 test data file. Generated by h5dump/h5dumpgentest. testfiles/tpbitsLengthPositive.ddl: testfiles/tpbitsMaxExceeded.ddl: testfiles/tpbitsSigned.ddl: testfiles/tpbitsOffsetNegative.ddl: testfiles/tpbitsUnsigned.ddl: testfiles/tpbitsMax.ddl: testfiles/tpbitsIncomplete.ddl: testfiles/tpbitsOverlapped.ddl: testfiles/tpbitsLengthExceeded.ddl: testfiles/tpbitsOffsetExceeded.ddl: Expected output files created to test various components of the packed-bits feature. testfiles/tpackedbits2.ddl: testfiles/tpackedbits.ddl: Previous output files no longer used. Tested: albertPax (linux)
* [svn-r18743] enhancement 1853:Albert Cheng2010-05-073-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | Install packed-bits feature for h5dump. Allen has installed the feature in the NPOESS feature branch. I ported it back to the v1.8 branch for v1.8.5 release. tools/h5dump/testh5dump.sh.in: Added tests for the packed-bits feature. tools/h5dump/h5dump.c tools/h5dump/h5dump.h Added code to parse and handled the packed-bits request. tools/lib/h5tools.h tools/lib/h5tools_str.c tools/lib/h5tools.c Added code to print packed-bits. tools/testfiles/tpackedbits2.ddl tools/testfiles/tnofilename-with-packed-bits.ddl tools/testfiles/tpackedbits.ddl Expected output files for packed-bits feature. Tested: h5committested the NPOESS branch. Tested in the linux VM machine in my Dove.
* [svn-r17493] Bring changes from trunk to tools lib, h5dump and error handling.Allen Byrne2009-09-176-28/+176
| | | | Tested: h5committest, local linux
* [svn-r17290] Added test targeted for bug 1520, which was fixed last week. ↵Allen Byrne2009-07-312-0/+14
| | | | | | The test generates an array datatype of ints larger than the display buffer. The bug was exposed when the buffer was reallocated. Tested: linux
* [svn-r17176] In H5Odtype.c, the decoding function used to mark the datatype ↵Raymond Lu2009-07-132-4/+4
| | | | | | | | | | as on disk. I changed it to undefined and let the caller functions decide the location of the datatype. For H5Tdecode, it should mark the datatype as in memory. For other callers like H5Dopen or H5Aopen, they should makr it as on disk. Tested it on jam, smirom, linew.
* [svn-r17078] Implemented nowrap option (Bug 811) equivalent to h5ls tool. ↵Allen Byrne2009-06-171-1/+3
| | | | | | Also updated usage output. Tested: linux