summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22759] Description:Quincey Koziol2012-09-136-29/+150
| | | | | | | | | | | | | | Bring r22758 from trunk to 1.8 branch: Bring generic improvements from encode/decode property list branch to the trunk. This includes a better version of the property list comparison routine, cleaned up compiler warnings, and some cleaned up property list callbacks. Also, started on changes to clean up parallel test output, so that it doesn't report successful tests from each process. Tested on: Mac OSX/64 10.7.4 (amazon) w/debug, GCC 4.7.x, FORTRAN, C++, threadsafe and parallel (h5committested on trunk)
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-285-30/+24
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-231-120/+173
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22677] Changes needed to make the default free-list mapping from ↵Vailin Choi2012-08-142-123/+290
| | | | | | H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY. Also changed H5O_copy_search_comm_dt_check() to use H5O_obj_class() to get object type instead of H5O_get_info(...TRUE...) saving time in traversing metadata.
* [svn-r22647] Description:Quincey Koziol2012-08-0911-48/+64
| | | | | | | | | | | Bring r22646 from trunk to 1.8 branch: Changes resulting from Klocwork static analysis tool, from Mark Miller @ LLNL (miller86@llnl.gov). Tested on: Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x (too minor to require h5committest)
* [svn-r22607] Port test from r22601 from trunk to 1.8 branch. Also remove ↵Neil Fortner2012-07-261-0/+99
| | | | | | | | spurious FUNC_ENTER_PACKAGE_TAG and FUNC_ENTER_STATIC_TAG macros. Tested: jam, koala, ostrich (h5committest), durandal
* [svn-r22583] Description:Quincey Koziol2012-07-161-9/+9
| | | | | | | | | | | Bring r22582 from trunk to 1.8 branch: Refactor ID class registration to be more like how other "class"s in the library are registered, and clean up compiler warnings. Tested on: Mac OSX/64 10.7.4 (amazon) w/debug (Too minor to require h5comittest)
* [svn-r22488] Snapshot version 1.8 release 10 (snap4)HDF Tester2012-06-251-16/+18
|
* [svn-r22485] Description:Quincey Koziol2012-06-232-18/+20
| | | | | | | | | | | | | | Merge r22484 from trunk to 1.8 branch: Copy the file image test file from the source directory to the build directory, instead of trying to open the [in-memory] file R/W. Also, clean up a few other test files that were left lying around from other tests. Tested on: MacOSX/64 10.7.4 (amazon) w/debug Too minor to require h5committest
* [svn-r22438] (1) fix for making MEM_GHEAP as MEM_DRAWVailin Choi2012-06-061-9/+41
| | | | | | | | | | | | | | | | | | | | | (2) fix to extend into the aggregator based on threshold (3) fix for the "flavor" logging problem (4) fix for test failures due to the above fixes (5) bug fix for h5stat when h5stat against a non-existing file --Ths line, and th se below, will be ignored-- M test/mf.c M src/H5MFaggr.c M src/H5FDpublic.h M src/H5MF.c M src/H5FDmulti.c M src/H5FDlog.c M src/H5Faccum.c M tools/h5copy/testfiles/h5copytst.out.ls M tools/h5copy/testfiles/h5copy_ref.out.ls M tools/h5stat/testh5stat.sh.in M tools/h5stat/h5stat.c
* [svn-r22412] reduce compiler warnings by removing unreferenced variables and ↵Allen Byrne2012-05-252-3/+1
| | | | | | adding cast Tested: local linux
* [svn-r22394] I forgot to close a few datatypes in test_str_create. I fixed ↵Raymond Lu2012-05-231-0/+5
| | | | | | them in this commit. Tested on jam - very simple change.
* [svn-r22376] add a test to expose a memory leak when adding/removing the ↵Mohamad Chaarawi2012-05-181-0/+42
| | | | | | same property in property list multiple times. fix that bug.
* [svn-r22291] Description:Quincey Koziol2012-04-176-156/+160
| | | | | | | | | | Bring r22287 from trunk to 1.8 branch: 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-r22264] Use correct index for inserting null terminatorAllen Byrne2012-04-091-9/+9
| | | | Tested: windows under debug
* [svn-r22252] Fixed a bug in H5Ocopy(): When copying an opened object, call ↵Vailin Choi2012-04-051-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) this line, and those below, will be ignored-- _M . M test/objcopy.c M src/H5Ocopy.c M src/H5Goh.c M src/H5Dint.c M src/H5Opkg.h M src/H5Doh.c M src/H5Toh.c M src/H5O.c M src/H5Dpkg.h M release_docs/RELEASE.txt _M fortran
* [svn-r22248] Added new files and tests to CMakeLists.txtAllen Byrne2012-04-041-0/+4
| | | | Tested: local linux
* [svn-r22239] Description:Quincey Koziol2012-04-021-4/+124
| | | | | | | | | | | | | | | | | | | Bring r22233 from trunk to 1.8 branch: 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-r22228] Description:Quincey Koziol2012-04-015-26/+1472
| | | | | | | | | Bring r22219 from trunk to 1.8 branch: (with release manager's blessing) Merge "file image" changes from feature branch back to trunk. Tested on: h5committested
* [svn-r22215] Description:Quincey Koziol2012-03-311-1/+3219
| | | | | | | | | | | Bring r22171 from trunk to 1.8 branch: 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-r22174] Port r22173 from trunk to 1.8 branchNeil Fortner2012-03-281-1/+170
| | | | | | | | | | | | | | | | | | Purpose: Fix HDFFV-7762 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-r22162] Pushed r22161 from the trunk to the 1.8 branch.Dana Robinson2012-03-271-0/+2
| | | | | | This adds a message when the time-consuming istore test is skipped due to a lack of sparse file support. Minor change: tested on 64-bit Mac OS-X Lion
* [svn-r22160] Pushed r22152 from the trunk to the 1.8 branch.Dana Robinson2012-03-271-9/+16
| | | | | | This adds a "skipped" message when the 50x50x50 sparese istore test is skipped. Minor change: tested on jam (test not skipped) and 64-bit Mac OS-X Lion (test skipped due to HFS sparse files not being suppored in the SEC2 VFD).
* [svn-r22150] Merged trunk rev 22103 which fixes HDFFV-7769 (Windows tests ↵Dana Robinson2012-03-261-1/+47
| | | | | | time out when the core VFD is set). Tested on: jam, koala, ostrich, loyalty, 64-bit Windows 7
* [svn-r22148] Removed incorrect executable svn properties from text, source, ↵Dana Robinson2012-03-266-0/+0
| | | | in, and HDF5 files.
* [svn-r22145] #Issue 7922 - H5Pset_data_transform had seg fault with some ↵Raymond Lu2012-03-261-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. This is a merge from the trunk. Tested on jam, koala, and ostrich.
* [svn-r22113] Description:Quincey Koziol2012-03-211-3/+10
| | | | | | | | | | Bring r22112 from trunk to 1.8 branch: 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-r22073] Port r22072 to 1.8 branchNeil Fortner2012-03-151-0/+135
| | | | | | | | | | | | | | | | Purpose: Fix rare corruption bug (HDFFV-7879) 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-r22071] Port r22070 to 1.8 branchNeil Fortner2012-03-151-1/+206
| | | | | | | | | | | | Purpose: Fix rare corruption bug 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-r22055] Description:Quincey Koziol2012-03-121-472/+494
| | | | | | | | | | | | Bring r22053 from trunk to 1.8 branch: 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-r22025] Cleanup compiler warnings.Allen Byrne2012-03-052-334/+329
| | | | | | Add HD prefix to tools library based tests. Cleaned allocation/free in tests. Tested: local linux/ h5committetest
* [svn-r21935] Description:Quincey Koziol2012-02-131-2/+2
| | | | | | | | | | | | | | Bring r21932 & r21934 from trunk to 1.8 branch: r21932: Correct misnamed FUNC_ENTER macro. r21934: 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
* [svn-r21925] Description:Quincey Koziol2012-02-105-163/+163
| | | | | | | | | | | | | | Bring r21919-21924 from trunk to 1.8 branch: cleanup FUNC_ENTER macros, etc. Also removed Subversion mergeinfo tags from a few directories and files. These are artifacts from non-root merges using pre-1.6 Subversion clients. (This should fix the problem of unchanged directories looking "changed" during checkins.) Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & production (daily tested on trunk)
* [svn-r21912] Issue 7756 - Creating a dataset in a read-only file caused seg ↵Raymond Lu2012-02-071-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 jam - I've tested the same changes in the trunk with h5committest.
* [svn-r21805] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-051-1/+1
| | | | standard 2.8.6
* [svn-r21791] Port r21789 to 1.8 branchNeil Fortner2011-12-011-0/+117
| | | | | | | | | | | | | | Purpose: Fix HDFFV-7833 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-r21765] Issue 7618 - the library had seg fault when it tried to shrink ↵Raymond Lu2011-11-151-0/+217
| | | | | | the size of compound data type through H5Tset_size immediately after the type was created. I fixed it in this commit. I'm bringing the fix from the trunk. The only files being change are test/dtypes.c, src/H5T.c, src/H5Tconv.c, and release_docs/RELEASE.txt. All others are property changes. Tested on jam, koala, and linew.
* [svn-r21718] Issue 7618 - the library had seg fault when it tried to shrink ↵Raymond Lu2011-11-041-0/+14
| | | | | | | | the size of compound data type through H5Tset_size immedia tely after the type was created. I'm bringing the fix from the trunk that I committed a while ago. My real changes are in test/dtypes.c, src/H5T.c, and release_docs/RELEASE.txt. All other changes are property changes. Tested on jam. But I tested the same fix in the trunk on jam, koala, and linew.
* [svn-r21717] Update cmake configurationAllen Byrne2011-11-041-5/+15
| | | | | | | Update cmake to generate source folders in VS Brought parallel changes from trunk Tested: local linux
* [svn-r21676] 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-r21646] Port r21603 to 1.8 branchNeil Fortner2011-10-211-74/+210
| | | | | | | | | | | | | | | 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-1/+2
| | | | | | | | | | 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-r21618] Description:Quincey Koziol2011-10-201-413/+434
| | | | | | | | | | | | Bring r21617 from trunk to 1.8 branch: 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 (h5committested on trunk)
* [svn-r21605] Back out r21604 (wait for code freeze to be lifted)Neil Fortner2011-10-181-210/+74
|
* [svn-r21604] Port r21603 to 1.8 branchNeil Fortner2011-10-181-74/+210
| | | | | | | | | | | | | | | 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-r21566] Description:Quincey Koziol2011-10-143-5/+93
| | | | | | | | | | | | | | Bring r21561 from trunk back to 1.8 branch: 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-r21563] Improve testing for H5Pset_libver_boundsNeil Fortner2011-10-141-14/+66
| | | | | | Add testing for H5F_LIBVER_18 Tested: durandal (too minor for full h5committest)
* [svn-r21557] Port r21556 to 1.8 branchNeil Fortner2011-10-141-3/+147
| | | | | | | | | | | | | | | Purpose: Fix bug in H5Ocopy 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-r21524] Reverts 20920 (HDFFV-7579 fix) (this is 20913/21 from the trunk)Dana Robinson2011-10-112-124/+6
| | | | | | This change reverts the HDFFV-7579 fix while we more carefully consider enum conversions as a part of the h5compare work. Tested on jam, Windows 7 and linew.
* [svn-r21513] Add HDprefix and change when pio_timer.h is includedAllen Byrne2011-10-111-1/+1
| | | | Tested