Commit Graph

479 Commits

Author SHA1 Message Date
Allen Byrne
d7e8a93078 [svn-r24654] HDFFV-8640: Remove XLATE_UTILITY
Update tools testfiles
2014-01-28 11:11:22 -05:00
Allen Byrne
c80d8cbe61 [svn-r24468] tfilters.h5 was created and checked in on 21 Feb 05, rev 10060, and never regenerated. The code for scaleoffset continued to change and the number of params for scaleoffset changed from 7 to 20 on the checkin of 23 Mar 05, rev 10384.
The h5dump tests only looked at headers and never the data. Data reads would fail with invalid number of params (7 expected 20).
Regenerated file and replacement ddls updated.
New h5dump test will be added to read the data.
2013-11-26 17:08:33 -05:00
Allen Byrne
35b22a13a8 [svn-r24106] Add help text tests for h5dump and h5repack to the linux scripts. HDFFV-8498 merge from trunk.
Tested: local linux - cmake and autotools
2013-09-06 12:28:26 -05:00
Allen Byrne
8194f34ef7 [svn-r24072] Merge trunk cmake changes to 1.8 branch.
Also add default switch blocks to h5import.
Merge h5dump any_path option from trunk.

Tested: local linux
2013-08-26 10:35:15 -05:00
Allen Byrne
5c84b51030 [svn-r24024] JAVA-1714: CMake packaging for macs improved
HDFFV-7989: h5dump any_path and help text grouping
Added cygwin-64 support

Merged from trunk, tested local linux
2013-08-19 11:51:32 -05:00
Allen Byrne
82642132ba [svn-r23995] Correct printf % handling 2013-08-12 15:54:14 -05:00
Allen Byrne
a003143ded [svn-r23992] HDFFV-8490 and H5UNJAM file handling. Merge from trunk.
Tested: local linux
2013-08-12 14:54:49 -05:00
Allen Byrne
f6ffaf1f69 [svn-r23898] HDFFV-8476: Add optional arg to -A for excluding attributes.
Merged from trunk.

