summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7583] Purpose:Quincey Koziol2003-10-091-15/+13
| | | | | | | | | | | | Code cleanup Description: Added line #'s to a bunch of the error printf's, so it's easier to locate where an error occurs. Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind)
* [svn-r7581] Purpose:Quincey Koziol2003-10-092-5/+5
| | | | | | | | | | | | | | | | | | Bug fix Description: The tests recently added for checking a file's freespace and verifying the new fields added to the H5G_stat_t structure use H5T_NATIVE_INT as the type for the datasets and attributes they create. Because the tests check explicit file sizes, this causes problems on Crays, where a native int is 64-bit instead of 32-bit. Solution: Change the tests to use H5T_STD_U32LE instead of H5T_NATIVE_INT. Platforms tested: FreeBSD 4.9 (sleipnir) Cray SV1 (wind)
* [svn-r7573] Purpose:Quincey Koziol2003-10-081-9/+24
| | | | | | | | | | | | | | | | | Bug fix Description: When too many messages were inserted into an object header, the library had an internal pointer to the "new message" that was pointing to the incorrect location when the array of messages was re-allocated. In the worst case, this could cause a file to be corrupted. Solution: Update the internal pointer when the array is re-allocated. Platforms tested: FreeBSD 4.9 (sleipnir) Too small to require h5committest
* [svn-r7562] Purpose:Quincey Koziol2003-10-071-0/+113
| | | | | | | | | | | | Feature add Description: Add a few new fields to the H5G_stat_t structure, to allow more information about the object header to be retrieved. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7560] Purpose:Quincey Koziol2003-10-071-0/+85
| | | | | | | | | | | | | | Add feature Description: Add H5Fget_freespace() routine, to check the amount of free space in a file. This information is only valid until the file is closed currently, however (until we start recording the free space information in the file itself). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7544] Purpose:Quincey Koziol2003-10-052-50/+215
| | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Re-worked ohdr test to use modification time messages instead of symbol table messages, now that the library correctly tries deleting the local heap and B-trees for the symbol tables (which didn't exist and caused the test to fail). Added tests for using named datatypes in attributes to verify that the reference counts are being tracked correctly, etc. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7475] Purpose: add more testsRaymond Lu2003-09-151-1/+178
| | | | | | | | Description: tests fixed length strings in two ways: array of strings and array of characters. Platforms tested: tested for 1.7 branch. Should works the same.
* [svn-r7469] Purpose:Quincey Koziol2003-09-121-1/+182
| | | | | | | | | | | | | | | | | | Code cleanup, etc. Description: Generalize Ray's datatype fixes to handle packing compound datatypes which are the base type of an array or variable-length type, etc. Also track "packedness" of a compound datatype from it's creation, instead of only setting the 'packed' flag after the datatype was explicitly packed. Updated docs to reflect that a compound datatype is allowed to grow (but not shrink). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7458] Purpose:Quincey Koziol2003-09-101-0/+60
| | | | | | | | | | | | | | | | | | Bug fix. Description: Correct bug where a file opened twice, once with read-write permission and once with read-only permission would cause closing the file with the read-only file ID to fail because it was trying to flush information out of the file. Solution: Check the permissions on file IDs that are being closed and only flush when the particular file ID was opened with write permission. Platforms tested: FreeBSD 4.9 (sleipnir) too small to need h5committest
* [svn-r7442] Purpose:Quincey Koziol2003-09-041-0/+55
| | | | | | | | | | | | | | | | | Bug fix Description: The VFL driver ID in a file's access proprty list wasn't being reference counted correctly, causing the VFL driver to get prematurely closed after several calls to "H5Pget_access_plist->H5Pclose". Solution: Increment VFL driver ID reference count when copy of file's access property list is made in H5Pget_access_plist() Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7435] Purpose:Quincey Koziol2003-08-311-0/+132
| | | | | | | | | | | | | | | | | | | | Bug Fix and code cleanup Description: Correct error in H5T_detect_class that was causing nested compound datatypes with to not detect the datatype class of fields correctly, which caused errors with fill-values, variable-length datatypes and chunks later on. Return the rank of the array datatype from H5Tget_array_dims(), like H5Sget_dims(). Lots of cleanups to datatype code, to make the handling of arrays, compound types, variable-length strings and sequences and enumerated types more consistent and robust. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7427] Purpose:Quincey Koziol2003-08-282-6/+240
| | | | | | | | | | | | | | | | | Bug fix Description: When datasets are deleted from a file, they are removed from the sieve buffer, but instead of invalidating only the part of the sieve buffer affected, the sieve buffer code would throw away the entire sieve buffer, potentially including other raw data in the buffer that hadn't been written to disk yet. Solution: Improve the sieve buffer clearing code to handle partial invalidations. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7413] Purpose:Quincey Koziol2003-08-261-21/+29
| | | | | | | | | | | | | | | | | | | Bug fix Description: H5Gget_objname_by_idx should allow NULL for the 'name' parameter, to allow for querying for the name's length. Solution: Allow NULL for the 'name' parameter, the internal functions were already ready to handle that case. Clean up RM information about H5Gget_objname_by_idx and H5Gget_objtype_by_idx also. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7392] Purpose:Quincey Koziol2003-08-221-0/+25
| | | | | | | | | | | | | | | | Bug fix Description: H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were only accepting a group ID, instead of a location ID, as our documentation for them stated. Solution: Allow them to accept a location ID. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7382] Purpose:Quincey Koziol2003-08-191-0/+69
| | | | | | | | | | | | | | | | Bug fix Description: I/O on chunked datasets with a scalar dataspace for the memory dataspace was not working correctly. Solution: Translate the scalar dataspace into a n-dimensional (where n is the number of dimensions of the file's dataspace) dataspace of dimensions 1x1x1... Platforms tested: FreeBSD 4.8 (sleipnir) h5committest (modulo modi4 which is not working correctly)
* [svn-r7378] Purpose:Quincey Koziol2003-08-161-0/+149
| | | | | | | | | | | | | | | | Bug fix Description: Linking and unlinking objects with multiple internal and/or trailing '/'s was not handled well in the library. Solution: "Normalize" strings by removing trailing '/'s and collapsing multiple internal '/'s down into just one '/' before operating on the name. Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7363] Purpose:Quincey Koziol2003-08-142-0/+383
| | | | | | | | | | | | | Bug fix Description: Allow a user block to be "inserted" in front of a file (probably by writing a validly-sized userblock to a new file and then appending another HDF5 file to the new file). Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r7258] Purpose:Quincey Koziol2003-07-231-0/+201
| | | | | | | | | | | | | | | Bug fix Description: I/O on chunked datasets with point selections was not working correctly. Solution: Re-wrote some parts of raw data I/O routines that build the selections for each chunk to correctly handle point selections. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7242] Purpose:Quincey Koziol2003-07-211-0/+136
| | | | | | | | | | | | Bug fix Description: Fix bug with combination of fill-values, chunked datasets and variable-length strings. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7234] Purpose:Quincey Koziol2003-07-162-14/+187
| | | | | | | | | | | | | | | | | | | | Bug fix Description: When a non-default indexed storage B-tree internal 'K' value is set by the user, the chunked datasets created in that file (until it is closed) use the user's 'K' value and the data can be accessed correctly, but the 'K' value is not stored in the file. However, once the file is closed and re-opened, the non-default 'K' value is lost and the data in the chunked datasets will not be able to be accessed correctly. Solution: Store the indexed storage B-tree internal 'K' value in the superblock. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7233] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2003-07-161-0/+81
|
* [svn-r7126] Purpose:Quincey Koziol2003-06-301-2/+2
| | | | | | | | | | | | | Code cleanup Description: Add in rest of szip "options mask" macros that were missing. Also made "raw" options mask set by the library, instead of requiring users to always set it. Platforms tested: FreeBSD 4.8 (sleipnir) Minor tweaks too small fo h5committest
* [svn-r7109] Purpose:Quincey Koziol2003-06-2611-108/+101
| | | | | | | | | | | Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7098] Purpose:Quincey Koziol2003-06-241-1/+17
| | | | | | | | | | | | | | Improve test a bit Description: Add a small bit of testing for the array field in a compound datatype. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest Cray SV1 (wind) Cray T3E (hubble) Cray T90 (gypsy)
* [svn-r7095] Purpose:Quincey Koziol2003-06-241-6/+100
| | | | | | | | | | | | | | | Code cleanup Description: Include roughed-in, but commented out code for performing I/O on time datatypes. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest Cray SV1 (wind) Cray T3E (hubble) Cray T90 (gypsy)
* [svn-r7081] Purpose:Quincey Koziol2003-06-231-22/+138
| | | | | | | | | | | | | | | | Bug fix (backward compatibility) Description: Changes we've made during development of the 1.5.x branch had broken the feature of allowing user's callbacks to H5Giterate to return a value through the library back to the application which called H5Giterate. Solution: Better testing for this feature. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7073] Purpose:Quincey Koziol2003-06-201-19/+28
| | | | | | | | | | | | Expand test Description: Expanded # of dangling objects from 2 to 1000, to stress ID cleanup code in library more. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7059] Purpose:Quincey Koziol2003-06-181-38/+42
| | | | | | | | | | | Refactoring Description: Track changes to H5Fget_obj_<foo> API functions. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7056] Purpose:Quincey Koziol2003-06-181-46/+171
| | | | | | | | | | | | More tests Description: Added tests to make certain that failed dataset, group, named datatype and attribute creations clean up the file space they allocated before failing. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7055] Purpose:Quincey Koziol2003-06-182-0/+30
| | | | | | | | | | | | Refactored code Description: Moved duplicated "get_file_size()" function from a couple of tests into a central location. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7054] Purpose:Quincey Koziol2003-06-181-47/+223
| | | | | | | | | | | | | | Improved tests Description: Added test for dangling attributes. Also added code to test with weak, semi & strong file close degrees for all tests. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7038] Purpose:Quincey Koziol2003-06-131-1/+87
| | | | | | | | | | | | | | | | | | Test bug fix Description: The fill time in a dataset with no fill value information created with an older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that dataset creation property list to fail now. Solution: Set the new default in the fill time initialization for missing fill value information. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7035] Purpose:Quincey Koziol2003-06-132-1/+1
| | | | | | | | | | | | | | | | | | | | | Driver error Description: The tmtimeo.h5 file was supposed to have been generated from gen_old_mtime.c which was compiled with a pre-1.5.x version of the library, however it appears to have been created with a newer version of the library and did not contain the older form of the mtime object header information that was being tested for. Solution: Run a version of gen_old_mtime that was compiled & linked against an older version of the library to generate the tmtimeo.h5 file. Had to update the modification time used for testing in the mtime.c file also. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7029] Purpose:Quincey Koziol2003-06-123-2/+7
| | | | | | | | | | | | | New feature/Bug fix Description: Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value to a dataset if the user has defined one, otherwise not writing the fill value to the dataset. Platforms tested: FreeBSD 4.8 (sleipnir) serial & parallel h5committest
* [svn-r7021] Purpose: bug fixRaymond Lu2003-06-102-37/+362
| | | | | | | | Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails fix-length string type, too. Platforms tested: Cray, h5committest
* [svn-r7017] Purpose:Quincey Koziol2003-06-101-54/+101
| | | | | | | | | | | | | | | | Test bug fix Description: Chunked datasets with early space allocation and unlimited dimensions were running into problems where the dataset's "layout" message was marked as constant too early, preventing the dataset's dimensions from being extended. Solution: Change logic for marking the layout message constant to wait a bit longer. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committest
* [svn-r7001] Purpose:Quincey Koziol2003-06-093-8/+38
| | | | | | | | | | | Code cleanup Description: Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6962] Purpose:Quincey Koziol2003-06-041-131/+207
| | | | | | | | | | Code cleanup Description: Update dependencies and tracing information Platforms tested: h5committested
* [svn-r6961] Purpose:Quincey Koziol2003-06-043-8/+28
| | | | | | | | | | | | | | | | Bug fix Description: An earlier checkin changed some of the assumptions about single block hyperslabs, causing them to fail in odd ways. Solution: Fix errors with single block hyperslabs by keying off of count==1 instead of stride==1. Platforms tested: FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6957] Purpose:Quincey Koziol2003-06-041-4/+866
| | | | | | | | | | | | | | | | Code cleanup & performance improvements Description: Optimize hyperslabs that are built to detect situations where "regular" hyperslabs can be recovered from span tree descriptions. Also, improve "same shape" routine to correctly work with all the different combinations of selections. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6954] Purpose:Quincey Koziol2003-06-041-9/+9
| | | | | | | | | | | | Code cleanup Description: Wrap macro parameters with parantheses to avoid errors in expanding them. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6951] Purpose:Quincey Koziol2003-06-041-1/+1
| | | | | | | | | | | | Code cleanup Description: Clean up various warnings & comment out unused code. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested
* [svn-r6950] Purpose:Quincey Koziol2003-06-041-2/+7
| | | | | | | | | | | | | | | | | | | | | | API tweak. Description: The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving the 'start' and 'end' coordinates, which is counter to the rest of the dataspace API. Solution: Change the arrays to be hssize_t instead. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested Misc. update: Updated all docs for this change. Added 1.4 compatibility #ifdef's
* [svn-r6941] Purpose:Quincey Koziol2003-05-312-7/+7
| | | | | | | | | | Code cleanup Description: Clean up older settings for strides of hyperslabs Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6940] Purpose:Quincey Koziol2003-05-311-0/+4
| | | | | | | | | | | Code cleanup Description: Call srand(time(NULL)) before performing tests, to better randomize numbers chosen for testing. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6939] Purpose:Quincey Koziol2003-05-311-0/+2
| | | | | | | | | | | Code cleanup Description: Free malloc'ed buffer of 0 bytes when H5_MALLOC_WORKS is defined, to make purify happier. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6938] Purpose:Quincey Koziol2003-05-311-2/+2
| | | | | | | | | | Code cleanup Description: Remove redundant "Testing" from test output. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6937] Purpose:Quincey Koziol2003-05-311-14/+14
| | | | | | | | | | | | | | Bug fix Description: Failed tests were not being reported correctly to main test routine, so they were not stopping a 'make check' Solution: Changed '1' to '-1' for failures. Platforms tested: h5committestted (although Fortran tests failed for some reason)
* [svn-r6921] Purpose: bug fixRaymond Lu2003-05-281-33/+107
| | | | | | | Description: it didn't handle special platforms like cray well Platforms tested: h5committest
* [svn-r6914] Elena Pourmal2003-05-221-1/+1
| | | | | | | | | | | | | | | | Purpose: Maintenance and bug fixes and test of latest szip library.. Description: Recently Quincey enabled MEDIUM test for istore. That caused daily tests to fail on verbena. It looks like that test creates a pretty big file, and afs write fails. Test passes when run in /tmp. Solution: Disable MEDIUM test and filed bug report to investigate the problem little bit more carefully. Platforms tested: verbena, arabica, arabica-64 (since I also tested newest szip) Misc. update: