Commit Graph

12199 Commits

Author SHA1 Message Date
Allen Byrne
321bd966d9 [svn-r20357] Add missing declarations that caused linking errors on windows.
Tested: windows
2011-03-28 10:49:30 -05:00
Scot Breitenfeld
bcf7bc892e [svn-r20353] Bug 1752 - H5Lite Fortran APIs do not allow you to create 4 dimensional datasets (or greater)
* Fixed and tested the integer, real, double routines for creating and reading 
             dimensional dataset with ranks 4-7

Tested: jam (intel, gnu compilers)
2011-03-26 23:13:53 -05:00
Allen Byrne
bbd2a41075 [svn-r20352] Update Valgrind ignore list 2011-03-26 09:49:51 -05:00
Allen Byrne
8656f3a9a5 [svn-r20349] BZ1725: H5DUMP displays type of reference for H5T_REFERENCE
Tested: local linux
2011-03-25 16:19:25 -05:00
Allen Byrne
378dc5ec28 [svn-r20335] Remove unused windows defines. Add _CONSOLE to windows definitions. 2011-03-25 13:35:07 -05:00
Jonathan Kim
aa668a4f64 [svn-r20334] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    This is related to previous checkin r20294.
    Add help page update for verbose option level feature, which displays 
    useful information about attribute difference with -v1, --verbose=1 -v2 
    or --verbose=2 option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-03-25 12:02:03 -05:00
Allen Byrne
3c222141fd [svn-r20332] Correct clear-misc filename 2011-03-25 09:47:22 -05:00
Allen Byrne
19d9482f2e [svn-r20330] Adjust H5JAM tests for valgind execution 2011-03-25 09:15:56 -05:00
Raymond Lu
9cdb0a938c [svn-r20328] I added the vms/test/H5srcdir_str.h in the MANIFEST. 2011-03-24 17:10:23 -05:00
Allen Byrne
f1abdf0e5e [svn-r20324] Correct depends of test for examples and add clear test
Tested:local linux
2011-03-24 15:22:37 -05:00
Allen Byrne
e17033cb40 [svn-r20322] Correct depends of test for CPP examples and add clear test
Tested:local linux
2011-03-24 15:07:16 -05:00
Allen Byrne
d4a547aba8 [svn-r20320] Correct clear objects for H5MKGRP tests
Tested:local linux
2011-03-24 14:51:15 -05:00
Allen Byrne
8f12c469e2 [svn-r20318] Correct depends of test for ADD_H5COPY_TEST
Tested:local linux
2011-03-24 14:37:41 -05:00
Allen Byrne
ac9e605b8e [svn-r20316] Removed includes which are included with proper config checks in h5private.h.
Tested: local linux, windows
2011-03-24 14:26:19 -05:00
Raymond Lu
3e8dc8cccc [svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the trunk for VMS work 2011-03-24 13:33:45 -05:00
Allen Byrne
f960ff573e [svn-r20312] Change incorrect use of "struct stat" to use "h5_stat_t".
Also removed includes from top of file - they are included with proper config checks in h5private.h.
Changed name of Windows only gettimeofday function to avoid a define loop according to VS2008

Tested: local linux, windows
2011-03-24 12:21:42 -05:00
Allen Byrne
b2120ac993 [svn-r20310] Change incorrect use of "struct stat" to use "h5_stat_t". On windows, this used the wrong structure and caused crashes. Also removed includes from top of file - they are included with proper config checks in h5private.h.
Tested: local linux, windows
2011-03-24 10:32:58 -05:00
Allen Byrne
3c866e69a6 [svn-r20307] The TEST_REFERENCE EOL adjustment block needs to be included in the SKIP_COMPARE IF block 2011-03-24 08:30:29 -05:00
Allen Byrne
76abbdeff0 [svn-r20305] Add tests to h5import and 80% of h5jam
Tested: local linux
2011-03-23 16:23:11 -05:00
Jonathan Kim
4147de8d02 [svn-r20294] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    Previously h5diff compared attributes correctly only when two objects have 
    the same number of attributes and attribute names are identical.
    This fix covers all other cases.
    Also didn't display useful information about attribute difference.
    This fixes both issues.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-03-22 10:47:07 -05:00
Jonathan Kim
f92d2371ff [svn-r20285] Purpose:
Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when 
    compares vlen string in dataset or attributes

Description:
    Related to the previous checkin r20270 and r20266.
    Improve h5tools_detect_vlen() code for better performance. H5Tdetect_class
    already recusive on given type so don't need to be part of recusive call
    again. Also improve error handlings in h5tools_detect_vlen and 
    h5tools_detect_vlen_str functions.
    Also updated h5ls and h5dump code accordingly.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-21 18:02:31 -05:00
Allen Byrne
0fcb094698 [svn-r20282] Corrected expected fail tests for use during valgrind 2011-03-19 10:54:12 -05:00
Jonathan Kim
f845e716bc [svn-r20274] Purpose:
Fixed Bug 2214 - GMQS: h5diff - memory leak in diff()

Description:
    Memory leaks occurred when accessing symbolic links with --follow-symlink
    option. 
    Test cases are in testing script. (400 - 456, 501 - 518)
    An example test : valgrind  --leak-check=full  h5diff --follow-symlinks -v h5diff_softlinks.h5 h5diff_softlinks.h5

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-18 15:13:16 -05:00
Jonathan Kim
d697acbfb5 [svn-r20270] Purpose:
Improve the previous fix for Bug 2216 - GMQS: h5diff - memory leak when 
    compares vlen string in dataset or attributes

Description:
    Improve the fix along with the previous checkin r20266.
    Add a new function to tool lib, h5tools_detect_vlen_data() which return 
    TRUE if include any kind of vlen data all at once, either VLEN-data or 
    VLEN-string and so on.
    Also updated h5ls and h5dump code accordingly.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-18 13:50:19 -05:00
Allen Byrne
e038bf6eb7 [svn-r20267] Corrected expected fail tests for use during valgrind 2011-03-18 08:58:18 -05:00
Jonathan Kim
e8d97aef7d [svn-r20266] Purpose:
Fixed Bug 2216 - GMQS: h5diff - memory leak when compares vlen string in 
    dataset or attributes

Description:
    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), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