Tested: local linux
2013-07-15 10:53:17 -05:00
Allen Byrne
c103e99ca8 [svn-r23818] The forgotten testfile changes 2013-06-25 08:22:24 -05:00
Allen Byrne
e41f1a44b8 [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.
Tested: local linux
2013-06-14 09:24:27 -05:00
Peter Cao
a8b0ddf52b [svn-r23383] fixed HDFFV-8344 and HDFFV-8346: add info for user registered filter in h5dump 2013-03-19 13:48:23 -05:00
Allen Byrne
bc617d2b63 [svn-r23302] Remove old file names 2013-02-18 14:10:11 -05:00
Allen Byrne
1629fd1ee7 [svn-r23301] 2013-02-18 14:03:53 -05:00
Allen Byrne
6a98cfb434 [svn-r23187] HDFFV-8169: Binary output of String types are wrong
Merge from trunk
Add testfiles.
Tested: local linux
2013-01-22 10:38:36 -05:00
Allen Byrne
0bc6398ec4 [svn-r22721] HDFFV-8133: Add usage text to see Reference manual for compact subsetting. 2012-08-28 12:42:00 -05:00
Allen Byrne
c2491932d9 [svn-r22632] Merge from trunk revision 22631
tested: local linux
2012-08-06 09:18:55 -05:00
Allen Byrne
8d05b733b9 [svn-r22572] Re-Merge attr name with slash changes from trunk
Tested: localinux with cmake
2012-07-13 11:31:52 -05:00
Allen Byrne
d9ba5c234c [svn-r22571] HDFFV-7784,-8095,7936 merge from trunk
Tested: local linux with cmake
2012-07-13 10:18:27 -05:00
Allen Byrne
5096b7d3ec [svn-r22551] Merge changes from Trunk revision 22550 for:
HDFFV-4206, -7953, -5930, -2687, -5942

Tested: local linux with cmake
2012-07-11 10:15:21 -05:00
Allen Byrne
434466e58e [svn-r22517] HDFFV-7782: h5import testfiles duplicated to match testname. (Consistent naming)
Tested: local linux using CMake
2012-07-05 15:06:56 -05:00
Allen Byrne
588c5107ce [svn-r22397] Merge trunk changes for HDFFV-7999 and h5dump test script to branch 2012-05-23 13:31:42 -05:00
Quincey Koziol
34ada2e41d [svn-r22291] Description:
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
2012-04-17 15:59:36 -05:00
Jonathan Kim
d6f8aa5c53 [svn-r22121] Purpose:
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)
2012-03-22 11:21:00 -05:00
Allen Byrne
19206f5687 [svn-r22088] HDFFV-7957(7958): Correct use of ERROR_STACK for h5dump and tools.
Tested: local linux after week in trunk
2012-03-19 09:26:04 -05:00
Allen Byrne
e95d26cc66 [svn-r22044] HDFFV-7957-7958:
Add tools error stack and check return from H5Dreference call.
Add missing file update
2012-03-12 12:34:06 -05:00
Allen Byrne
5ffbfdee1e [svn-r22043] HDFFV-7839: Dangling link should not display error
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
2012-03-12 12:23:29 -05:00
Jonathan Kim
185cc9746b [svn-r22031] Purpose:
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
2012-03-06 10:41:55 -05:00
Allen Byrne
68d93b7f4e [svn-r22013] HDFFV-7560:
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
2012-03-02 09:21:13 -05:00
Jonathan Kim
26c62123eb [svn-r21866] Purpose:
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)
2012-01-06 11:17:22 -05:00
Allen Byrne
960b190655 [svn-r21812] HDFFV-2567 - added test for be generated files with at least 9 attributes at root
Tested: local linux
2011-12-05 15:16:50 -05:00
Allen Byrne
b15ebb546e [svn-r21621] Add H5_ff_F90.f90 file to legacy fortran projects
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
2011-10-20 13:50:19 -05:00
Allen Byrne
5f2eebe1b6 [svn-r21211] Correct location of xml schema files. JIRA HDFFV-7688 2011-08-10 15:51:44 -05:00
Jonathan Kim
b5fbe95269 [svn-r21018] Purpose:
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)
2011-06-22 16:22:33 -05:00
Raymond Lu
99030cf45c [svn-r20936] Issue 4278 - When reading data fails, the error message should 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.
2011-06-06 17:15:24 -05:00
Jonathan Kim
9625666950 [svn-r20928] Purpose:
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)
2011-06-03 10:49:16 -05:00
Jonathan Kim
c24a7a7ba8 [svn-r20886] purpose:
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)
2011-05-20 17:44:28 -05:00
Allen Byrne
a56750c9b5 [svn-r20802] Bring trunk revision 20798 to 1.8. Trunk changes passed overnight.
Tested: local linux
2011-05-12 12:23:43 -05:00
Allen Byrne
7706186b2f [svn-r20722] Refactor ext lib import and install.
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
2011-05-04 14:46:33 -05:00
Jonathan Kim
d0495e29cc [svn-r20616] Purpose:
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
2011-04-22 17:23:45 -05:00
Raymond Lu
4d0fbe96bc [svn-r20579] Bug 1386 - allowing dimension size to be zero. I added test 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.
2011-04-20 16:34:49 -05:00
Jonathan Kim
92897336ee [svn-r20494] Purpose:
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)
2011-04-14 11:30:31 -05:00
Jonathan Kim
183aaba8fc [svn-r20385] Purpose:
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)
2011-03-31 17:31:20 -05:00
Allen Byrne
7766d925a0 [svn-r20365] BZ1725: H5DUMP displays type of reference for H5T_REFERENCE
bring r20349 from trunk
2011-03-29 10:43:33 -05:00
Jonathan Kim
6d8bfb439c [svn-r20246] Purpose:
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)
2011-03-14 15:48:36 -05:00
Peter Cao
b1c27fd49e [svn-r20215] Added ddl file for testing bug 2183 2011-03-09 12:05:44 -05:00
Allen Byrne
e89007f621 [svn-r20182] BZ2048: Add -E --enable-error-stack option to h5dump.
Brought from trunk after one week of tests.

Tested: local linux
2011-03-04 08:34:18 -05:00
Jonathan Kim
6ac5999fe7 [svn-r20133] Purpose:
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
2011-02-21 17:30:59 -05:00
Allen Byrne
229e13fece [svn-r20045] Fix bz2127 by dynamically allocating storgae for comments.
Bring 20044 from trunk

Tested: local linux
2011-02-04 15:36:24 -05:00
Jonathan Kim
f134f15fcf [svn-r19992] Purpose:
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)
2011-01-25 16:01:17 -05:00
Allen Byrne
b07be6d521 [svn-r19916] Add hh modifier to signed char printf format string. Added h5dump test to verify that signed/unsigned datasets print correctly.
Solves problem on heiwa with Signed char of 8 bits
Tested: local linux, heiwa
2011-01-05 13:58:21 -05:00