summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22391] HDFFV-7999: h5dump did not display H5T_DSET_UTF8.Allen Byrne2012-05-222-0/+27
| | | | | | Changed if/else block to switch like in h5ls, and distinguished between ERROR and UNKNOWN. Reviewed by JKM Tested: local linux
* [svn-r22287] Description:Quincey Koziol2012-04-161-3/+3
| | | | | | | | 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-r22108] Purpose:Jonathan Kim2012-03-218-0/+56
| | | | | | | | | | | 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: Update command line help page and test generating file. Previous commits: r22052, r22063 Tested: jam (linux32-LE), koala (linux64-LE), cmake (jam)
* [svn-r22077] Add example of multiple files for h5dump help text.Allen Byrne2012-03-158-8/+40
| | | | Tested: local linux
* [svn-r22075] Add test for multiple files with h5ls and h5dump.Allen Byrne2012-03-151-0/+6
| | | | Tested: local linux
* [svn-r22068] HDFFV-7876: wildcard filenamesAllen Byrne2012-03-143-0/+214
| | | | | | The test scripts for cmake, on windows, and the h5ls shell script do not work properly. Tested: h5committest
* [svn-r22052] - h5dump: Added capability for "-a" option to show ↵Peter Cao2012-03-126-7/+7
| | | | | | | | 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. See details at HDFFV-7523
* [svn-r22042] HDFFV-7957-7958:Allen Byrne2012-03-121-0/+4
| | | | | Add tools error stack and check return from H5Dreference call. Tested: CMake and h5committest
* [svn-r22029] Add reference file to test listAllen Byrne2012-03-063-0/+58
| | | | | | Add error-stack to tests Tested: local linux
* [svn-r22027] HDFFV-7839: Dangling link should not display errorAllen Byrne2012-03-053-6/+96
| | | | | | | 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: local linux and jam
* [svn-r22012] Purpose:Jonathan Kim2012-03-011-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-r21991] Cleanup minor issues found during 518 mergeAllen Byrne2012-02-271-86/+0
|
* [svn-r21962] Reference file missing a return - now "be" version is similiar ↵Allen Byrne2012-02-201-0/+1
| | | | to "le" version whitespace
* [svn-r21953] HDDFV-7560: h5dump refactoringAllen Byrne2012-02-17102-2193/+10442
| | | | Tested: local linux
* [svn-r21931] HDFFV-7689 - could not not use a "[" character in a dataset name.Allen Byrne2012-02-1311-1/+28
| | | | | | A second problem also discovered was an if statement that should have comapered lengths of a string actually was comapring addreeses. Once thatt was fixed, The "[" character could be used but broke other functionality. Consultation with tools team resulted in the creation of a "--no-subset" option to disable interpretation of "[" character as a subsetting compact-form. This also eliminated and cleaned up the code containing the plomatic if statement. Tested: local linux and added test, CMake updated autotools test to be added next.
* [svn-r21865] Purpose:Jonathan Kim2012-01-052-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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake-Windows (32-LE)
* [svn-r21814] 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-r21210] Correct location of xml schema files. JIRA HDFFV-7688Allen Byrne2011-08-1061-61/+61
| | | | Tested: local linux
* [svn-r21014] Purpose:Jonathan Kim2011-06-215-44/+104
| | | | | | | | | | | | | | HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index Description: 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), Windows (32-LE)
* [svn-r20929] Issue 4278 - When reading data fails, the error message should ↵Raymond Lu2011-06-031-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-r20927] Purpose:Jonathan Kim2011-06-0253-159/+0
| | | | | | | | | | | HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description: 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), Windows (32-LE), Cmake (jam)
* [svn-r20869] Purpose:Jonathan Kim2011-05-19226-678/+0
| | | | | | | | | | | HDFFV-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files Description: Fist 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), linew (solaris-BE), Windows (32-LE), Cmake (jam)
* [svn-r20796] Refactor print_data_region_blocks/ponts to remove context ↵Allen Byrne2011-05-111-0/+94
| | | | | | | | passed in by value. The print functions needed an independent context with only the current indent level passed in by argument. Also synched the two routines logical flows and corrected a mem_space error. h5dump (and h5stat, h5jam/h5unjam) help option not tested. Added h5dump parse_command_line technique for h5stat and h5jam/unjam and created testfiles. Tested: local linux
* [svn-r20713] Packed Bits Merge:Allen Byrne2011-05-037-7/+7
| | | | | | | | | removed option defines and #ifdef/#endif refactored all printf to HDfprintf in h5dump.c formatted and indention improvements synched with 1.8 branch Tested: local linux
* [svn-r20677] Merge packed bits option from 1.8 branch to trunk. CMake only. ↵Allen Byrne2011-04-2953-0/+4079
| | | | | | Autotools merge to come. Tested: local Linux
* [svn-r20595] Purpose:Jonathan Kim2011-04-2111-0/+56
| | | | | | | | | | | | | HDFFV-5948 - CHICAGO: Tools - implement missing external link test cases Description: 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)
* [svn-r20577] 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, linew, and amani. Tested CMAKE on jam.
* [svn-r20488] Purpose:Jonathan Kim2011-04-121-3/+0
| | | | | | | | | | | Fix HDFFV-4342 : GMQS: h5dump test fails when source directory is read-only Description: 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)
* [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-306-6/+22
| | | | | | | | | | | | | | | | | | | 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-r20349] BZ1725: H5DUMP displays type of reference for H5T_REFERENCEAllen Byrne2011-03-253-8/+8
| | | | Tested: local linux
* [svn-r20231] Purpose:Jonathan Kim2011-03-115-5/+25
| | | | | | | | | | 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-r20204] Add test case for check -y -o optionsPeter Cao2011-03-081-0/+27
|
* [svn-r20168] BZ2048: Add -E --enable-error-stack option to h5dump.Allen Byrne2011-02-283-0/+31
| | | | Tested: local linux, heiwa, windows
* [svn-r20132] Purpose:Jonathan Kim2011-02-212-1/+1013
| | | | | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: improve the test case from previous checkin r20108, which also display dataset via region reference. Previous Log: 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), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20108] Purpose:Jonathan Kim2011-02-156-37/+2050
| | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: 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), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.Allen Byrne2011-02-043-0/+11
| | | | Tested: local linux
* [svn-r19971] Purpose:Jonathan Kim2011-01-211-0/+15
| | | | | | | h5dump: add dangling external link test case as part of Chicago project. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r19941] Purpose:Albert Cheng2011-01-121-0/+0
| | | | | | | | | | | | | | | | | | | | | | | Moved the two shape same tests from testphdf5 to a separated executables, named t_shapesame. The shape same tests runs too long for testphdf5. In a separated executalbe, it will be easier to separate any errors in testphdf5 sub-tests from the shape same tests. t_shapesame.c: Contains the shape same tests (cloned from t_rank_projection.c) plus a duplicate of "testphdf5.c" for now. After verifying it is correct, more cleanup is needed. testphdf5.c: Removed the two shape same tests (chsssdrpio & cbhsssdrpio). Makefile.am: Makefile.in: Added t_shapesame as a new test executable. Removed t_rank_projections.c from part of testphdf5. testph5.sh.in: Temporary added the "t_shapesame -p" test for testing shape same tests with MPIO-Posix VFD. Tested: h5committested, plus serial jam.
* [svn-r19918] Add hh modifier to signed char printf format string. Added ↵Allen Byrne2011-01-052-0/+572
| | | | | | | h5dump test to verify that signed/unsigned datasets print correctly. Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits Tested: local linux
* [svn-r19751] 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. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32)
* [svn-r19587] Description:Quincey Koziol2010-10-131-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Address issue with object headers being created getting evicted from the metadata cache cache before they are completely initialized. This is done by pinning the object header in the cache until it is completely initialized and attached to a group. 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 Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19286] Corrected name of file appearing in expected output.Allen Byrne2010-08-241-1/+1
| | | | (Missed edit from local test)
* [svn-r19282] 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-r19252] Description:Quincey Koziol2010-08-195-0/+27
| | | | | | | | | | | | | | | | | | | | | | | 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 branch)
* [svn-r19202] [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-r19179] Description:Quincey Koziol2010-08-052-0/+72
| | | | | | | | | | | | | | | | | | | | | | 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-r19051] 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). Tested: jam, amani and heiwa
* [svn-r18943] Purpose:Jonathan Kim2010-06-0220-97/+271
| | | | | | | | | | | | Support follow symbolic links. Description: 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, amani and linew
* [svn-r17899] Description:Quincey Koziol2009-11-171-0/+0
| | | | | | | | | | | | | | | | | | | | | | *sigh* Bring along another updated file after recent object header message info update. 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 (smirom) 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, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.2 (amazon) in debug mode Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode