summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23551] I updated this branch from the 1.8 branch (not related to DESY ↵Raymond Lu2013-04-042-4/+4
|\ | | | | | | | | | | project) and a few changes for CMake and Windows from the trunk (related to DESY). Tested with desycommittest (emu, koala, jam, ostrich, and ostrich-no-shared-lib), but can't wait for duck to finish. It takes too long.
| * [svn-r23535] Description:Quincey Koziol2013-04-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | Bring r23529 from trunk to 1.8 branch: Stop aliasing property to indicate internal collective metadata operations with property to perform collective raw data operations from the application. Tested on: Mac OSX/64 10.8.3 (amazon) w/parallel (daily tests on trunk)
* | [svn-r23550] Description:Quincey Koziol2013-04-044-52/+49
| | | | | | | | | | | | | | | | | | | | Bring r23549 from trunk to desy_1_8 branch: More misc. cleanups, but main change is to make an "extern" header file for the plugin interface. Tested on: Mac OSX/64 10.8.3 (amazon)
* | [svn-r23539] I took out the "const" symbol from H5PL_get_plugin_type and ↵Raymond Lu2013-04-033-6/+6
| | | | | | | | | | | | H5PL_get_plugin_info functions. Tested on koala - simple change.
* | [svn-r23537] I corrected the copyright information and added some comment in ↵Raymond Lu2013-04-035-45/+31
| | | | | | | | | | | | H5Pocpl.c. Tested on koala - no code change.
* | [svn-r23534] I changed the operation in dynlib2.c from math operations pow ↵Raymond Lu2013-04-031-11/+10
| | | | | | | | | | | | | | | | and sqrt to simpler multiplication and division to avoid potential rounding problem in math operations. Tested on koala - simple change.
* | [svn-r23528] Bug fix: Mac system has dynamic library name in the form of ↵Albert Cheng2013-04-031-5/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libxyz.dylib. Solution: Changed test_plugin.in to copy library file names in the form of libdynlib{123].*. Another problem: Even when copy failed in copying the libray files (was in the form of *.so*), the test still passed. That was because .libs was included in $HDF5_PLUGIN_PATH and the needed plug in libraries were generated there. Solution: Fixed by copying the plug in library files to separate directories and seetup HDF5_PLUGIN_PATH to include them but NOT .libs. Tested: used desycommittest (duck, emu, jam, koala, ostrich) plus cmakehdf5 in jam.
* | [svn-r23525] I merged the changes r23524 from the trunk.Raymond Lu2013-04-021-6/+45
| | | | | | | | Not tested yet.
* | [svn-r23522] I merged the changes that Allen added for supporting dynlib2.c ↵Raymond Lu2013-04-021-33/+37
| | | | | | | | | | | | and dynlib3.c from the trunk. Not tested. Allen will do it.
* | [svn-r23521] I merged the changes for testing groups with filter into this ↵Raymond Lu2013-04-025-25/+242
| | | | | | | | | | | | branch. Tested on jam and koala.
* | [svn-r23512] Replace install-data-local with install-exec-hook in ↵Larry Knox2013-04-012-8/+9
| | | | | | | | | | | | | | | | test/Makefile.am. Change fixes order of chmod and rm for *dynlib* with parallel make. Tested in trunk.
* | [svn-r23510] I merged the changes for DESY project from the trunk (r23496) ↵Raymond Lu2013-04-018-74/+1170
|/ | | | | | into this 1.8 DESY branch. Tested with h5committest (duck failed with CMake because I don't know how to change test/CMakeLists.txt. I'll wait for Allen to do it).
* [svn-r23343] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by ↵Allen Byrne2013-03-125-4/+44
| | | | | | | | excluding and running long running tests separately. Merged from trunk. Tested: local linux
* [svn-r23337] Bug fix: HDFFV-8305Albert Cheng2013-03-071-1/+4
| | | | | | | | Some systems, like Mac, strings inspect library files and older versions of strings maybe know newer library format, resulting in errors. Make it read the file as stdin, avoiding this problem. Tested: h5committest. all passed.
* [svn-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-041-1/+1
|
* [svn-r23298] Bug fix: HDFFV-8267Albert Cheng2013-02-181-1/+1
| | | | | | | | | | The ERROR macro had a typo of missing a separator comma. When used, it seg. fault. Added the comma back in. Fix is reviewed in Crucible HDF5-107. Tested: h5committest passed. Also tested using the ERROR macro in the Mac (Owl) platform. Before fix, it seg. fault. After fix, it prints the message as intended.
* [svn-r23265] Merge revisions 23230, 23234, and 23237 to 1.8 branchNeil Fortner2013-02-131-0/+1028
| | | | | | | | | | | | | Purpose: Implement H5Dscatter and H5Dgather Description: Adds 2 new API functions, H5Dscatter and H5Dgather. H5Dscatter retrieves data from a specified callback function and scatters it into a selection, defined by a supplied dataspace, within a supplied memory buffer. H5Dgather gathers data from a selection within a supplied memory buffer and passes it in a contiguous form to a supplied callback function. Added tests for these functions Tested: jam, ostrich, koala (h5committest); ummon; ummon (1.8)
* [svn-r23220] Description:Quincey Koziol2013-02-023-111/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r23219 from trunk to 1.8 branch: Bring reviewed changes from Coverity branch back to trunk (QK & JK): r20457: Coverity issue 691: return of H5duo could be negative. Fixed by using STDOUT_FILENO and redesign parse_command_line and main to cleanup file allocations. The output_file var is null when using stdout. In cleanup do not close output_file if NULL. r20510: Initialize ufid = -1 and predicate HDclose call on ufid != -1 r20511: Purpose: Fix coverity issue 1715 Description: Free "file" and nested data on failure in H5FD_core_open. r20512: Initialize ifid = -1 and predicate HDclose call on ifid != -1 r20514: Initialize h5fid = -1 and predicate HDclose call on h5fid != -1 r20516: Added else branch to the if (ret_value < 0) check. r20522: Addressed coverity issues 930-933, 850, 836, 835, 1307. All minor potential buffer overwrite bugs, or coverity errors. Fixed by replacing strcpy and sprintf with strncpy and snprintf. r20523: fixed coverity issues 68, 1120, 1116i r20524: Check H5Z_SZIP->encoder_present < 1 assuming 0 represents absence. r20601: Purpose: Fix coverity issues 1703-1705 Description: Modified the cleanup code in test_free in accum.c to reset allocated buffers to NULL after they are freed, and modified the error cleanup code to check if these buffers are NULL before freeing them. Also fixed some unrelated warnings in accum.c. r20602: Use HDsnprintf and HDstrncat r20603: Purpose: Fix coverity issues 808-809 Description: Modified test_core in vfd.c to check the returns from malloc, and keep track of whether points and check are allocated by setting them to NULL when they are not. Added code to free points and check on error if they are not NULL. Also fixed unrelated warnings in vfd.c. r20604: Use HDstrncpy. r20605: Use HDstrncpy and HDstrncat. r20606: Purpose: Fix coverity issue 807 Description: Modified long_compact in stab.c to keep track of whether objname is allocated by setting it to NULL when it is not. Added code to free objname on error if it is not NULL. r20607: Changed string function calls to use versions that specify the string length to fix coverity issues 832 and 839. Tested on: Mac OSX/64 10.8.2 (amazon) (Too minor to require h5committest)
* [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. ↵Allen Byrne2013-01-311-1/+1
| | | | | | This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support. Tested: local linux
* [svn-r23182] I'm merging the changes for DECTRIS project from the trunk ↵Raymond Lu2013-01-211-1/+4
| | | | | | (r23162). Tested on koala, jam, ostrich.
* [svn-r23155] HDFFV-8286: changed comments from // to /* */Allen Byrne2013-01-141-2/+2
|
* [svn-r23122] Brought revisions from the trunk into the branch:Scot Breitenfeld2012-12-314-18/+4
| | | | | | | r23116-23118 : HDFFV-2686: Remove the ptExampleVL.c example from the source code HDFFV-422: Change extention of the binary files from hdf5 to h5 Tested: jam (gnu)
* [svn-r22956] I merged from the trunk the conversion function ↵Raymond Lu2012-10-231-9/+93
| | | | | | H5T__conv_enum_numeric (numeric type means integer or floating number) and the C test for it. This is the work for Chicago. The change in fortran/ directory is only some property change. Tested on jam, koala, and ostrich.
* [svn-r22916] Description:Quincey Koziol2012-10-172-106/+56
| | | | | | | | | | | | | | | | | | | | | | | | | Bring r22915 from trunk to 1.8 branch: Bring Coverity changes back to trunk: r20399: Change parse_command_line to free hand structure on error and only "leave()" at end of main. r20400: Purpose: Fix coverity issue 592 Description: Added void cast to call to H5F_sfile_assert_num() in H5F_term)interface(). There is no need to check the return value of this function in general, and there would be nothing to do even if it did fail. r20401: Added free(src_sizes) and free(src_offset). --gh Tested on: Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe (too minor for h5committest)
* [svn-r22788] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate ↵Allen Byrne2012-09-191-0/+5
| | | | | | variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders Tested: local
* [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.