summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r21874] Purpose:Jonathan Kim2012-01-115-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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
* [svn-r21872] Update a comment to make clear from the previous commit ↵Jonathan Kim2012-01-111-2/+3
| | | | (r21869) for HDFFV-7840.
* [svn-r21869] Purpose:Jonathan Kim2012-01-094-57/+86
| | | | | | | | | | | | | | 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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
* [svn-r21865] Purpose:Jonathan Kim2012-01-055-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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake-Windows (32-LE)
* [svn-r21815] Description:Jonathan Kim2011-12-051-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)
* [svn-r21814] 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-r21804] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-0511-11/+11
| | | | standard 2.8.6
* [svn-r21715] Correct SET_TARGET_PROPERTIES commandsAllen Byrne2011-11-043-7/+1
|
* [svn-r21667] Update FOLDER solution option for target properties. Added ↵Allen Byrne2011-10-259-21/+25
| | | | | | OPTION command for solution folder and no packaging. Tested: local linux
* [svn-r21664] Added solution folders for most of the projects. This still ↵Dana Robinson2011-10-2510-0/+28
| | | | | | needs some polish - the solution folder assignment should go closer to the target declaration and not all projects are grouped (parallel, c++, fortran, hl, and a few others). Tested on Windows.
* [svn-r21658] 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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows, Cmake
* [svn-r21629] Purpose: Update fix committed in r21556Neil Fortner2011-10-201-87/+87
| | | | | | | | Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
* [svn-r21603] Purpose: Add generic skip list implementationNeil Fortner2011-10-181-1/+1
| | | | | | | | | | | | | 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-r21586] Description:Jonathan Kim2011-10-147-18/+64
| | | | | | | | | Added a funtion to reset dataset & hyperslab buffer size for h5repack from an environment variable. This is performance debugging purpose for now. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE), cmake
* [svn-r21489] 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-r21457] 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-r21413] 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. Tested: jam (linux32-LE), koala (linux64-LE)
* [svn-r21396] Purpose:Jonathan Kim2011-09-1627-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. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Windows)
* [svn-r21389] Test case added for HDFFV-5932 - h5repack breaks files with ↵Jonathan Kim2011-09-141-4/+2
| | | | | | | dimension scales. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r21386] Fixed a void pointer (need to cast it to char*) because it ↵Peter Cao2011-09-141-4/+4
| | | | causes problem on Windows.
* [svn-r21382] Update values of references(object and region) of attributes in ↵Peter Cao2011-09-142-160/+324
| | | | h5repack for 1) references, 2) ARRAY of references, 3) VLEN of references, and 4) COMPOUND of references.
* [svn-r21378] 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. Not tested on VMS yet. Simple change.
* [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new ↵Allen Byrne2011-09-062-3/+3
| | | | | | defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration. Tested: windows and local linux - reviewed internally
* [svn-r21358] Purpose:Jonathan Kim2011-09-027-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) Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r21354] Issue 7674 - CLANG compiler complained about the line (about 800):Raymond Lu2011-09-011-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 Mac OS Lion with CLANG compiler and jam, koala, and linew.
* [svn-r21297] Move all tests into DEPENDS structure so that clear-all-objects ↵Allen Byrne2011-08-231-311/+318
| | | | | | is first. Also preface all tests with H5REPACK.
* [svn-r21283] H5Eget_major() is depreciated. use the H5Eget_msg() instead.Peter Cao2011-08-221-6/+3
|
* [svn-r21280] Correct IF/ENDIF argumentsAllen Byrne2011-08-221-2/+2
|
* [svn-r21265] h5repack: added macro to handle failure in H5Dread/write when ↵Peter Cao2011-08-191-11/+37
| | | | memory allocation failed inside the library
* [svn-r21249] Description: Part II of F2003 branch merge into the trunk.Scot Breitenfeld2011-08-1811-0/+33
| | | | | | Ran bin/reconfigure to update the Makefile.in in directories not part of the fortran directory check=in. Updates Makefile.in due to changes made in configure.in for the Fortran 2003 additions. Tested on all platforms run under daily tests.
* [svn-r21243] Add resultcode check to MemTest test sectionsAllen Byrne2011-08-171-0/+6
|
* [svn-r21237] Description:Jonathan Kim2011-08-164-6/+57
| | | | | | | | 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), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
* [svn-r21236] Purpose:Jonathan Kim2011-08-169-61/+293
| | | | | | | | | | | | | | | | | | | | 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: - 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, Wondows)
* [svn-r21210] Correct location of xml schema files. JIRA HDFFV-7688Allen Byrne2011-08-1062-66/+66
| | | | Tested: local linux
* [svn-r21208] Add fortran COMPILE_FLAGSAllen Byrne2011-08-101-8/+16
| | | | | remove benchpar and mpi-perf tests add new prunTest.cmake that will be modified for parallel tests
* [svn-r21201] Prepend test folder name to perform and testpar cmake testsAllen Byrne2011-08-091-1/+1
| | | | | | | Replace runTest command param spaces with ; Change CTEST_NAME to HDF5 - the project name Tested: local linux, windows
* [svn-r21195] Correct windows exports for h5diff.Allen Byrne2011-08-089-83/+136
|
* [svn-r21166] Remove subfolder in library installAllen Byrne2011-08-011-5/+5
| | | | Tested: local linux
* [svn-r21125] Description:Quincey Koziol2011-07-191-31/+31
| | | | | | | | | | | | Correct char arrays that were too small for strings defined. Also, change cleanup to work correctly. Tested on: Mac OS X/32 10.6.8 (amazon) w/debug FreeBSD/32 8.2 (loyalty) w/debug FreeBSD/64 8.2 (freedom) w/debug Linux/64 2.6 (heiwa) w/debug Linux/64 2.6 (ember) w/parallel
* [svn-r21121] Description:Quincey Koziol2011-07-184-13/+13
| | | | | | | | | Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to H5Rdereference2(). Tested on: Mac OS X/32 10.6.8 (amazon) w/debug (too minor to require h5committest)
* [svn-r21117] Issue 2763 - I added a new parameter of object access property ↵Raymond Lu2011-07-184-12/+12
| | | | | | list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c. Tested on jam, heiwa, and koala.
* [svn-r21113] Description:Jonathan Kim2011-07-182-3/+3
| | | | | | | | | | | | | | | 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 change to use different name for the test directory, so 'make distclean' can do its job without interrupting MANIFEST.
* [svn-r21109] Renamed test files to more descriptive nameAllen Byrne2011-07-181-1/+1
| | | | Tested: local linux (after clearing old testfiles)
* [svn-r21108] Renamed test files to more descriptive nameAllen Byrne2011-07-184-8/+8
| | | | Tested: local linux
* [svn-r21105] Fixed two bugs:Peter Cao2011-07-158-94/+132
| | | | | | | - h5repack: h5repack failed to copy dataset if the layout is changed from chunked 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)
* [svn-r21101] HDFFV-7639Mike McGreevy2011-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Remove H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS and H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS #defines from source. Description: Two advanced parallel functionalities, special collective IO and complex derived datatypes, are not supported by older implementations of mpi, and thus our code limits the use of these features with #ifdefs and has checks in configure to set them (or not). Unfortunately, configure can't actually run a parallel check to see if these features are working (nor not) so it resorts to looking in the config files where they are explicity enabled or disabled based on versions of mpi, sytems being built on, or for no documented reason at all (i.e. just set to on or off as some 'default'). Overriding these settings is easy if need be, provided it is known that it needs to be done to get improved performance, and oftentimes it is not. Most new MPI implementations successfully handle the functionality requested when these #defines are set, and many of the "turn these features off" cases in the config files are for old (> 5 years) versions of MPI and retired systems (such as NCSA's tungsten). Therefore, the decision has been made to remove the support for these old versions of MPI and systems that cannot handle these behaviors. The #ifdefs and supporting setup in the config/ files and configure script has been removed, and the code executed when these options were not set removed from the source. In passing, this commit also cleans up some whitespace issues in both t_mpi.c and H5Dmpio.c. Furthermore, in t_mpi.c, the special collective IO test was not getting regularly run due to it being written to work only with four processes (we regularly test with six, previously with three), and thus it failed when actually run due to an out of bounds data buffer assignment. It has been modified to run at any number of processes greater than four, and the memory problem has been fixed so the test passes. Tested: jam, h5committest, ember
* [svn-r21091] Replace #ifdef WIN32 around 64 bit integers with ↵Allen Byrne2011-07-112-153/+126
| | | | | | H5_SIZEOF_LONG_LONG. This is set if 64-bit integers are supported. Tested: local linux
* [svn-r21088] Add dependicies for tests to address issues when run in parallelAllen Byrne2011-07-111-0/+10
|
* [svn-r21072] Purpose:Jonathan Kim2011-07-0724-965/+1083
| | | | | | | | | | | | Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive. Description: 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-r21057] [hdf5 Trunk ] TODOJonathan Kim2011-06-3010-526/+1637
| | | | | | | | | | | Purpose: Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)