summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23219] Description:Quincey Koziol2013-02-022-118/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring reviewed changes from Coverity branch back to trunk (QK & JK): r20457: Coverity issue 691: return of H5duo could be negative. Fixed by using STDOUT_FILENO and redesign parse_command_line and main to cleanup file allocations. The output_file var is null when using stdout. In cleanup do not close output_file if NULL. r20510: Initialize ufid = -1 and predicate HDclose call on ufid != -1 r20511: Purpose: Fix coverity issue 1715 Description: Free "file" and nested data on failure in H5FD_core_open. r20512: Initialize ifid = -1 and predicate HDclose call on ifid != -1 r20514: Initialize h5fid = -1 and predicate HDclose call on h5fid != -1 r20516: Added else branch to the if (ret_value < 0) check. r20522: Addressed coverity issues 930-933, 850, 836, 835, 1307. All minor potential buffer overwrite bugs, or coverity errors. Fixed by replacing strcpy and sprintf with strncpy and snprintf. r20523: fixed coverity issues 68, 1120, 1116i r20524: Check H5Z_SZIP->encoder_present < 1 assuming 0 represents absence. r20601: Purpose: Fix coverity issues 1703-1705 Description: Modified the cleanup code in test_free in accum.c to reset allocated buffers to NULL after they are freed, and modified the error cleanup code to check if these buffers are NULL before freeing them. Also fixed some unrelated warnings in accum.c. r20602: Use HDsnprintf and HDstrncat r20603: Purpose: Fix coverity issues 808-809 Description: Modified test_core in vfd.c to check the returns from malloc, and keep track of whether points and check are allocated by setting them to NULL when they are not. Added code to free points and check on error if they are not NULL. Also fixed unrelated warnings in vfd.c. r20604: Use HDstrncpy. r20605: Use HDstrncpy and HDstrncat. r20606: Purpose: Fix coverity issue 807 Description: Modified long_compact in stab.c to keep track of whether objname is allocated by setting it to NULL when it is not. Added code to free objname on error if it is not NULL. r20607: Changed string function calls to use versions that specify the string length to fix coverity issues 832 and 839. Tested on: Mac OSX/64 10.8.2 (amazon) (Too minor to require h5committest)
* [svn-r23217] add scalr vlen string datasetsPeter Cao2013-01-311-48/+63
|
* [svn-r23216] Add newline for special case of only raw data to stdoutAllen Byrne2013-01-313-4/+9
|
* [svn-r23209] Change "diff -b" to just "cmp" for tests. diff is for text ↵Allen Byrne2013-01-311-4/+4
| | | | files and the ddl redirect does not have an ending newline.
* [svn-r23208] adding a large compound dataset to the test filePeter Cao2013-01-301-27/+70
|
* [svn-r23206] minor fixes for number of attributes to be created.Peter Cao2013-01-301-27/+38
|
* [svn-r23205] correct a typo in the instruction.Peter Cao2013-01-301-1/+1
|
* [svn-r23204] Update help information.Peter Cao2013-01-301-1/+2
|
* [svn-r23203] Add test program to generate test file for checking performance.Peter Cao2013-01-301-0/+528
|
* [svn-r23198] Remove -q option from diff as some OS do not support it.Allen Byrne2013-01-241-1/+1
| | | | Tested: local linux
* [svn-r23195] Compares without end of file newlinesAllen Byrne2013-01-231-2/+2
| | | | Tested: duck
* [svn-r23193] Rename ddl export file and force file write on copy for windows.Allen Byrne2013-01-233-5/+5
| | | | Tested: local linux
* [svn-r23190] HDFFV-8285: Add suppress ddl option.Allen Byrne2013-01-2221-270/+516
| | | | Tested: local linux
* [svn-r23185] Comment out unimplemented testsAllen Byrne2013-01-221-25/+27
|
* [svn-r23178] Comment out unimplemented testsAllen Byrne2013-01-181-4/+4
|
* [svn-r23177] Adjust mkdir to create all dependent foldersAllen Byrne2013-01-183-3/+3
|
* [svn-r23176] Separate testfiles into subdirs of TestDir to avoid parallel ↵Allen Byrne2013-01-184-150/+232
| | | | | | test errors trying to copy a reference file over when already in use. Tested: local linux
* [svn-r23175] Comment out uncommitted tests.Allen Byrne2013-01-181-24/+24
|
* [svn-r23174] Correct list itemsAllen Byrne2013-01-171-5/+5
|
* [svn-r23173] export files must be handled differently on windowsAllen Byrne2013-01-171-30/+46
|
* [svn-r23170] Switch script to copy files to TESTDIR and executeAllen Byrne2013-01-161-11/+15
| | | | Tested: h5committest
* [svn-r23169] HDFFV-8169: String binary dump test scriptsAllen Byrne2013-01-162-4/+57
|
* [svn-r23168] HDFFV-8169: String binary dump testfilesAllen Byrne2013-01-162-0/+2
|
* [svn-r23166] Comment out redirect-ddl tests - incompleteAllen Byrne2013-01-152-28/+28
|
* [svn-r23164] HDFFV-8285: H5dump suppress ddl option test scriptAllen Byrne2013-01-151-7/+89
|
* [svn-r23163] HDFFV-8285: H5dump suppress ddl option testfile additionsAllen Byrne2013-01-159-0/+1735
|
* [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10Allen Byrne2013-01-1411-15/+107
|
* [svn-r23158] HDFFV-8169: h5dump incorrectly dumps a string into a binary fileAllen Byrne2013-01-141-1/+1
| | | | Tested: local linux
* [svn-r23055] Bug fix: HDFFV-8233Albert Cheng2012-11-261-2/+12
| | | | | | | | | | | | | testh5stat.sh fails in LLNL uDawn. The test actually ran as expected but it did not prepare for the extra error messages from the MPI process. Solution: This sort of problem has been fixed by using the output filters in output_filter.sh. testh5stat.sh is updated to use the output filters. Tested: uDawn.
* [svn-r23038] Corrected last array assignment to use X-1 values for index.Allen Byrne2012-11-161-1/+1
|
* [svn-r23035] Add scalar string test file and testsAllen Byrne2012-11-152-0/+28
|
* [svn-r23034] Add scalar string test file and testsAllen Byrne2012-11-153-7/+69
|
* [svn-r22998] Description:Quincey Koziol2012-11-012-23/+30
| | | | | | | | | | | | | | | | | | | | | | | Clean up warnings and bring changes from Coverity branch back to trunk: r20451: Fixed coverity 810 r20454: Purpose: Fix coverity issue 816 Description: Modified various file drivers to always check the return value from H5P_get_driver_info. r20455: Purpose: Cleanup fix for coverity issue 816 Description: Removed redundant check for "fa" in H5FD_core_open. Tested on: Mac OSX/64 10.8.2 (amazon) w/debug (Too minor to require h5committest)
* [svn-r22933] Purpose:Jonathan Kim2012-10-191-0/+18
| | | | | | | | | | HDFFV-8145 h5diff slowness with version >= 1.8.7 Description: Improved speed when comparing HDF5 files with lots of attributes. Much slower performance was identified with release version from 1.8.7 to 1.8.10 compared to 1.8.6. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), cmake (jam)
* [svn-r22921] Description:Quincey Koziol2012-10-188-263/+192
| | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r22915] Description:Quincey Koziol2012-10-171-7/+8
| | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-1612-26/+0
| | | | Tested with h5committest on jam, koala and ostrich.
* [svn-r22881] Correct datatype of scalar array of doublesAllen Byrne2012-10-106-24/+22
| | | | Tested: local linux
* [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that ↵Larry Knox2012-09-2712-0/+26
| | | | | | 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.
* [svn-r22816] Failed on Mac for testing tscalarintsize and tscalarattrintsize ↵Jonathan Kim2012-09-262-4/+8
| | | | | | | | | 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
* [svn-r22805] Purpose:Jonathan Kim2012-09-246-22/+143
| | | | | | | | | | | | | HDFFV-8012 - h5repack changes max dims and cause failure if only "-f none" is used without changing layout for chunked dataset when a chunk dim is bigger than a dataset dim Description: "h5repack -f <obj>:NONE <file.h5> out.h5" command failed if source file contains chunked dataset and a chunk dim is bigger than a dataset dim. Another issue is that the command changed max dims if chunk dim is smaller than the dataset dim. These issue occurred when dataset size is smaller than 64k (compact size limit) Fixed them. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
* [svn-r22795] Create scalar test files and h5dump tests.Allen Byrne2012-09-207-0/+699
| | | | Tested: local linux
* [svn-r22785] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate ↵Allen Byrne2012-09-182-0/+10
| | | | | | variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders Tested: jam with intel compilers
* [svn-r22751] Purpose:Jonathan Kim2012-09-1013-24/+34
| | | | | | | | | | | | HDFFV-5919 - GMQS: h5diff - The number of object difference is not consistent between dataset and group/type when attribute(s) have differences Description: Object differences are not consistent between dataset and group/datatype when their attribute(s) have differences. This is because attribute(s) differences is not accumulated to group or datatype object’s difference, but accumulated to dataset difference. To fix, do not accumulate attribute difference to dataset difference. This is referred to h5diff’s default behavior and also past report from users that users were confused by the accumulated behavior. (also can’t figure out only for dataset difference , also hard to spot dataset difference when it has lots of attributes or differences) This also lead to fix inconsistent format indicating difference between dataset and group/datatype object. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
* [svn-r22740] Correct typo on test commandAllen Byrne2012-09-051-1/+1
|
* [svn-r22726] remove duplicate file lineAllen Byrne2012-08-301-1/+0
|
* [svn-r22725] Add other h5 files needed by pbits testsAllen Byrne2012-08-301-0/+3
|
* [svn-r22720] Fix RelWithDebInfo packagingAllen Byrne2012-08-289-12/+12
|
* [svn-r22718] Remove unneeded srcdir testAllen Byrne2012-08-271-5/+0
|
* [svn-r22716] HDFFV-8133: Add usage text to see Reference manual for compact ↵Allen Byrne2012-08-279-153/+162
| | | | subsetting.