summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r19153] Description:Quincey Koziol2010-07-291-43/+34
| | | | | | | | | | | | | | | | | | | | | | | | Bring changes on Coverity branch back to trunk: r19040: Fixed coverity #440 - NULL check after dereference. We moved the NULL check up into the IF block and changed it to assertion. r19041: Maintenance: Addressed Coverity issues 441 and 449 by initializing proper variables r19042: In function H5O_chunk_protect (H5Ochunk.c): - Initialize H5O_chunk_proxy_t pointers chk_proxy and ret_value. - Free chk_proxy on error. r19043: Addressed coverity issues 442 - 448 by initializing pointers to NULL. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)
* [svn-r19074] Added check for no encoding to determine result for testAllen Byrne2010-07-151-2/+7
| | | | Tested: Windows
* [svn-r19059] Brought changes from hdf5_1_8 to add version information for ↵Larry Knox2010-07-0911-0/+22
| | | | | | fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817). Tested with new/h5committest on amani, heiwa, and jam.
* [svn-r19057] Purpose: Jonathan Kim2010-07-081-0/+4
| | | | | | | | | | add reference file entries for the new test expected output files Description: This is dependent to r19051. Tested: Windows (cmake)
* [svn-r19051] Purpose:Jonathan Kim2010-07-0714-169/+355
| | | | | | | | | | | Add --no-dangling-links option to h5ls. Description: Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code." If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error). Tested: jam, amani and heiwa
* [svn-r19037] Added executable Linker Flag for MSVC static builds: ↵Allen Byrne2010-06-299-0/+228
| | | | | | | | /NODEFAULTLIB:MSVCRT Added VERSION vars for inclusion into auto snapshot version update script Tested windows
* [svn-r19034] Purpose:Jonathan Kim2010-06-281-0/+34
| | | | | | | | | | Change h5ls not to manipulate special characters in object name or attribute name for smart display. Description: Related to "But1784 h5ls has input and output issues with links that have '\' characters in them." Tested: jam, amani and linew
* [svn-r18985] Test feature: (bugs 1919)Albert Cheng2010-06-083-4/+28
| | | | | | | | | | | | | | | | Problem: some launching command like yod (and sometimes mpirun), do not pass back the exit code of the executables back to the shell. It always returns 0 if it can launch the executable. This cause tests that expect non-zero exit code to fail incorrectly. Short term Solution: Added the feature that if $RUNSERIAL_NOEXITCODE is defined, do not test conditions that rely on non-zero exit code. Tests: dove-linux using RUNSERIAL=thgyod to see the failures and using $RUNSERIAL_NOEXITCODE=yes to bypass the errors. Also h5committested.
* [svn-r18984] Description:Albert Cheng2010-06-071-3/+9
| | | | | | | Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: Tested in Dove-linux only since change is trivial and has passed in v1.8.
* [svn-r18958] Purpose:Jonathan Kim2010-06-031-12/+12
| | | | | | Fixed Windows compile error. Renamed to use 'gid1' and 'gid2' instead of 'grp1' and 'grp2'. Description: There is variable name confliction with 'grp1' ~ 'grp9' in Windows system. It occurs if H5private.h is included in the code.
* [svn-r18943] Purpose:Jonathan Kim2010-06-0224-218/+829
| | | | | | | | | | | | Support follow symbolic links. Description: Add '--follow-symlinks' option to follow symbolic links (soft and external). Update help page according to RM. Remove some warning messages from compiler. Tested: jam, amani and linew
* [svn-r18873] Purpose:Jonathan Kim2010-05-2115-142/+142
| | | | | | | | | | | Rename '--follow-links' to '--follow-symlinks' Description: The '--follow-links' option is to follow symbolic links (soft and external). Make the name more intuitive and specific to the feature. Tested: jam, amani and linew
* [svn-r18856] Added CPack commands for installtion programAllen Byrne2010-05-1910-3/+23
| | | | Tested: local linux and Windows
* [svn-r18831] Purpose:Jonathan Kim2010-05-171-5/+4
| | | | | | | Resolve build issue on Windows due to the location of variable definition. Tested: jam
* [svn-r18816] Move progname and d_status functions from h5tools to h5tools_utilAllen Byrne2010-05-144-34/+34
| | | | | Tested: linux and windows
* [svn-r18811] Removed references to packedbits filesAllen Byrne2010-05-141-3/+0
|
* [svn-r18808] Purpose:Mike McGreevy2010-05-143-3/+3
| | | | | | | | | | | | | | | | | | | Fixed file cleanup during make distclean / make check. Description: The h5jam Makefile and the h5importtestutil.sh script both included cleanup steps that removed "*.txt" from the directory. This resulted in the new CMake specific configuration file, CMakeLists.txt, getting blown away by make distclean (for h5jam) and make check (for h5import). I've removed the *.txt from the h5jam Makefile as the directory looks to be getting cleaned appropriately without it, and I've modified the h5import script h5importtestutil.sh to point to the specific .txt files to clean. Tested: jam
* [svn-r18793] Add files to support building library with CMakeAllen Byrne2010-05-1313-0/+2642
| | | | Tested: Local linux
* [svn-r18788] Added h5tools.h include to h5diff_common.h to fix warnings ↵Allen Byrne2010-05-131-2/+16
| | | | | | about the new progname and status functions Tested: local linux
* [svn-r18785] Description:Quincey Koziol2010-05-131-1/+1
| | | | | | | Fix unterminated comment. Tested on: None - just eyeballed.
* [svn-r18759] pull r18757 from 1.8 branchAllen Byrne2010-05-1134-481/+571
| | | | | | | | | Enable tools lib to be built as a dll on windows. Added two get/set functions for progname and d_status. Also add windows import/export declarations to functions. Updated error_mesg() and warn_mesg() to remove progname argument and use get functions Tested: Windows, linux
* [svn-r18709] Purpose:Mike McGreevy2010-05-0511-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Improve configure's large-file support control. Description: Modified configure to now attempt to add defines necessary for supporting largefiles on all systems, instead of solely on linux. This is in response to user requests to enable largefile support on Solaris by default, as well as to give extra control on AIX (instead of just jamming the necessary flag into the config files). The old --enable-linux-lfs flag has been removed in favor of the --enable-largefile flag (enabled by default), which can be used on all platforms. On systems where large files cannot be supported in this manner, configure will report as such. Tested: h5committest AIX (NCSA's blue_print machine) duty, liberty, and linew.
* [svn-r18650] Description:Quincey Koziol2010-04-278-12/+14
| | | | | | | | | | | | | | | | | | | Bring back various minor tweaks & cleanups from the revise_chunks branch. 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, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18648] In H5T_get_native_type of H5Tnative.c, I changed the way that ↵Raymond Lu2010-04-271-0/+1
| | | | | | | | | the offset, alignment, and size of nested compound type are calculated by using H5T_cmp_offset. The old way had a bug in it (see bug #1850). Tested on jam. I tested the same change for 1.8 on amani, linew, and jam.
* [svn-r18642] Purpose:Jonathan Kim2010-04-272-2/+7
| | | | | | | | | | Fix for Bug 1793 - h5ls on a non-existent file gives 0 return code Description: After the fix, h5ls returns 1 (EXIT_FAILURE) if non-existent file is given. Tested: jam, amani, linew
* [svn-r18614] Purpose:Jonathan Kim2010-04-226-160/+205
| | | | | | | | Fix for bug 1817 : h5copy fail to copy dangling link by specifying link path directly Tested: jam, amani, linew
* [svn-r18579] Purpose:Mike McGreevy2010-04-1511-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotool Upgrade / Libtool Bug Fix Description: Updated autotools referenced in bin/reconfigure as follows: Autoconf 2.64 --> Autoconf 2.65 Automake 1.11 --> Automake 1.11.1 Libtool 2.2.6a --> Libtool 2.2.6b-mcg The referenced libtool version is a custom version of 2.2.6b. It has been tweaked to fix a bug in libtool that occurs when using PGI 10.0 compilers. A check incorrectly categorizes the C++ compiler as version 1.0 instead of 10.0, and the link line is subsequently set up incorrectly and fails to compile. A patch has been made available and will be included in the next release of libtool, but in the meantime I've applied the patch to a custom installation as indicated above. This bin/reconfigure now references the custom installation, and the resulting configure script will correctly categorize the PGI 10.0 C++ compiler. Ran bin/reconfigure to regenerate configure and makefiles. Tested: jam and amani with PGI 10.0 compilers. h5committest
* [svn-r18548] Description:Quincey Koziol2010-04-131-1/+1
| | | | | | | Minor cleanups to compile with PGI C compiler 10.x. Tested on: Linux 2.4/32 (jam) w/PGI 10.x C and F90 compilers
* [svn-r18457] Purpose:Jonathan Kim2010-03-253-1/+455
| | | | | | | | | | | | | | | | | | | | Add test cases for bug1797 - h5repack doesn't handle references in compound and vlen datatypes for attributes Description: Add test cases ahead as waiting for H5Acopy to complete the fix. 1. obj references in attr of compound type 2. region references in attr of compound type 3. obj references in attr of vlen type 4. region references in attr of vlen type NOTE: This test is skipped now and will be included when code part is completed. ( H5Acopy() replaces copy_attr() ) The file&code can be used for lib portion test. Tested: jam, amani, linew
* [svn-r18454] Purpose:Jonathan Kim2010-03-257-403/+701
| | | | | | | | | | | | Fix for the bug1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE. Description: include test cases. also test cases for attribute with object and region reference. Tested: jam, amani, linew
* [svn-r18449] Purpose:Jonathan Kim2010-03-251-3/+3
| | | | | | | | Resolve build issue on Sloaris due to white space from the previous checkin r18447 Tested: jam, amani , linew
* [svn-r18447] Purpose:Jonathan Kim2010-03-241-5/+15
| | | | | | | | | | | | Bug1727 - NPOESS: h5copy should copy region references Description: Tested and added test cases from previous checkin r18319 Reference Manual and tool's usage section for '-f ref' option is updated for more comprehensibility. Tested: jam
* [svn-r18442] Purpose:Jonathan Kim2010-03-231-1/+2
| | | | | | | | | | | Resolve windows build issue from previous checkin r18425 Description: The previous checkin was for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Tested: jam
* [svn-r18425] Purpose:Jonathan Kim2010-03-185-5/+341
| | | | | | | | | | | | Fix for bug1814 - NPOESS: h5repack doesn't handle references to the groups as an element of a dataset Description: handles object reference to named-datatype as well. Add test cases. Tested: jam, amani, linew
* [svn-r18420] Description:Quincey Koziol2010-03-181-6/+3
| | | | | | | | | Re-run bin/reconfigure to catch up with recent rearrangements, remove some unused srcdir headers and duplicated code in main test header. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod Linux/32 2.6 (jam)
* [svn-r18419] Description:Quincey Koziol2010-03-181-22/+0
| | | | | | | | | Clean up srcdir querying code more, extracting it into single header file, to avoid compiler warnings. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod Linux/32 2.6 (jam)
* [svn-r18418] Description:Quincey Koziol2010-03-181-45/+0
| | | | | | | | Centralize common code for srcdir lookups. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod Linux/32 2.6 (jam)
* [svn-r18414] Description:Quincey Koziol2010-03-171-0/+15
| | | | Add copyright to new files
* [svn-r18413] Description:Quincey Koziol2010-03-178-19/+75
| | | | | | | | | | | | | | Unify srcdir handling for test executables and allow them to use the srcdir setting from configure time without requiring the 'srcdir' environment variable be set (although you still can, to override the built in setting). Attempted to get this right for Windows builds also. Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so that the test/testcheck_version.sh script works correctly. Tested on: Linux/32 2.6 (jam) Mac OS X/32 10.6.2 (amazon)
* [svn-r18399] Note: Jonathan Kim2010-03-093-0/+42
| | | | | | | | | | | missed to add extra files from previous check-in (r18398) Description: add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Tested: jam, amani and linew
* [svn-r18398] Description:Jonathan Kim2010-03-092-1/+239
| | | | | | | | add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Tested: jam, amani and linew
* [svn-r18331] Description:Jonathan Kim2010-02-241-16/+5
| | | | | | | | Update to use H5Gcreate2 instead of H5Gcreate. Remove mis-used type related code. Tested: jam, amani and linew
* [svn-r18329] Description:Jonathan Kim2010-02-241-1/+1
| | | | | | | Fix to handle $srcdir for nightly test as well as local testing Tested: jam, amani and linew
* [svn-r18320] Forgot to remove comments for cleaning up test.out file from ↵Jonathan Kim2010-02-231-3/+3
| | | | previous checkin r18319.
* [svn-r18319] Purpose:Jonathan Kim2010-02-235-21/+407
| | | | | | | | | | | Bug1727 - h5copy: add test cases for object and region references File added: tools/h5copy/testfiles/h5copy_ref.out.ls tools/h5copy/testfiles/h5copy_ref.h5 Tested: jam, linew
* [svn-r18317] Updated test script to match *nix shell script. Also corrected ↵Allen Byrne2010-02-231-1/+1
| | | | 629 file exit code
* [svn-r18312] Description:Jonathan Kim2010-02-231-15/+10
| | | | | | | move data1,data2 array declarations on top of each functions for Windows build Tested on Jam
* [svn-r18302] Description:Quincey Koziol2010-02-201-28/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | Tweak allocation of attribute tables created from densely stored attributes to allow for better cleanup on errors (like when the type of corruption from Bz#1755 is encountered). Also, add some code to h5dump to display an error message when the attribute iteration for an object fails. 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, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.2 (amazon) in debug mode Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18273] Purpose:Jonathan Kim2010-02-185-34/+1013
| | | | | | | | | | | | | | | | | | bugzilla 1754: h5diff: support comparing through links. Description: Fix incorrect (or hanging) behavior in parallel mode when specifying invalid combination of command options. (ex: -v and -q , --no-dangling-links without --follow-links) Add relate test case Update h5diffgentest.c due to add test files this and previous time Note: svn #18266 (prior to this) svn #18164 (original check-in) Tested: h5committest (jam, amani and linew)
* [svn-r18266] Purpose:Jonathan Kim2010-02-16116-1062/+1657
| | | | | | | | | | | | | | | bugzilla 1754: h5diff: support comparing through links. (original check-in svn revision #18164) Description: fix the hang issue in parallel mode when compare external-link. add --no-dangling-links option. add test cases (#450-#459) relate to the new option. improve test script to check exit code. update --help relate to the new options. correct some indentations. Tested: h5committest (jam, amani and linew)