summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20171] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-017-198/+225
| | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Tested: local linux
* [svn-r20168] BZ2048: Add -E --enable-error-stack option to h5dump.Allen Byrne2011-02-286-3/+119
| | | | Tested: local linux, heiwa, windows
* [svn-r20161] Correct test properties for test orderAllen Byrne2011-02-251-3/+7
| | | | Tested: local linux
* [svn-r20153] Move ext lib handling for ext project building to a common ↵Allen Byrne2011-02-249-24/+36
| | | | | | macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering. Tested: local linux, windows
* [svn-r20141] Bring 1.8 r20139 cmake and windows changes to trunkAllen Byrne2011-02-228-0/+107
|
* [svn-r20132] Purpose:Jonathan Kim2011-02-215-4/+1016
| | | | | | | | | | | | | | | | | 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-r20119] Description:Quincey Koziol2011-02-172-101/+102
| | | | | | | | | | | | | | | | | | | | Clean up MPI resource leaks in parallel tests, along with a bunch of compiler warnings. 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 Mac OS X/32 10.6.6 (amazon) in debug mode Mac OS X/32 10.6.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r20108] Purpose:Jonathan Kim2011-02-1510-46/+2157
| | | | | | | | | | | | | | 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-r20103] Purpose:Jonathan Kim2011-02-147-87/+66
| | | | | | | | | | | | Change to use HDxxx macros. Description: Originally this started for fixing incorrect pointer usage. But that got fixed through coverity merge. So this is mainly changing to use HDxxx macros and clean up some related code. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20070] Description:Quincey Koziol2011-02-091-1/+1
| | | | | | | Switch order of system includes, to correct error on FreeBSD machines. Tested on: FreeBSD/32 6.3 (duty) w/debug
* [svn-r20065] Description:Quincey Koziol2011-02-087-53/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to trunk: r19975: Fixed potential mem leak at H5O_attr_open_by_name r19980: Fix coverity issue 792. Free tmp_env_prefix in H5Lexternal.c line 365 if it is not NULL but its contents are 0 when it goes out of scope. r20039: Eliminate warnings about nested extern and implicit declarations of parallel_print and address Coverity defects 712-781 by #including h5tools_utils.h in h5diff_array.c, h5diff_attr.c, h5diff_dset.c and h5diff_util.c. r20046: Purpose: Address TOCTOU warnings in h5jam and h5unjam Description: Coverity is afraid that the state of the input file could change between the call to stat() and the call to open(). This is called a time-of- check time-of-use (TOCTOU) vulnerability. Modified stat calls to fstat which uses an open file pointer so it (hopefully) won't complain any more. r20047: Addressed coverity issues 135-137, 462-464. Local pointers that needed to be freed in case of error were moved out of a switch statement in src/H5Tnative.c, set to NULL, and checked before freeing. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r20061] Description:Quincey Koziol2011-02-082-169/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to trunk: r19930: Fix memory leaks involving VL attributes in h5repack and h5diff. The buffers in copy_attr and diff_attr were not checked for the presence of a vlen before being freed, and vlen storage was never reclaimed. Added checks and calls to H5D_vlen_reclaim(). r19933: Purpose: Fix memory leak in H5L_move_cb() Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed it manually using H5MM_xfree(). Since H5O_link_copy allocates the link using H5FL_MALLOC, this causes the link to be allocated from the free list but is never put back on the free list when it is freed. This prevents the link free list from shutting down properly. Modified H5L_move_cb() and H5L_move_dest_cb() to free the link properly using H5O_msg_free(). r19973: Fix resource leaks by freeing string created by HD5f2string r19974: Issue #345: Inialize buf variable to null Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r20060] Missing null character on return of get_comment - force \0Allen Byrne2011-02-071-2/+2
|
* [svn-r20057] Correct comment handling and remove cut/paste oversightsAllen Byrne2011-02-072-28/+25
| | | | merge r20056 from 1.8
* [svn-r20052] Description:Quincey Koziol2011-02-062-174/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up Coverity warnings, and fix some style issues: r19735: Fix for memory leak in test/mf found by valgrind. r19736: Fix memory leak in h5repack. The buffer in copy_objects, when copying the entire dataset at once, was not checked for the presence of a vlen, and vlen storage was never reclaimed. Added check and call to H5D_vlen_reclaim(). r19772: Change H5assert() to if (H5T_VLEN != src->shared->type || H5T_VLEN != dst->shared->type) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a H5T_VLEN datatype") r19774: removed unused priv. r19775: removed unused variables r19778: Fix memory leak comparing for variable length data types. r19834: Fixed memory leaks found by valgrind. Memory errors remain for another day. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on branch)
* [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.Allen Byrne2011-02-048-10/+61
| | | | Tested: local linux
* [svn-r20012] Use "if...else" to exclude the use when travt is null.Peter Cao2011-01-271-9/+8
|
* [svn-r20011] make sure that travt is nor nullPeter Cao2011-01-271-1/+1
|
* [svn-r20005] Purpose:Jonathan Kim2011-01-262-2/+0
| | | | | | | | Clean up tool code. Remove "h5test.h" from tool code. Currently only in h5repack. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE)
* [svn-r19971] Purpose:Jonathan Kim2011-01-213-0/+25
| | | | | | | 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-058-5/+793
| | | | | | | 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-r19909] Change how LINK_FLAGS for fortran are appended on WindowsAllen Byrne2011-01-051-1/+0
| | | | bring r19908 from 1.8 branch
* [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-049-24/+24
| | | | | | macro use for checking libtype. bring r19906 from 1.8 branch
* [svn-r19895] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-299-24/+0
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19892] Purpose:Jonathan Kim2010-12-285-315/+734
| | | | | | | | | | | | | | | | | | | Bug 2089 - GMQS: h5diff segfault on a compound dataset with fixed length + vlen string type order Description: This is fix for the segfault when h5diff compares a compound dataset with combination of fixed length string types and vlen string types in certain orders. Optimized vlariable length string handling codes. The fix is referred from h5dump handling vlen strings. For testing, several compound datasets were added with various combinations. Previous failed cases: - Vlen string, Fixed length string, Vlen string, Fixed length string - Fixed length string, Fixed length string, Vlen string, Vlen string - Fixed length string, Vlen string, Fixed length string, Vlen string Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r19850] Problem: AIX prints some error messages when MPI_Abort is ↵Albert Cheng2010-11-261-1/+9
| | | | | | | | | | called. That caused the output matching some problems. Solution: Add stderr filtering for AIX ERROR: messages. Tested: NCSA BP.
* [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.Larry Knox2010-11-2311-0/+33
| | | | Tested with h5committest on amani, heiwa, and jam.
* [svn-r19818] Purpose:Jonathan Kim2010-11-181-3/+9
| | | | | | | Change to skip copying when a dataset is not allocated. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
* [svn-r19799] Update valgrind ignore tests.Allen Byrne2010-11-171-0/+6
|
* [svn-r19792] Revised the valgrind ignore list, added simple execute command ↵Allen Byrne2010-11-164-0/+38
| | | | tests for when doing a valgrind test of tools that only use a cmake script for testing.
* [svn-r19759] Purpose:Jonathan Kim2010-11-111-4/+12
| | | | | | | | | | | | | | | | | | Fix compile error for Windows from previous checkin r19757. Description: Previous log: Improve h5diff performance. The following changes for improving h5diff performance: 1) use HDmemcmp() before comparing each elements (memcmp() is very fast at both linew and jam) 2) replace the expensive H5Tequals() calls 3) retrieve datatype information at dataset level not each element level for compound datasets Tested: jam (linux32-LE), Windows
* [svn-r19757] Purpose:Jonathan Kim2010-11-112-36/+132
| | | | | | | | | | | | | | | | Improve h5diff performance. Description: The following changes for improving h5diff performance: 1) use HDmemcmp() before comparing each elements (memcmp() is very fast at both linew and jam) 2) replace the expensive H5Tequals() calls 3) retrieve datatype information at dataset level not each element level for compound datasets Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r19751] Purpose:Jonathan Kim2010-11-096-2/+89
| | | | | | | | | | | | | | 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-r19731] Purpose:Jonathan Kim2010-11-051-1/+1
| | | | | | | | | | | | | Fix the test script from the previous checkin r19729. expect output is under misc/testfiles/ in srcdir. Previous Log: [BZ2072]Add compare output to expected test for help and version options of mkgrp. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r19729] Purpose:Jonathan Kim2010-11-041-3/+3
| | | | | | | | | | | | | Fix the test script from the previous checkin r19726 due to contiguous build system failure. Previous Log: [BZ2072]Add compare output to expected test for help and version options of mkgrp. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r19726] [BZ2072]Add compare output to expected test for help and ↵Allen Byrne2010-11-044-5/+76
| | | | | | version options of mkgrp. Tested: local linux
* [svn-r19725] Description:Quincey Koziol2010-11-041-1/+1
| | | | | | | | | | Add a little bit of extra info to the output from h5debug when displaying global heaps, and make it dump the file's superblock again when an address is not given on the command line. Tested on: FreeBSD/32 6.3 (duty) w/debug (too minor to require h5committest)
* [svn-r19712] Purpose:Jonathan Kim2010-11-025-30/+396
| | | | | | | | | | | | | | | Fixed h5diff to handle variable-length strings in a compound dataset correctly. Also variable-length string array in a compound dataset. Bug #1989. Description: Garbage values were displayed when h5diff compared variable-length strings (or string array) in a compound type dataset. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (Mac32)
* [svn-r19706] Added VFD test options.Allen Byrne2010-11-011-0/+36
| | | | Bring r19705 from branch
* [svn-r19691] Added new h5copy testAllen Byrne2010-10-281-7/+44
| | | | Tested: local linux
* [svn-r19679] Added h5mkgrp testsAllen Byrne2010-10-271-0/+81
| | | | | | Added valgrind test variables and increased Tested: Local linux
* [svn-r19654] Description:Quincey Koziol2010-10-211-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity revisions from branch back to trunk, and clean up some other misc. compiler warnings also. r19500: Fix coverity items 1446 and 1447. Moved up calls to memset in test_cont in ohdr.c so the test never tries to close uninitialized locations. r19501: Fix coverity items 1398-1445. Various uninitialized variable errors in fheap.c. r19502: Fixed coverity issue 579 and some additional warnings in the file as well. r19503: Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26 r19504: minor mods to try to keep coverity from flagging false positives. r19505: Fixed coverity issues 566 - 571. Declared variables that are passed to functions that use them as arrays to be arrays of size 1. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug, production & parallel (h5committested on trunk)
* [svn-r19637] Purpose:Jonathan Kim2010-10-191-291/+290
| | | | | | | | | | | | | | Fix nightly build error on non-linux platforms related to the Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. (r19633) Description: - Updated to use standard C functions instead of strndup() due to failure on non-linux platforms. - Changed to Use HDxxx macros for future reference. - Correct indentation. Tested: jam, amani, heiwa, linew
* [svn-r19633] Purpose:Jonathan Kim2010-10-183-26/+113
| | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Tested: jam, amani, heiwa
* [svn-r19605] Purpose:Jonathan Kim2010-10-153-107/+21
| | | | | | | | | | | Backout the previous changes (r19598): (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.) Description: Some failure occurred on talwit, so backout the changes and will put it back after the fix. (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19598.)
* [svn-r19598] Purpose:Jonathan Kim2010-10-143-21/+107
| | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. Expected to be failed. Tested: jam, amani, heiwa
* [svn-r19587] Description:Quincey Koziol2010-10-134-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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-r19548] Remove reference files from clearall commandAllen Byrne2010-10-081-3/+0
|
* [svn-r19527] Add clear generated objects commands to test blocks.Allen Byrne2010-10-068-49/+939
| | | | | | Add configurefile command to copy CTestCustom to build folder. Tested: local linux