summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16314] Added support for OpenVMS pathname for external link.Raymond Lu2009-01-142-27/+89
| | | | Tested on OpenVMS and jam.
* [svn-r16309] 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-r16297] 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-r16295] 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-r16293] Purpose:Mike McGreevy2009-01-101-2/+1
| | | | | | | | | | | | | Bug Fix Description: Removed problematic debugging statement and switched one remaining TRUE verbose statement to FALSE in cache_common.c Tested: jam, liberty
* [svn-r16291] Purpose:Mike McGreevy2009-01-092-29/+1643
| | | | | | | | | | | | | | | svn merge Description: merging revision 16290 from trunk to 1.8 (revision 16290 contains the code that maintains a min_clean_fraction of the metadata cache in serial). Tested: smirom, jam
* [svn-r16288] Fix one of the new tests in links.c. external_set_elink_cb no ↵Neil Fortner2009-01-091-20/+22
| | | | | | | | longer copies the driver information from property list to property list. Tested: jam
* [svn-r16282] 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 (trunk version tested with h5committest)
* [svn-r16275] Added a test for shrinking to 0 dimemsionsPedro Vicente Nunes2009-01-081-226/+351
| | | | Tested: windows, linux
* [svn-r16268] Temparorily comment out some failing tests for Open VMS. After ↵Raymond Lu2009-01-061-0/+6
| | | | | | | | fixing the problem, I will uncomment them. Tested on Open VMS and jam.
* [svn-r16228] cleaned more linux warningsPedro Vicente Nunes2008-12-291-23/+21
| | | | tested: linux
* [svn-r16226] merge 16225Pedro Vicente Nunes2008-12-291-18/+0
| | | | | remove debug messages tested: windows, linux
* [svn-r16224] merge from 16223Pedro Vicente Nunes2008-12-291-159/+1693
| | | | | | | Modified H5Dset_extent so that it fails when called for compact 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-r16177] Remove terminal whitespace in links.c, H5Lexternal.c, H5Plapl.cNeil Fortner2008-12-091-22/+22
| | | | Tested: jam
* [svn-r16159] merge 16158Pedro Vicente Nunes2008-12-041-2/+240
| | | | | | Test the non deletion of a chunk for the case chunk_offset == dimension by shrinking first, then expanding to original size and compare buffers of initialized values Tested: windows, linux
* [svn-r16157] merge 16156Pedro Vicente Nunes2008-12-041-0/+29
| | | | | | close & re-open the file for the test of non-default B-tree 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-r16153] merge 16152Pedro Vicente Nunes2008-12-021-16/+63
| | | | | | | added comments and removed unnecessary code tested: windows, linux
* [svn-r16149] merge 16148Pedro Vicente Nunes2008-12-021-83/+116
| | | | | | reorganized the set_extent test to be more modular tested: windows, linux
* [svn-r16145] Merging with trunk regarding revisionsPedro Vicente Nunes2008-12-011-625/+541
| | | | | | | | | | | | | | | | | | | 16132 some chunks were not deleted for some cases, the comparison to check for chunk offsets outside of the new dimensions was chunk_offset[ i ] > dimension [ i ] and it must be chunk_offset[ i ] >= dimension [ i ] 16133 H5TBdelete_record was not handlong correctly records at the end of the table added a ckeck that avoids to read these records if they are not needed (for pushing down the table) 16143 add a test for recent fixes of H5Dset_extent tested: windows, linux
* [svn-r16092] 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-r16087] Purpose: Port H5Pset_chunk_cache, H5Pget_chunk_cache, and ↵Neil Fortner2008-11-171-0/+210
| | | | | | | | H5Dget_access_plist functions to 1.8 branch Tested: kagiso, jam (trunk version tested with h5committest)
* [svn-r16086] Purpose: Port H5Iis_valid function to 1.8 branchNeil Fortner2008-11-171-4/+82
| | | | Tested: kagiso (trunk version tested with h5committest)
* [svn-r16083] 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. (Port to 1.8) Tested: kagiso linew smirom (h5committest)
* [svn-r16021] 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-r16005] Modify the commit of r15936 for H5_USE_16_API. Let H5version.h ↵Raymond Lu2008-10-302-8/+8
| | | | | | 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-r15940] Purpose: Close bug 1305.Neil Fortner2008-10-241-1/+165
| | | | | | | | | Description: Added a new function, H5O_alloc_shrink_chunk, which removes all null messages from a chunk and shrinks the chunk appropriately. Modified H5O_merge_null to call this function when a null message is created with a size >= 64k. Tests added for this functionality. Tested: kagiso, linew, smirom (h5committest)
* [svn-r15936] Changed the library's macros H5_USE_16_API to ↵Raymond Lu2008-10-232-8/+8
| | | | | | | | H5_USE_16_API_DEFAULT avoid possible conflict with 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-r15898] Purpose: Bug FixMike McGreevy2008-10-171-6/+1
| | | | | | | | | | | | | | | Description: Libtool wasn't working on linew because the script was not working with the Solaris Bourne shell. Libtool has built- in detection to ensure that it uses an appropriate shell, but our config/commence.am was hard coding this shell to be /bin/sh. Removing this line allows the shell to be picked up by configure, thus allowing libtool to use the correct shell on linew (bash). This was initially added to correct for a problem on an old machine (janus), so shoudn't be needed for machines we currently support. Tested: full make check install on kagiso and linew, compile only on smirom, duty, and liberty.
* [svn-r15881] Purpose: Bug Fixes, Libtool UpgradeMike McGreevy2008-10-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: 1) configure now sets LD_LIBRARY_PATH before checking for presence of SZIP encoder, so user does not need to set this. The path is then saved and sent to Makefiles, and used when "make check-install" is invoked, so user doesn't need to set this manually. 2) Upgraded libtool to version 2.2.6a 3) Rearranged tools build order as h5dump depends on existence of h5diff and h5import. Since h5dump is a sister directory as opposed to a parent of either, it doesn't know about the build rules of these tools, so setting any sort of explicit dependency confuses automake as it won't know how to build the tools. Instead, setting CONFIG = ordered forces an in-order traversal of each tools subdirectory. (without it will also traverse in order by default, but this should prevent gmake's -j option from jumping ahead as well). 'make check install' should now be able to be invoked after 'configure' without causing a dependency failure. 4) Removed H5_HAVE_LARGE_HSIZET macro from vms/src/h5pubconf.h, as this macro has now been out of the code for some time. (vms pubconf needs to be updated manually, which is why it was still hanging around). Tested: kagiso, smirom, liberty Note: h5diff looks to be causing failures in h5copy and h5dump tools tests, though these were present before any of my changes. My changes only affect build order and configuration setup, and shouldn't prevent fixes for these failures coming in after this checkin. Other than these, tests pass fine.
* [svn-r15869] Description:Quincey Koziol2008-10-1519-2299/+2197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r15868 from trunk to 1.8 release branch: Correct a minor error in file free space allocation which was affecting the 'multi' VFD and preventing some tests from fully working with it. Wholesale revisitation of all the places where tests were disabled with various VFDs and remove or correct all these so that _only_ the tests which _really_ can't work with particular VFDs are skipped during a 'make check-vfd' test. 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 (kagiso) 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-r15863] Description:Quincey Koziol2008-10-143-79/+68
| | | | | | | | | | | | | | | | | | | | | Bring r15861 back from trunk to 1.8 release branch. 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 (kagiso) 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-r15854] Added a new test case. When a datatype is a SOHM type in one ↵Raymond Lu2008-10-131-2/+181
| | | | | | | | file, test that the second file using the same datatype actually save it in the file, too. Tested on kagiso. But the same change in v1.9 has been tested with h5committest.
* [svn-r15853] Purpose: Decrease size of points array in links testScott Wegner2008-10-131-6/+6
| | | | | | | | Description: In the external_set_elink_fapl2 links test, there is a large array of points which declared on the stack for testing. Previously, the array was 1000 x 1000, which was too large for Visual Studio to handle. As a result, we were getting stack overflows during the test. We've reduced the number to 400, as this seems to be below the limit. The exact number of points in the array isn't important to the test. Tested: VS2005 on WinXP
* [svn-r15846] Purpose: Declare loop variable at beginning of functionScott Wegner2008-10-131-1/+2
| | | | | | | | Purpose: On Windows, we were getting compile errors because h5test.c includes a function with variable declarations in the middle of the call. The Microsoft C compiler demands that all variables be declared at the top of the function. This checkin simply moves the declaration to the top to satisfy Visual Studio. Tested: VS2005 on WinXP
* [svn-r15829] Description:Quincey Koziol2008-10-092-1150/+1317
| | | | | | | | | | | | | | | | Bring bck revision 15828 from trunk: Skip some free space manager tests when using a VFD that doesn't support the feature being tested. Use a particular memory type with the file free space sections. Uncomment the metadata aggregator feature for the fmily VFD, as it appears to be working after the file free space changes. Tested on: FreeBSD/32 6.3 (duty) h5committest not needed, change already tested on trunk...
* [svn-r15827] Description:Quincey Koziol2008-10-091-36/+0
| | | | | | | Correct mis-merge in last set of changes from the trunk. Tested on: FreeBSD/32 6.3 (duty)
* [svn-r15826] Description:Quincey Koziol2008-10-0913-577/+677
| | | | | | | | | | | | | Bring revision 15825 from trunk: Fix various problems with a the core & sec2 VFDs. Improve the h5_get_file_size() routine to handle files created with VFDs that use multiple files. Tested on: FreeBSD/32 6.3 (duty) Already tested on other machine, in trunk.
* [svn-r15811] Some test produced files were not cleaned by "make clean".Albert Cheng2008-10-082-6/+6
| | | | | | Added them to the clean list. Tested: kagiso.
* [svn-r15806] correction in test name, testing "non" initialized chunksPedro Vicente Nunes2008-10-071-2/+2
| | | | tested: windows, linux
* [svn-r15803] Description:Quincey Koziol2008-10-071-994/+1090
| | | | | | | | | | | Bring r15802 back from trunk: Skip some file free space tests that deal with aligned allocations when using the stdio VFD, which has its own allocation process that drops the unaligned fragments instead of tracking them with the free space manager. Tested on: Mac OS X/32 10.5.5 (amazon) w/stdio driver
* [svn-r15801] Description:Quincey Koziol2008-10-0717-135/+8518
| | | | | | | | | | | | | | | | | | | | | | | Bring r15800 back from trunk: - File free space branch changes through r15794 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 (kagiso) 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-r15799] Description:Quincey Koziol2008-10-071-1/+1
| | | | | | | | Change H5Tcommit() call to H5Tcommit2() call, so that library builds with the default API set to v16 work. Tested on: Linux/64 2.4 (smirom) w/default API set to v16
* [svn-r15797] Purpose: Close bug #1322Neil Fortner2008-10-071-24/+156
| | | | | | | | | Description: Fixes a possible datatype id leak that could occur during compound datatype conversion, or more precisely, when unregistering those conversions. Datatype ids normally registered by the library are no longer visible to the application via H5Fget_obj_ids and H5Fget_obj_count. Tested: kagiso, linew, smirom (h5committest)
* [svn-r15766] Modifications for bug #1247 so that the user can specify the driverVailin Choi2008-10-031-2/+486
| | | | | | | | | | | | to use when opening the external linked target file. 1. Two new public routines are added to H5Plapl.c as well as "del/copy/close" callbacks for the property itself. 2. Modify H5L_extern_traverse() to use the fapl set via H5Pset_elink_fapl() and retrieve via H5Pget_elink_fapl(). 3. Add 3 tests to links.c to verify H5Pset/get_elink_fapl(). Also fix the compiler warning for the "if condition" in H5_build_extpath() of H5system.c.
* [svn-r15754] Bug #1312Pedro Vicente Nunes2008-10-021-134/+319
| | | | | | | Solution: Check for the existence of chunks before pruning them (an assertion was triggered when attempting to do so) Tested: windows , linux, solaris
* [svn-r15707] I changed the return values of H5Fget_obj_ids and ↵Raymond Lu2008-09-262-5/+5
| | | | | | | | H5Fget_obj_count to ssize_t and modified C++ and Fortran API functions. This is for bug #1245. Tested on kagiso - I've tested the same change using h5committest.
* [svn-r15683] Purpose: fix bug 1298Neil Fortner2008-09-221-5/+165
| | | | | | | | | | | Description: The optimized "subset" compound conversion function would improperly copy the "blank" space at the end of compound types. Modified H5T_conv_struct_init to detect when the subset type has extra space at the end, and calculate the size of the data that should be copied into the conversion buffer for each element. Changes to the functions that implement these conversions. Tested: kagiso, linew, smirom (h5committest)
* [svn-r15657] Purpose: fix bug 1286Neil Fortner2008-09-181-1/+360
| | | | | | Description: Added configure test to see if pointer alignment restrictions are enforced (as in dereferencing an unaligned pointer causes an error). Added code in H5Tvlen.c to avoid dereferencing unaligned pointers, conditionally compiled based on the configure test. Added test case in dtypes.c which would previously cause such machines to fail. Tested: kagiso, smirom, linew (h5committest); linew64
* [svn-r15629] Description:Quincey Koziol2008-09-1636-818/+818
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15516] Fix faulty error checking in call to H5I_remove().Neil Fortner2008-08-211-0/+2
| | | | | | Add prototype to the top of app_ref.c to suppress warning. Tested: kagiso