summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16405] #1449 Change set_extent test to use standard standalone test ↵Pedro Vicente Nunes2009-02-031-61/+66
| | | | | | | | | | | | | | | | framework use a fapl obtained by h5_fileaccess to the call of H5Fcreate and redo the test calls with h5_reset(); fapl = h5_fileaccess(); nerrors += do_ranks( fapl ) < 0 ? 1 : 0; nerrors += test_external( fapl ) < 0 ? 1 : 0; nerrors += do_layouts( fapl ) < 0 ? 1 : 0; tested: windows, linux
* [svn-r16397] Snapshot version 1.9 release 29HDF Tester2009-02-011-2/+2
|
* [svn-r16391] Description:Quincey Koziol2009-01-311-1/+51
| | | | | | | | Add more metadata statistics to extensible array header. Tested on: FreeBSD 6.3 (duty) (too minor to require h5committest)
* [svn-r16382] Description:Quincey Koziol2009-01-291-34/+34
| | | | | | | Re-insert some whitespace formatting that was accidentally removed. Tested on: None - just eyeballed.
* [svn-r16380] Purpose: Enable copying of dense attributesNeil Fortner2009-01-291-28/+161
| | | | | | | | | Description: Attribute object copy routines have been moved from H5Oattr.c to H5Aint.c. These routines are now shared between compact and densely stored attributes. New routines written to support the copying of dense attributes. This patch wasmostly written by Peter Cao. Tested: jam, smirom (h5committest)
* [svn-r16378] Description:Allen Byrne2009-01-291-44/+44
| | | | | | | | | Changed max macro in earray.c to avoid Windows conflict. Changed if(test) to assert(test) in H5FDcore.c - H5FD_core_open() Tested on: Windows: XP32, XP64, Vista32, Vista64 H5committest.
* [svn-r16372] Description:Quincey Koziol2009-01-293-8/+15
| | | | | | | | Clean up files produced from set_extent testing. Tested on: FreeBSD/32 6.3 (duty) (too minor to require h5committest)
* [svn-r16370] Modify test_pack_ooo to always output the state of randomly ↵Neil Fortner2009-01-281-45/+37
| | | | | | | | generated variables when it fails, even in the sections that do not use the random variables. Tested: jam
* [svn-r16360] Purpose: Fix potential error with H5Tset_orderNeil Fortner2009-01-271-0/+167
| | | | | | | | Description: H5Tset_order will now properly reject H5T_ORDER_NONE for most datatypes. Previously this could cause major problems as the file could not be flushed. Tested: jam, smirom (h5committest)
* [svn-r16347] Purpose: enhancements the H5Tinsert, H5TpackNeil Fortner2009-01-261-2/+249
| | | | | | | | | | | | Description: H5Tinsert will now detect when a compound type that was previously not packed becomes packed due to out of offset order insertion of a member. H5Tinsert will now attempt to keep members sorted by offset order. This should improve performance of H5Tinsert in all cases due to the fact that it no longer needs to check every other member for overlapping, and should improve performance of H5Tpack and possibly type conversion when compounds are packed out of order. Tested: jam, smirom (h5committest)
* [svn-r16340] Description:Frank Baker2009-01-221-1/+1
| | | | | | Changed 'THG' to 'The HDF Group' in various HDF5 source files, most of which are <subdirectory>/COPYING. -- Closes Bugzilla entry 1403.
* [svn-r16338] Purpose: Mike McGreevy2009-01-221-5/+0
| | | | | | | | | | | | | | Bug Fix Description: Removing some unnecessary system headers from test/cache.c which snuck their way into one of my previous check-ins ... thanks to Allen for catching this while testing on Windows. Tested: Windows, Linux
* [svn-r16327] Added some missing file names for OpenVMS. Tested on OpenVMS ↵Raymond Lu2009-01-161-0/+4
| | | | for 1.8.
* [svn-r16316] Added support for OpenVMS pathname for external links.Raymond Lu2009-01-142-25/+93
| | | | Tested on jam. Tested v1.8 on OpenVMS.
* [svn-r16308] Purpose: Fix problem with H5TpackNeil Fortner2009-01-141-2/+124
| | | | | | | | | Description: If a compound type was packed except for some extra space at the end, H5Tpack would not modify the type and the extra space would remain. Changed H5T_is_packed to fix this behaviour. Tested: jam, smirom (h5committest - linew down)
* [svn-r16296] Neil Fortner2009-01-111-2/+7
| | | | | | Disable more file drivers incompatible with family file driver in external_set_elink_cb in links.c. Tested: jam check-vfd
* [svn-r16294] Changes to links.c to prevent the core file driver from being ↵Neil Fortner2009-01-101-8/+9
| | | | | | | | used as the member file driver for a family file. This was causing problems with check-vfd. Tested: jam
* [svn-r16292] Purpose: Mike McGreevy2009-01-101-2/+1
| | | | | | | | | | | | | Bug Fix Descriotion: Removing problematic debugging code, and switching a leftover TRUE verbose statement to FALSE in cache_common.c Tested: jam, liberty
* [svn-r16290] Purpose: Mike McGreevy2009-01-092-29/+1643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding code to maintain a min_clean_fraction in the cache in serial mode. Description: The metadata cache now has the ability to maintain a min_clean_fraction when in serial mode. The default initial cache size has been changed from 1MB to 2MB, and the default min_clean_fraction has been set at 30%. This check-in includes modifications to H5C.c to support maintaining a min_clean_size, including the addition of clean_index_size and dirty_index_size trackers, modifications to the H5C_make_space_in_cache algorithm, as well as associated test code and additional statistics tracking variables. Maintaining the min_clean_fraction addresses the possibility of experiencing a "metadata blizzard" when the cache gets completely full with dirty entries. Upon having to make space, the cache would previously need to flush every single entry in the cache before coming across a clean entry which could be evicted. This resulted in unnecessary flushing of oftentimes hot entries in the cache. Maintaining the min_clean_fraction ensures that, when space is needed, clean entries are more readily available to evict. Tested: jam, smirom, linew (h5committest)
* [svn-r16289] Minor change to links.c to clear a warning.Neil Fortner2009-01-091-2/+0
| | | | Tested: jam
* [svn-r16287] Fix one of the new tests in links.c. external_set_elink_cb no ↵Neil Fortner2009-01-091-18/+22
| | | | | | | | longer copies the driver information from property list to property list. Tested: jam
* [svn-r16281] Purpose: Add functions to allow more flexible traversal of ↵Neil Fortner2009-01-081-0/+278
| | | | | | | | | | | external links. Description: Added H5Pset/get_elink_cb to allow the user to specify a callback function to be called whenever an external link is traversed. Added H5Pset/get_elink_acc_flags to allow the user to specify the file access flags to use to open the target file of an external link. All these properties are set on a LAPL. Tested: jam, linew, smirom (h5committest)
* [svn-r16273] Added a test for shrinking to 0 dimemsionsPedro Vicente Nunes2009-01-081-226/+351
| | | | Tested: windows, linux
* [svn-r16229] merge 16228Pedro Vicente Nunes2008-12-291-20/+20
| | | | | cleaned more linux warnings tested: linux
* [svn-r16227] cleaned some linux warningsPedro Vicente Nunes2008-12-291-3/+1
| | | | tested: linux
* [svn-r16225] removed some debug messagesPedro Vicente Nunes2008-12-291-18/+0
| | | | tested: windows, linux
* [svn-r16223] Modified H5Dset_extent so that it fails when called for compact ↵Pedro Vicente Nunes2008-12-291-159/+1693
| | | | | | | | datasets and contiguous with no external storage new test program: It adds tests for several ranks, use of fill value or not, compression, different fill value allocation times, use of different storage layouts, and external files tested: windows, linux
* [svn-r16176] Remove terminal whitespace in links.c, H5Lexternal.c, H5Pfapl.cNeil Fortner2008-12-091-22/+22
| | | | Tested: jam
* [svn-r16158] Test the non deletion of a chunk for the case chunk_offset == ↵Pedro Vicente Nunes2008-12-041-2/+240
| | | | | | dimension by shrinking first, then expanding to original size and compare buffers of initialized values Tested: windows, linux
* [svn-r16156] close & re-open the file for the test of non-default B-tree ↵Pedro Vicente Nunes2008-12-041-0/+29
| | | | | | | internal 'K' value (There was a bug where a non-default B-tree internal 'K' value was not being stored in the file) this is a rewrite of the old set_extent.c test program tested: windows, linux
* [svn-r16152] added comments and removed unnecessary codePedro Vicente Nunes2008-12-021-16/+63
| | | | tested: windows, linux
* [svn-r16148] reorganized the set_extent test to be more modularPedro Vicente Nunes2008-12-021-83/+116
| | | | tested: windows, linux
* [svn-r16144] Removed the check of H5Dset_extent for the space to be ↵Pedro Vicente Nunes2008-12-011-0/+11
| | | | | | chunked, since external datasets can be extended Tested: windows, linux
* [svn-r16143] add a test for recent fixes of H5Dset_extentPedro Vicente Nunes2008-12-011-625/+541
| | | | tested: windows, linux
* [svn-r16142] Added a check to H5Dset_extent for the space to be chunked, ↵Pedro Vicente Nunes2008-12-011-11/+0
| | | | | | | | exit with error otherwise A call to H5Dset_extent in the external test was removed Tested: windows, linux
* [svn-r16137] Description:Quincey Koziol2008-11-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Add support for paging large data blocks to extensible arrays Clean up allocation/destroy code for extensible array index, super and data blocks Add a couple of routines to set/get bit values in memory buffers Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16094] Description:Quincey Koziol2008-11-181-0/+36
| | | | | | | | | | | | | | | | | | | | | | Add initial support for data block 'page init' bitmasks to super blocks. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16093] Description:Quincey Koziol2008-11-181-69/+46
| | | | | | | | | | | | | | | | | | | | | | | | Initial changes to allow data blocks to be paged in, instead of loaded completely. Also, refactored test code to be smaller and more maintainable. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16091] Description:Quincey Koziol2008-11-171-9/+9
| | | | | | | | | Switch H5Gcreate -> H5Gcreate2 and H5Gopen -> H5Gopen2, so that they aren't switched with the API compability flags are changed Tested on: Mac OS X/32 10.5.5 (amazon) Linux/64 2.4 (smirom) w/API compability
* [svn-r16082] Purpose: Fix a problem in the file unmounting codeNeil Fortner2008-11-171-0/+125
| | | | | | | | | Description: Fixes a problem in H5F_close_mounts where it wouldn't correctly reshape the "child" array when unmounting files. Test added for this case. Also fixed a potential bug in H5F_unmount where that routine reshapes the child array. Tested: kagiso linew smirom (h5committest)
* [svn-r16062] Purpose: Allow per-dataset rdcc configurationNeil Fortner2008-11-121-0/+210
| | | | | | | | Description: Adds 3 new public functions: H5Pset_chunk_cache, H5Pget_chunk_cache, and H5Dget_access_list. First implementation of dataset access properties. See RFC_chunk_cache_functions for details. Tested: kagiso, linew, smirom (h5committest)
* [svn-r16059] Description:Quincey Koziol2008-11-111-1/+397
| | | | | | | | | | | | | | | | | | | | | Add more regression tests for extensible array data structure Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16042] Description:Quincey Koziol2008-11-071-0/+171
| | | | | | | | | | | | | | | | | | | | | Add random iteration to extensible array tests Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16041] Description:Quincey Koziol2008-11-071-53/+78
| | | | | | | | | | | | | | | | | | | | | Minor cleanups of new testing code. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16040] Description:Quincey Koziol2008-11-071-130/+606
| | | | | | | | | | | | | | | | | | | | | More tests for extensible arrays. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16036] Purpose: add H5Iis_valid functionNeil Fortner2008-11-051-4/+82
| | | | | | | | | Description: H5Iis_valid function added. This function checks if the id is valid (i.e. it is currently registered and visible to the application), and returns TRUE if it is valid, or FALSE otherwise. It should never return an error. Tested: kagiso, linew, smirom (h5committest)
* [svn-r16020] Purpose: Fix behaviour of H5OvisitNeil Fortner2008-11-031-0/+85
| | | | | | | Description: H5Ovisit and H5Ovisit by name will now check for a positive return value from the first callback. Test added for this case. Tested: kagiso
* [svn-r16006] Modify the commit of r15943 for H5_USE_16_API. Let H5version.h ↵Raymond Lu2008-10-302-9/+9
| | | | | | check if H5_USE_16_API_DEFAULT is defined by the configure. Then define H5_USE_16_API and use it throughout. Tested on kagiso - supposed to be simple.
* [svn-r15943] Changed the library's macros H5_USE_16_API to ↵Raymond Lu2008-10-242-9/+9
| | | | | | | | | H5_USE_16_API_DEFAULT avoid possible conflict wi th user's definition of H5_USE_16_API. The H5_USE_16_API_DEFAULT is defined through configure with the flag --with-default-api-version=v16. Tested with h5committest.
* [svn-r15942] Purpose: Bug Fixes and Libtool UpgradeMike McGreevy2008-10-241-6/+6
| | | | | | | | | | | | | | | | | | Description: - Remove need to set LD_LIBRARY_PATH when using shared szip library. - Libtool 2.2.6a is now used to generate libraries. - 'make check install' dependency bug is fixed, and should no longer break the build. - removed hard coding of shell in config/commence.am, as this causes problems on Solaris with the new version of libtool. - RELEASE.txt with appropriate changes. Tested: - kagiso, smirom, linew (merged from 1.8, pretty quick tests)