summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22287] Description:Quincey Koziol2012-04-166-156/+160
| | | | | | | | Clean up more FUNC_ENTER/FUNC_LEAVE macros and move H5D & H5T code toward the final design (as exemplified by the H5EA & H5FA code). Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & parallel
* [svn-r22263] Use correct index for inserting null terminatorAllen Byrne2012-04-091-9/+9
| | | | Tested: windows under debug
* [svn-r22247] Added new files and tests to CMakeLists.txtAllen Byrne2012-04-041-0/+3
| | | | Tested: local linux
* [svn-r22233] Description:Quincey Koziol2012-04-011-4/+128
| | | | | | | | | | | | | | | | | Correct several errors in fractal heap code: root indirect block was getting pinned/protected more than once, "single" free space sections weren't getting "re-parented" correctly when the heap transitioned between having a root indirect block and a root direct block, and several related issues. Also cleaned up some warnings in library/tests. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Mac OSX/64 10.7.3 (amazon) w/debug
* [svn-r22229] Description:Quincey Koziol2012-04-011-21/+22
| | | | | | | | | | | | | Add 'H5O_mcdt_search_cb_t' to bin/trace script and re-run the bin/reconfigure script. Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode
* [svn-r22219] Description:Quincey Koziol2012-03-315-22/+1466
| | | | | | | | Merge "file image" changes from feature branch back to trunk. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (h5committest upcoming)
* [svn-r22173] Purpose: Fix HDFFV-7762Neil Fortner2012-03-281-1/+169
| | | | | | | | | | | | | | | | Description: When copying an object with attribute creation order tracked, the attribute creation order was not copied correctly to the destination file, causing an error if the creation order was also indexed (due to attempting to insert duplicate keys) or incorrect creation orders otherwise. Fixed to copy the creation order correctly. Also fixed the attribute character set not being copied, and fixed an issue where an attribute opened with H5Aopen (or similar, but not by_idx), from an object using the latest format but without creation order being tracked, would always report the creation order as 0 (and marked as valid). Tested: jam, koala, ostrich (h5committest), durandal
* [svn-r22171] Description:Quincey Koziol2012-03-281-1/+3220
| | | | | | | | | Bring "merge committed datatypes during H5Ocopy" feature from branch to trunk. (Also has some minor bugfixes with it) Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (h5committest coming up)
* [svn-r22164] Fixed a bug in H5Ocopy(): When copying an opened object, call ↵Vailin Choi2012-03-281-0/+314
| | | | | | | the object's flush class action to ensure that cached data is flushed so that H5Ocopy will get the correct data. (HDFFV-7853)
* [svn-r22161] Added a message when the time-consuming test is skipped due to ↵Dana Robinson2012-03-271-0/+2
| | | | | | a lack of sparse file support. Minor change: tested on 64-bit Windows 7
* [svn-r22152] Added a "skipped" message to the istore sparse test function.Dana Robinson2012-03-261-9/+16
| | | | | Minor change: tested on jam (test not skipped) and Mac OS-X Lion (test skipped due to HFS not supporting sparse files).
* [svn-r22112] Description:Quincey Koziol2012-03-211-3/+10
| | | | | | | | Minor code safety issue in test/fheap.c and whitespace in other files. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (Too minor to require h5committest)
* [svn-r22111] Removed incorrect 'executable' svn properties.Dana Robinson2012-03-211-0/+0
|
* [svn-r22110] Removed incorrect 'executable' svn properties.Dana Robinson2012-03-215-0/+0
|
* [svn-r22103] Fix for HDFFV-7769 (HDF5 tests time out on Windows when core ↵Dana Robinson2012-03-201-1/+47
| | | | | | | | | | | | | | | | | | | | | | | VFD is set). This occurs due to the istore test creating very large files on systems which do not have POSIX-like sparse file semantics. The large amount of I/O causes the test to run for a very long period of time. The fix was to copy the "big" test's sparse file check and only run the largest sparse file test when POSIX-like sparse file semantics are found. Tested on: jam (nfs) ostrich (nfs) loyalty (ufs) 64-bit linux VM (ext4) 64-bit OS-X Lion (hfs, detected as not POSIX sparse) 64-bit Windows 7 (NTFS, detected as not POSIX sparse) The OS-X failure to pass the sparse check is likely an error and will be entered as a new bug.
* [svn-r22076] #Issue 7922 - H5Pset_data_transform had seg fault with some ↵Raymond Lu2012-03-151-4/+176
| | | | | | | | | operations like x*-100. The parser mistaked "-" as substraction. I fixed it and also fixed another problem with some special cases like 100-x and 2/x. Tested on jam, koala, and ostrich.
* [svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879)Neil Fortner2012-03-151-0/+135
| | | | | | | | | | | | | | Description: When using the new object header format, it was possible for corruption to occur if the first object header chunk changed size such that the lenght of the "chunk 0 size" field changed. This only occurred if there were messages that had not been decoded. The original algorithm that changed the object header chunk size marked all messages as dirty, causing those that had not been decoded to have both the raw and native form invalidated. Changed the algorithm to avoid marking messages dirty and added assertions to catch the case where messages are dirtied without being decoded (or recently created) first. Tested: jam, koala, ostrich (h5committest), durandal
* [svn-r22070] Purpose: Fix rare corruption bugNeil Fortner2012-03-151-1/+206
| | | | | | | | | | Description: When using the new object header format and adding an attribute with a size near 64K, it was possible for file corruption to occur. This happened only if the first object header chunk was smaller than 256 bytes and then grew to larger than 64K after the attribute was added. Tested: ostrich, jam, koala (h5committest), durandal
* [svn-r22053] Description:Quincey Koziol2012-03-121-472/+494
| | | | | | | | | | Correct corner case for creating a contiguous dataset with a zero-sized dataspace, when the allocation time is set to early. Also clean up a few compiler warnings in the dataspace code. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & parallel
* [svn-r22024] Add HD prefix to tools library based tests. Cleaned ↵Allen Byrne2012-03-052-330/+326
| | | | | | allocation/free in tests. Tested: local linux/ changes h5committetest against 1.8 version
* [svn-r21934] Description:Quincey Koziol2012-02-131-1/+1
| | | | | | | | | Remove some leftover uses of the __FUNCTION__ macro, replacing them with FUNC macro, as used everywhere else. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel (too minor to require h5committest)
* [svn-r21923] Description:Quincey Koziol2012-02-105-163/+163
| | | | | | | | | Add FUNC_ENTER macros for package-private routines and begin process of switching package routines to use them. All H5G routines are currently finished. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
* [svn-r21904] This is a followup commit for Issue 7756 - Creating a dataset ↵Raymond Lu2012-02-021-3/+3
| | | | | | in a read-only file caused seg fault when the file is closed. I changed the error ID from H5E_CACHE to H5E_OHDR in the error report macro in H5O_create and fixed a minor problem in tfile.c. Tested on jam and MacGoblin - minor changes.
* [svn-r21891] Issue 7756 - Creating a dataset in a read-only file caused seg ↵Raymond Lu2012-01-251-0/+74
| | | | | | fault when the file is closed. I fixed the problem by putting a condition check early in H5O_create of H5O.c. The old code checked it too late, not until a file space is created. I added a test case in tfile.c to check the creation of group, dataset, attribute, and datatype. Tested on koala, jam, and linew.
* [svn-r21804] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-051-1/+1
| | | | standard 2.8.6
* [svn-r21801] Remove unintentional change to dsets.c from r21793.Neil Fortner2011-12-051-115/+0
| | | | Tested: durandal
* [svn-r21793] Add RELEASE.txt note for r21789Neil Fortner2011-12-011-0/+115
|
* [svn-r21792] Add ^L marker to test introduced in r21789Neil Fortner2011-12-011-1/+1
|
* [svn-r21789] Purpose: Fix HDFFV-7833Neil Fortner2011-12-011-0/+116
| | | | | | | | | | | | Description: When shrinking a chunked dataset, the library fills in the unused parts of chunks that have been shrunk. The fill value buffer allocated for this purpose had a maximum size of 1 MB, but the fill was performed in a single operation. Therefore, if the amount of unused space in a chunk after being shrunk was greater than 1 MB, the library would read off the end of the fill value buffer. Changed the maximum fill buffer size to be equal to the chunk size. Tested: durandal; jam, koala, heiwa (h5committest)
* [svn-r21736] Issue 7582 - The library allowed the conversion of strings ↵Raymond Lu2011-11-101-22/+107
| | | | | | between ASCII and UTF8. I added more test cases to the previous commit. Now it has conversion from UTF8 to ASCII, ASCII to UTF8, VL and fixed length, and H5Tconvert. Tested on jam, koala, linew.
* [svn-r21734] Issue 7582 - The library allowed the conversion of strings ↵Raymond Lu2011-11-081-0/+132
| | | | | | between ASCII and UTF8. I corrected it by adding a condition check in H5T_conv_s_s and H5T_conv_vlen to report an error under this situation. Tested on jam, koala, linew.
* [svn-r21712] Change export decoration for windows linking.Allen Byrne2011-11-041-26/+26
|
* [svn-r21675] Description:Quincey Koziol2011-10-261-1/+2
| | | | | | | | | Don't check dataset storage size for compressed datasets with region reference datatypes. (The address of the region reference type in the file varies and affects the compressed size) Tested on: Mac OS X/32 10.7.2 (amazon) w/debug & production + check-vfd
* [svn-r21674] Issue 7618 - the library had seg fault when it tried to shrink ↵Raymond Lu2011-10-261-0/+14
| | | | | | | | the size of compound data type through H5Tset_size immedia tely after the type was created. I fixed it in this commit. Tested on jam, linew, and koala.
* [svn-r21667] Update FOLDER solution option for target properties. Added ↵Allen Byrne2011-10-251-20/+12
| | | | | | 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-251-0/+16
| | | | | | 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-r21629] Purpose: Update fix committed in r21556Neil Fortner2011-10-201-1/+2
| | | | | | | | Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
* [svn-r21617] Description:Quincey Koziol2011-10-201-413/+434
| | | | | | | | | | Recalculate the size of destination attribute message when the source and destination versions are different during an object copy operation. (Jira: HDFF-7718) Tested on: Mac OS X/32 10.7.2 (amazon) w/debug (h5committest upcoming)
* [svn-r21603] Purpose: Add generic skip list implementationNeil Fortner2011-10-181-74/+210
| | | | | | | | | | | | | 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-r21564] Improve testing for H5Pset_libver_bounds (bring in line with ↵Neil Fortner2011-10-141-23/+41
| | | | | | 1.8 branch) Tested: durandal (too minor for full h5committest)
* [svn-r21562] Improve testing for H5Pset_libver_boundsNeil Fortner2011-10-141-2/+34
| | | | Tested: durandal (too minor for full h5committest)
* [svn-r21561] Description:Quincey Koziol2011-10-143-5/+93
| | | | | | | | | | | | Correct error in loading local heap prefix & data block from the file. Sometimes the local heap's prefix could be loaded before the data block (e.g. using H5Oget_info), but then when the data block was loaded later, the free list information would get lost, causing the heap's size to grow larger than necessary. This is Jira bug #HDFFV-7767 Tested on: Mac OS X/32 10.7.2 (amazon) w/debug (h5committest coming up)
* [svn-r21556] Purpose: Fix bug in H5OcopyNeil Fortner2011-10-131-3/+147
| | | | | | | | | | | | | Description: H5Ocopy could get confused when copying a named datatype containing an attribute which used that named datatype as its datatype. This happened because H5Ocopy would recurse into the attribute's datatype before the object the attribute was in was fully copied (i.e. before the "post-copy" pass). Modified H5Ocopy to avoid recursing before the post-copy step in this case. Required many changes, including to how non-committed shared messages are copied. Tested: jam, koala, heiwa (h5committest); durandal
* [svn-r21508] Revoked svn check-ins 20913 and 20921 (fix for HDFFV-7579) ↵Dana Robinson2011-10-102-124/+6
| | | | pending a careful evaluation of enum conversion behavior.
* [svn-r21459] Problem:Albert Cheng2011-10-041-1/+1
| | | | | | | | | | Some machines, like LLNL udawn, a blue-gene machine, requires all executables, be launched by some command like mpirun. Solution: Added $RUNSERIAL to launch the executable. Tested: LLNL uDawn.
* [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new ↵Allen Byrne2011-09-063-389/+386
| | | | | | 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-r21342] Issue 7674 - clang compiler with -fcatch-undefined-behavior ↵Raymond Lu2011-08-311-6/+12
| | | | | | | | | -ftrapv discovered several problems in the test suite. One of them is in the INIT_INTEGER macro definition in dt_arith.c. It complained about line 150 where it tried to subtract 1 from the negative minimal value of "int", causing it to overflow (or underflow). So I revised the code to avoid it. Tested on jam, koala, linew, and Mac OS Lion with CLANG compiler.
* [svn-r21258] Issue 7674 - clang compiler reported an error with line 334:Raymond Lu2011-08-181-1/+1
| | | | | | | | | temp_point->l = (unsigned long long)((i * 100 + j * 1000) * n); The value can overflow the signed int before being converted to unsigned long long. So I changed it to temp_point->l = (unsigned long long)((i * 40 + j * 400) * n); to keep it under the maximal value. Tested on jam. Simple change.
* [svn-r21256] Add libinfo and test to cmake - JIRA 1243Allen Byrne2011-08-181-0/+14
| | | | Tested: local linux
* [svn-r21249] Description: Part II of F2003 branch merge into the trunk.Scot Breitenfeld2011-08-181-0/+3
| | | | | | 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.