2011-03-17 18:00:14 -05:00
Allen Byrne
e54ede0976 [svn-r20265] Cleanup due to project file syncing with 1.8 branch 2011-03-17 09:23:02 -05:00
Raymond Lu
ebd388882b [svn-r20262] In my previous checkin (20255), I used H5Gcreate instead of H5Gcreate2 in my test. I just corrected it
.

Tested on jam.
2011-03-16 15:08:34 -05:00
Allen Byrne
3134225d82 [svn-r20260] Windows compilers insist that variable declarations are before assignement statements 2011-03-16 14:18:59 -05:00
Allen Byrne
825047de52 [svn-r20257] Corect name of test in test property 2011-03-16 10:47:50 -05:00
Raymond Lu
00b1747297 [svn-r20255] Bug 2115 - add H5_VERSION_GE and H5_VERSION_LE macros. I added a new test case to show how to use them.
Tested on jam and amani.
2011-03-15 15:55:05 -05:00
Jonathan Kim
bebb6059f9 [svn-r20254] Description:
h5ls is used to verify for the result, so change the two tests not to run 
    h5diff like others.
    This is related to the previous checkin SVN r18398 for Bug#1733.

Tested:
    jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), cmake (jam)
2011-03-15 15:37:17 -05:00
Allen Byrne
ab74a291f7 [svn-r20252] Add comment that indicates a "2" in the resultcode param means "skip h5diff" component of test 2011-03-15 13:42:13 -05:00
Allen Byrne
34dd499cdb [svn-r20251] Correct expected fail tests to check a result code of NOT 0 2011-03-15 12:43:50 -05:00
Allen Byrne
82b64c5e97 [svn-r20250] Enable memcheck of h5stat and h5diff tools 2011-03-15 12:32:34 -05:00
Allen Byrne
b72157681c [svn-r20249] Add test properties to H5LS for expected fail
Add SKIPPED to test name if test skipped, also do not run skipped tests if doing memcheck
2011-03-15 12:28:18 -05:00
Allen Byrne
5ed4eda59e [svn-r20247] Change name of new VLEN function from H5Tdetect_vlen_str to 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.

Tested: local linux
2011-03-14 16:03:20 -05:00
Allen Byrne
92f79b6734 [svn-r20243] Update CMake version to 2.8.4 2011-03-14 14:13:15 -05:00
Raymond Lu
9cfc4f8af3 [svn-r20241] Corrected an error in the comments for H5Oget_comment(_by_name) and H5G_loc_get_comment_cb: the return
value is the size of the comment excluding NULL terminator.

No test is needed.
2011-03-14 11:52:52 -05:00
Allen Byrne
ac3b230f0b [svn-r20239] Add HDFGroup to PACKAGE_NAME, as parent folder name for CPack installation configuration. 2011-03-14 11:49:31 -05:00
Jonathan Kim
af499b53eb [svn-r20231] Purpose:
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)
2011-03-11 10:48:24 -05:00
Allen Byrne
6182661d91 [svn-r20228] Add tools bin folder to installation variables 2011-03-10 16:12:42 -05:00
Albert Cheng
35e5cce530 [svn-r20226] Entered known problem of --with-mpe does not work with mpich2. 2011-03-10 14:11:02 -05:00
Allen Byrne
3a2d132d79 [svn-r20224] Add enable-error-stack option to new features-tools section.
Enable h5stat tests for valgrind testing.
2011-03-10 08:54:21 -05:00
Peter Cao
d9f4633983 [svn-r20223] Adding notes for fixing h5dump bug on -y -o options. 2011-03-10 08:38:42 -05:00
Allen Byrne
1eedd5b750 [svn-r20222] Correct mistake by declaring indexing variable removed from for at top of function. 2011-03-10 08:27:29 -05:00
Allen Byrne
55cd5326f3 [svn-r20221] Remove rougue 'int' inside for loop (cut-paste error) - windows complained. 2011-03-10 07:10:36 -05:00
Quincey Koziol
c956c2f03b [svn-r20219] Description:
Tell the VFL flush call that the file will be closing, allowing
the VFDs to avoid sync'ing the file (particularly valuable in parallel).

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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
2011-03-09 21:56:55 -05:00
Allen Byrne
0ff7a2d6e8 [svn-r20218] Valgrind fix for memory leak in print_datatype which used an allocation function in a printf().
Tested: local linux and valgrind
2011-03-09 16:12:04 -05:00
Allen Byrne
a76a2e1620 [svn-r20217] Valgrind indicated error in reading past end of buffer.
Tested: local linux and valgrind
2011-03-09 15:31:39 -05:00