Commit Graph

584 Commits

Author SHA1 Message Date
Allen Byrne
c326a3bd9c [svn-r23164] HDFFV-8285: H5dump suppress ddl option test script 2013-01-15 09:34:44 -05:00
Allen Byrne
2fba171a67 [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10 2013-01-14 13:35:30 -05:00
Allen Byrne
670fb1977b [svn-r23038] Corrected last array assignment to use X-1 values for index. 2012-11-16 09:13:55 -05:00
Allen Byrne
3e7f74caf1 [svn-r23034] Add scalar string test file and tests 2012-11-15 12:20:05 -05:00
Quincey Koziol
e9519f5e6a [svn-r22921] Description:
Review Coverity changes and bring them back to trunk. (QK & JK)

r20402:
Added #includes for h5tools.y or h5tools_utils.h as required to remedy implicit
function declarations which caused compiler warnings and coverity issues 703-4
and 708-11.

r20414:
This is related to the previous checkin r20399.  There were incorrect updates
which caused incorrect behavior when no file was given. Also possible segfault
when handling hyperslab options. Simplify the code changes.

r20449:
Description: Modified H5E_walk2_cb to check return value of H5I_object_verify.

r20450:
fixed coverity 813


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, debug & threadsafe
    (too minor to require h5committest)
2012-10-18 14:47:39 -05:00
Quincey Koziol
0324f05566 [svn-r22915] Description:
Bring Coverity changes back to trunk:


r20399:
Change parse_command_line to free hand structure on error and only "leave()" at end of main.

r20400:
Purpose: Fix coverity issue 592

Description: Added void cast to call to H5F_sfile_assert_num() in
H5F_term)interface().  There is no need to check the return value of this
function in general, and there would be nothing to do even if it did fail.

r20401:
Added free(src_sizes) and free(src_offset). --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe
    (too minor for h5committest)
