summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r21901] Purpose:Jonathan Kim2012-01-301-63/+74
| | | | | | | | | | | | | HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools Stage2 working for h5repack cmake test. Description: Update cmake script to clean up correctly. Revisit h5repack cmake test script updated from r21870. Also sync with HDF5 trunk. (Jira 2605) Tested: cmake test for Windows (32-LE) and jam (linux32-LE)
* [svn-r21892] Purpose:Jonathan Kim2012-01-254-11/+26
| | | | | | | | | | | | | | | | Fix for HDFFV-7836 h5diff: displays error stack message for comparing the two dangling symlink with follow-symlinks option Description: While ago, to improve performance, skipping same object checking (h5tools_is_obj_same()) was added. However the checking function doesn't understand about the dangling link and caused the issue. Since handling dangling link code section already implemented, move the checking function after handling dangling-links to address the problem. Test was added and tagged with jira#. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r21875] Purpose:Jonathan Kim2012-01-125-56/+44
| | | | | | | | | | | | | | HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools Stage2 working for h5copy tool. Description: Update cmake script to fetch test files from anywhere. Also keep the apperance similiar to shell script for better maintainance. some updated shell script. Merged from HDF5 trunk r21874 Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r21873] Update a comment to make clear from the previous commit ↵Jonathan Kim2012-01-111-2/+3
| | | | (r21870) for HDFFV-7840.
* [svn-r21870] Purpose:Jonathan Kim2012-01-104-57/+87
| | | | | | | | | | | | | | | Fix for HDFFV-7840 h5repack: memory leak over one of the h5diff test file Description: Turned out that there were two causes of memory leaks. 1. for handling variable length string in attribute. 2. for handling compound type with non-reference members. The first issue is fixed in copy_attr() which is updated to use h5tools_detect_vlen to take care of vlen string as well as vlen data. The second is fixed in copy_refs_attr() of compound handling code. Merged from HDF5 trunk r21869. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r21866] Purpose:Jonathan Kim2012-01-065-4/+86
| | | | | | | | | | | | | | Fix for HDFFV-7838 h5ls: segfault for handling region reference in attribute with -v option Description: Segfault occurred when h5ls access region reference data in an attribute. This didn't occurred when -v option was used. The cause was "h5tool_format_t info;" struct variable members were accessed without proper values were assigned (was NULL), so printf failed later in the code. Merged from HDF5 trunk r21865. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), , cmake-Windows (32-LE)
* [svn-r21817] Description:Jonathan Kim2011-12-061-0/+4
| | | | | | | Add test case to unix test-script for "HDFFV-2567 - added test for be generated files with at least 9 attributes at root". It's committed previously as r21812 along with Cmake test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r21812] HDFFV-2567 - added test for be generated files with at least 9 ↵Allen Byrne2011-12-053-0/+125
| | | | | | attributes at root Tested: local linux
* [svn-r21805] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-0511-11/+11
| | | | standard 2.8.6
* [svn-r21717] Update cmake configurationAllen Byrne2011-11-0410-0/+28
| | | | | | | Update cmake to generate source folders in VS Brought parallel changes from trunk Tested: local linux
* [svn-r21660] Purpose:Jonathan Kim2011-10-249-32/+78
| | | | | | | | | | | | HDFFV-7770 - h5diff segmentation fault on JPSS files Description: Fixed segfault over non-comparable attribute with different dimention or rank, along with '-c' option to display details. Merged from HDF5 trunk r21658. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows, Cmake
* [svn-r21646] Port r21603 to 1.8 branchNeil Fortner2011-10-211-1/+1
| | | | | | | | | | | | | | | Purpose: Add generic skip list implementation Description: Added new H5SL_TYPE_GENERIC skip list type, which uses void *'s as keys and a client-supplied callback for key comparison. This was added to support the upcoming "merge named datatype" feature for H5Ocopy, but may be used in other places as well. Also added testing. Also fixed a potential bug with the H5SL_TYPE_OBJ implementation, and added testing for that. Tested: jam, koala, heiwa (h5committest), durandal
* [svn-r21631] Port revisions 21629 and 21630 to 1.8 branchNeil Fortner2011-10-201-87/+87
| | | | | | | | | | Purpose: Update fix committed in r21556 Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
* [svn-r21621] Add H5_ff_F90.f90 file to legacy fortran projectsAllen Byrne2011-10-204-115/+27
| | | | | | Replace contents of tnofilename.ddl with contents from tnofilename-with-packed-bits.ddl and use tnofilename.ddl in h5dump test scripts Test local linux: cmake
* [svn-r21605] Back out r21604 (wait for code freeze to be lifted)Neil Fortner2011-10-181-1/+1
|
* [svn-r21604] Port r21603 to 1.8 branchNeil Fortner2011-10-181-1/+1
| | | | | | | | | | | | | | | Purpose: Add generic skip list implementation Description: Added new H5SL_TYPE_GENERIC skip list type, which uses void *'s as keys and a client-supplied callback for key comparison. This was added to support the upcoming "merge named datatype" feature for H5Ocopy, but may be used in other places as well. Also added testing. Also fixed a potential bug with the H5SL_TYPE_OBJ implementation, and added testing for that. Tested: jam, koala, heiwa (h5committest), durandal
* [svn-r21488] Bug:Albert Cheng2011-10-071-4/+4
| | | | | | | | | | | h5dump was used in test script but was not invoked by RUNSERIAL. THis does not work in batch machines like Blue Gene in LLNL. Solution: Added $RUNSERIAL to invoke $H5DUMP_BIN. Tested: LLNL BlueGene (udawn)
* [svn-r21458] Problem:Albert Cheng2011-10-041-0/+10
| | | | | | | | | | | Function TOOLTEST_OUTPUT does not filter the extra system messages sent to stdout or stderr, thus causing output mismatched with expected output. Solution: Added STDOUT_FILTER and STDERR_FILTER to filter them out. Tested: Tested LLNL uDawn (Blue-Gene cluster), for serial mode only.
* [svn-r21421] Merged the Fortran 2003 changes from the trunk into the 1.8 ↵Scot Breitenfeld2011-09-2711-0/+33
| | | | | | | | | | | branch, used: svn merge -r 20506:21414 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Tested: jam (gnu, intel, pgi compilers) Also merged effected non-Fortran files: svn merge -r21247:r21248 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/src/libhdf5.settings.in
* [svn-r21414] Description:Jonathan Kim2011-09-231-2/+8
| | | | | | | | | | | Skip parallel diff test "-c non_comparables1.h5 non_comparables2.h5" due to hanging issue occurring on koala (linux64-LE) intermittently. Plan to put back when resolved. The test was related to J7693. Merged from HDF5 trunk r21413. Tested: jam (linux32-LE), koala (linux64-LE)
* [svn-r21404] Purpose:Jonathan Kim2011-09-2127-40/+306
| | | | | | | | | | | | | | | | | | | | | | HDFFV-7693 - h5diff produces different behavior between versions: 1.8.3 and 1.8.6 Description: There were two issues on this. One was not displaying all the comparable objects if non-comparable object/attribute exist and compared before comparables ones. This issue occurred after 1.8.4 release. This is the issue from user. The other issue was not displaying all the comparable attributes, if non-comparable object/attribute exist and compared ahead. This issue were exist even before 1.8.4 release. So it's possible some attribute comparison may have not displayed correctly in the past, if non-comparable data were exist in common object. Fixed h5diff to display all the comparable object and attribute regardless of non-comparables. Merged from HDF5 trunk r21396 and r21397. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Windows)
* [svn-r21400] Purpose:Jonathan Kim2011-09-204-164/+333
| | | | | | | | | | | | | HDFFV-5932 - h5repack breaks files with dimension scales Description: - Fixed h5repack to update values of references(object and region) of attributes in h5repack for 1) references, 2) ARRAY of references, 3) VLEN of references, and 4) COMPOUND of references. - Merged from HDF5 trunk 21393, 21382, 21386, 21389. (support Peter) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
* [svn-r21379] The tools used "%hhd" to print signed char. But VMS doesn't ↵Raymond Lu2011-09-133-3/+19
| | | | | | know it. So I used H5_VMS to have a different way ("%hd") to print it. Tested on jam and VMS.
* [svn-r21376] JIRA-HDFFV-2748: Relplace WIN32 macros in source. New ↵Allen Byrne2011-09-122-3/+3
| | | | | | | | H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines only need to be set on windows. Autotools configure is not affected. Trunk passed for a week and cmake branch has been in place > 3 weeks. Tested: local linux
* [svn-r21368] Purpose:Jonathan Kim2011-09-067-35/+710
| | | | | | | | | | | HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen) Description: - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound) - Merged from HDF5 trunk r21358. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r21356] Issue 7674 - CLANG compiler complained about the line (about 800):Raymond Lu2011-09-021-10/+48
| | | | | | | | | | tempint = (tempint >> packed_data_offset) & packed_data_mask; The right shift may cause undefined behavior if PACKED_DATA_OFFSET is 32-bit or more. For every kind of native integers, I changed the code to make it zero if PACKED_DATA_OFFSET is greater than or equal to the size of integer. Tested on jam and on MacOS with CLANG compiler.
* [svn-r21355] Purpose:Jonathan Kim2011-09-021-6/+3
| | | | | | | | | | | | | | HDFFV-2511 - GMQS: h5repack: some tests failed in -q32 AIX Description: - Need to be Merged from HDF5 trunk r21283 also, which was missed from previous checkin. - Previously Merged from HDF5 trunk r21265 - Added macro to handle failure in H5Dread/write when memory allocation failed inside the library. Add graceful error message when lack of memory error occurs from HDF5 lib. (XCAO) Tested: jam (linux32-LE), koala (linux64-LE)
* [svn-r21344] Purpose:Jonathan Kim2011-08-311-11/+37
| | | | | | | | | | | | HDFFV-2511 - GMQS: h5repack: some tests failed in -q32 AIX Description: - Merged from HDF5 trunk r21265 - Added macro to handle failure in H5Dread/write when memory allocation failed inside the library (XCAO) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r21337] Synchronize cmake files with tested commits from trunk, windows ↵Allen Byrne2011-08-308-106/+171
| | | | parallel diff
* [svn-r21297] Move all tests into DEPENDS structure so that clear-all-objects ↵Allen Byrne2011-08-231-310/+317
| | | | | | is first. Also preface all tests with H5REPACK.
* [svn-r21281] Correct IF/ENDIF argumentsAllen Byrne2011-08-221-2/+2
|
* [svn-r21264] Purpose:Jonathan Kim2011-08-199-61/+299
| | | | | | | | | | | | | | | | | | | | | Work for: HDFFV-7515 - GMQS: h5unjam - incorrect help page and should display when no file is given. and HDFFV-5941 - h5jam: specifying a user block file with a proper HDF5 magic number will result in a corrupted HDF5 file. Description: - Merged from HDF5 trunk r21236, - Revised command help pages of h5jam and h5unjam. The descriptions were not up to date and some were missing. (HDFFV-7515) - Fixed h5jam not to allow specifying an HDF5 formatted file as input file for -u (user block file) option, because the original HDF5 file will not be accessible if allows. (HDFFV-5941) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake (jam, win)
* [svn-r21239] Description:Jonathan Kim2011-08-174-6/+57
| | | | | | | | | Merged from HDF5 trunk r21237. Add test cases for HDFFV-7656 - "--delta=something" considers two NaN of the same type are different. The fix was added (r21105) before but test cases were incorrectly added and missing for cmake script. Tested: jam (linux32-LE), koala (linux64-LE), tejeda (mac32-LE), cmake (jam)
* [svn-r21216] Alter clear-objects tests to mate with test that generates ↵Allen Byrne2011-08-103-60/+128
| | | | | | object file. Tested: local linux
* [svn-r21211] Correct location of xml schema files. JIRA HDFFV-7688Allen Byrne2011-08-1062-66/+66
|
* [svn-r21165] Remove subfolder in library installAllen Byrne2011-08-011-6/+6
| | | | Tested: local linux
* [svn-r21151] Description:Jonathan Kim2011-07-268-94/+132
| | | | | | | | | | | | | Merged from HDF5 trunk r21105 Fixed two bugs: - h5repack: h5repack failed to copy dataset if the layout is changed from c hunked with unlimited dims to contiguous. (PC -- 2011/07/15) - h5diff: "--delta" option considers two NaN of the same type are different , which is wrong based on http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Diff. (PC -- 2011/07/15) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r21129] Description:Quincey Koziol2011-07-201-6/+6
| | | | | | | | | | Bring half of r21125 from trunk to 1.8 branch: Correct char arrays that were too small for strings defined. Tested on: FreeBSD/32 8.2 (loyalty) w/debug (h5committested on trunk)
* [svn-r21114] Description:Jonathan Kim2011-07-182-2/+2
| | | | | | | | | | | | | | | | Revert the previous makefile change as release snapshot test failed with MANIFEST check. Don't clean 'testfiles' dir via 'make distclean' for the case of build&test in source dir. In regular daily testings, we build&test in seperate dir from source dir, so no issues occurred. However for the release snapshot test, it seems that we build&test in source dir. The previous change can remove testfiles in source dir if build&test is done in source dir becasue currently the dir name 'testfiles' is same in source dir and test dir. Other task (7602) may need to change to use different name for the test directory, so 'make distclean' can do its job without interrupting MANIFEST.
* [svn-r21111] Renamed test files to more descriptive nameAllen Byrne2011-07-1837-263/+251
| | | | Tested: local linux
* [svn-r21089] Add dependicies for tests to address issues when run in parallelAllen Byrne2011-07-111-0/+10
|
* [svn-r21077] Purpose:Jonathan Kim2011-07-0824-965/+1083
| | | | | | | | | | | | | Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive. Description: Merge from HDF5 trunk r21072. Fixed h5diff to display instructive error message and exit with 1 when mutually exclusive options (-d, -p and --use-system-epsilon) are used together. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r21064] Purpose:Jonathan Kim2011-07-0110-522/+1631
| | | | | | | | | | | Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Merged from HDF5 trunk r21057 Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r21048] Add configure check for endianess and adjust test depending on ↵Allen Byrne2011-06-291-3/+3
| | | | | | status of check. Bring r21026 from trunk
* [svn-r21044] Purpose:Mike McGreevy2011-06-2811-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDFFV-7592 "Remove PACKEDBITS option from autotools files" Description: The code for h5dump's packed bits feature was conditionally compiled in via this option during its 'beta' release in 1.8.5. Now that the feature is fully supported, h5dump has since been changed to always compile the packed bits code (having removed the #ifdef H5_HAVE_H5DUMP_PACKED_BITS checks), so this option in configure is no longer needed. This commit removes the --enable-h5dump-packed-bits configure option, including the help summary from './configure --help' and the libhdf5.settings output summary, the PACKED_BITS Makefile variable, and the definition of H5_HAVE_H5DUMP_PACKED_BITS define in appropriate pubconf header files (which has already been removed from use in source code as of r20722). Note that this option was never added to the trunk, thus this commit only need occur on the 1.8 branch. Tested: - Configure output, help, & summary verified on jam - h5committested
* [svn-r21018] Purpose:Jonathan Kim2011-06-226-47/+128
| | | | | | | | | | | | | | | HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index Description: Merged from HDF5 trunk r21014. Fixed h5dump to display the first line of each element into correct position for multiple dimention array type. Before this fix, the first line of each element in array were displayed after the last line of previous element without moving to the next line (+indentation) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20997] Get comment section did not add null terminator.Allen Byrne2011-06-191-7/+8
| | | | Tested: Debug windows
* [svn-r20936] Issue 4278 - When reading data fails, the error message should ↵Raymond Lu2011-06-061-1/+1
| | | | | | say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output. Tested on jam, koala, and heiwa.
* [svn-r20928] Purpose:Jonathan Kim2011-06-0355-175/+15
| | | | | | | | | | | | HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description: Merged from hdf5 trunk r20927. This is a subtask from 'HDFFV-7514 - gmqs: h5dump - improve effectiveness of testing scripts for handling expected output files'. This is prerequisite for 'HDFFV-7602 tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.' Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20904] Bring r20871, 20875, 20901, 20903 from trunk.Allen Byrne2011-05-256-2875/+2827
| | | | Tested: local linux