summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [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)
* [svn-r21026] Add configure check for endianess and adjust test depending on ↵Allen Byrne2011-06-231-3/+3
| | | | | | status of check Tested: heiwa
* [svn-r21014] Purpose:Jonathan Kim2011-06-216-47/+128
| | | | | | | | | | | | | | HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index Description: 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), Windows (32-LE)
* [svn-r21011] Change how test created files are cleared by clearing the files ↵Allen Byrne2011-06-214-72/+147
| | | | | | inside the test macro. Allows individual tests to be independently executed. Tested: local linux
* [svn-r20995] Get comment section did not add null terminator.Allen Byrne2011-06-191-7/+8
| | | | Tested: Debug windows
* [svn-r20929] Issue 4278 - When reading data fails, the error message should ↵Raymond Lu2011-06-031-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-r20927] Purpose:Jonathan Kim2011-06-0255-175/+15
| | | | | | | | | | | HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description: 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), Windows (32-LE), Cmake (jam)
* [svn-r20902] Re-ordered routines to match order of 1.8 for easier ↵Allen Byrne2011-05-251-150/+150
| | | | comparision of code changes
* [svn-r20885] Description:Quincey Koziol2011-05-202-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r20340: Address coverity issue 248. Set freed pointer to NULL if realloc fails, then check for NULL before attempting to close array of handles stored in memory addressed by pointer. r20341: Added initialization udata.path = NULL; udata.visited = NULL; to prevent unintialized use after done: label. Do C-style initialization AFTER all variable definitions. r20342: Fix valgrind error in H5DUMP-XML-tall.h5 r20343: Addressed Coverity issue 591 - check the return value of H5S_SELECT_ITER_RELEASE. r20344: Added initialization udata.path = NULL; to prevent uninitialized used after done: label r20347: Purpose: Fix memory leak in overhead.c Description: Fixed leak in test() in overhead.c where array "had" was never freed. r20348: Addressed Coverity issue 705 - added prototype for resize_configs_are_equal to cache_common.h. r20392: Purpose: Fix coverity issues 1677 and 1678 Description: Added return value checking for 4 funciton calls in H5tools_get_symlink_info(). r20394: Purpose: Fix coverity issues 1674 and 1675 Description: Modified H5Epush2() and H5E_printf_stack() to keep track of whether va_start() has been called, and to call va_end() at the end if so. r20395: Should be H5MM_calloc(count * sizeof(void*)). Fixed --gh r20396: Should be H5MM_calloc(count * sizeof(void*)). Fixed. --gh Tested on: Mac OSX/32 10.6.7 (amazon) w/debug & production (h5committested on branch)