2012-10-17 13:41:42 -05:00
Larry Knox
33504deb83 [svn-r22908] Reverted changes in revision 22819
Tested with h5committest on jam, koala and ostrich.
2012-10-16 16:38:58 -05:00
Allen Byrne
348e91e02f [svn-r22881] Correct datatype of scalar array of doubles
Tested: local linux
2012-10-10 16:08:44 -05:00
Larry Knox
c5371d7618 [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries.
Tested on jam,koala,ostrich(h5committest) and other THG machines.
2012-09-26 23:49:19 -05:00
Jonathan Kim
563990e64e [svn-r22816] Failed on Mac for testing tscalarintsize and tscalarattrintsize from daily test.
Larry mentioned that intel compiler was used on Mac for testing.
Allen requested comment it out.
"It is not scheduled for 1.8, I created the file for Java testing. Actually I 
have to create windows versions because of the use of floating point." - Allen
2012-09-26 15:21:36 -05:00
Allen Byrne
d834917bca [svn-r22795] Create scalar test files and h5dump tests.
Tested: local linux
2012-09-20 13:57:03 -05:00
Allen Byrne
3c69283e0b [svn-r22726] remove duplicate file line 2012-08-30 09:49:48 -05:00
Allen Byrne
6ce1aa0ffe [svn-r22725] Add other h5 files needed by pbits tests 2012-08-30 09:48:31 -05:00
Allen Byrne
b257bab294 [svn-r22720] Fix RelWithDebInfo packaging 2012-08-28 12:39:30 -05:00
Allen Byrne
7089b2cff0 [svn-r22716] HDFFV-8133: Add usage text to see Reference manual for compact subsetting. 2012-08-27 10:56:23 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
Allen Byrne
eb4fd07b5a [svn-r22674] Remove checks for filters are available because the h5dump tests never used the filters in the tests. "-H" option excludes data.
HDFFV-8125
2012-08-13 10:34:22 -05:00
Allen Byrne
79b2eb993e [svn-r22642] Correct check for filters in tools test 2012-08-08 12:03:44 -05:00
Jonathan Kim
840ad09105 [svn-r22617] Purpose:
Fix for HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree

Description:
  This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement."
  From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. 
  It's addressed by skipping if cp's src dir and dest dir is same.
  Also this applied for all other tools under src/tools dir.
  No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
2012-08-01 10:37:40 -05:00
Allen Byrne
4a6f93f895 [svn-r22588] HDFFV-721: h5dump supplies input for h5import
Tested: local linux with cmake
        jam with configure
2012-07-19 14:53:17 -05:00
Allen Byrne
2e3ab09a52 [svn-r22581] HDFFV-588: hdump restrictions on filename for split files. Added text and example to usage.
Tested: local linux
2012-07-16 13:21:05 -05:00
Allen Byrne
d06dd11291 [svn-r22577] Windows compilers require declarations at top of routine. 2012-07-16 10:08:03 -05:00
Allen Byrne
210d04b05f [svn-r22567] HDFFV-7784: add attributes to the list of file contents option for h5dump. This is accomplished by adding an optional value to the option (-n)
Created test and reference files.

Tested: local linux with cmake
2012-07-12 15:30:30 -05:00
Allen Byrne
6e0eb24b7b [svn-r22564] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:40:15 -05:00
Allen Byrne
b54b3fcf29 [svn-r22563] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:38:44 -05:00
Allen Byrne
4bba12dbee [svn-r22562] tattr-3err file missing from list in cmake 2012-07-12 08:56:25 -05:00
Allen Byrne
fa28c69b55 [svn-r22561] Add errfile to list.
Create missing errfile, edit ddl file for test only on linux (not using cmake).
2012-07-12 08:52:31 -05:00
Allen Byrne
d987b06112 [svn-r22556] HDFFV-7936: added error files in h5dump folder and adjusted scripts to compare error files.
Tested: local linux with cmake,
   jam with make check
2012-07-11 15:12:31 -05:00
Allen Byrne
4b29d11f74 [svn-r22552] update comment 2012-07-11 10:16:14 -05:00
Allen Byrne
61cb9cc547 [svn-r22550] Correct datatypes in generator and update files for test.
Tested: local linux with cmake
2012-07-11 09:03:53 -05:00
Allen Byrne
91d63fa0ae [svn-r22548] added test for "-w0" option
Tested: local linux
2012-07-10 14:51:56 -05:00
Allen Byrne
912daba464 [svn-r22546] Correct generation of testfile 2012-07-10 13:58:20 -05:00
Allen Byrne
87fe8971ed [svn-r22544] Add test to verify use of named datatypes
HDFFV-2687
Tested: local linux with cmake
2012-07-10 12:12:06 -05:00
Jonathan Kim
bb696c61ac [svn-r22541] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5dump tool.

Description:
  Update cmake script to fetch test files from any tools to a test directory
  and run test in organized manner. 
  Also keep the apperance similiar to shell script for better maintainance.
  
Tested:
  CMake (Windows and jam)
2012-07-10 10:37:14 -05:00
Allen Byrne
212cd31641 [svn-r22539] Correct indentation 2012-07-10 09:31:22 -05:00
Allen Byrne
17eca872f1 [svn-r22531] HDFFV-5942: sort options with contents option
Added static local variables in h5trav to hold the index_by and index_order values. Defaults are set.
H5dump only use of the trav_print function, added two parameters and passed in the sort_by and sort_order variables.

Tested: local linux
2012-07-09 14:41:17 -05:00
Allen Byrne
637df34074 [svn-r22528] HDFFV-4206: h5dump -w0 needed to be tested within the get option function.
Tested: local linux and all H5DUMP tests still work
2012-07-09 13:02:24 -05:00
Allen Byrne
6f5ba815f0 [svn-r22516] Add new testfiles for h5dump with eight varieties of ints and used in an Attribute and Compound datatypes.
Tested: local linux using CMake
2012-07-05 14:59:36 -05:00
Allen Byrne
afb0efe139 [svn-r22498] Add new test to linux script 2012-06-27 14:27:19 -05:00
Allen Byrne
a13344aefd [svn-r22496] Add file to test integer sizes for attributes
Tested: local linux
2012-06-27 13:26:16 -05:00
Allen Byrne
b608652f7e [svn-r22479] Remove subfolder tools from install command 2012-06-20 09:43:02 -05:00
Allen Byrne
eb5b8163f9 [svn-r22411] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
2012-05-25 12:39:07 -05:00
Allen Byrne
336a743068 [svn-r22405] HDFFV-8018: add INSTALL commands for packaging the pdb files for windows when configured with RelWithDebInfo
Tested: local linux and Windows
2012-05-24 16:50:06 -05:00
Allen Byrne
01553cb8f7 [svn-r22396] Correct missing clean filenames in h5dump make
Sync 518/trunk version and cpack info
2012-05-23 13:15:08 -05:00
Allen Byrne
b904ca7ec3 [svn-r22391] HDFFV-7999: h5dump did not display H5T_DSET_UTF8.
Changed if/else block to switch like in h5ls, and distinguished between ERROR and UNKNOWN.
Reviewed by JKM
Tested: local linux
2012-05-22 16:36:45 -05:00
Allen Byrne
2f8b5057c1 [svn-r22390] Break out the packed bits tests into a new script.
reconfigure on jam
Tested: local linux
2012-05-22 15:34:34 -05:00
Allen Byrne
8c138d7844 [svn-r22318] Use new function that combines two functions that check for vlen types. Based on code used in h5ls.
Tested: local linux
2012-04-26 09:51:36 -05:00
Dana Robinson
f1df456412 [svn-r22170] Removed extraneous svn executable properties from non-executable files. 2012-03-28 14:30:59 -05:00
Jonathan Kim
26cab92853 [svn-r22108] Purpose:
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)
2012-03-21 13:56:36 -05:00