summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9597] Purpose:Quincey Koziol2004-11-291-0/+5
| | | | | | | | | | | | | Code optimization Description: Retarget metadata cache code from using TBBT routines to using new skiplist routines, for a reasonable speedup (when dealing with dirty metadata) Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require h5committest
* [svn-r9582] Purpose:Quincey Koziol2004-11-273-4/+7
| | | | | | | | | | | | | | | | | | | | Add new internal data structure Description: Add an implementation of skip lists to the library (see comment in src/H5SL.c for references to the papers describing them) as a potential replacement for our current threaded, balanced binary tree container. Skip lists are much simpler to implement and should be faster to use. Also, added new error codes to release branch, so bump the minor version number to indicate that the library is no longer perfectly compatible with the 1.6.3 release. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require further testing (the skip lists aren't actually used by any library code yet)
* [svn-r9581] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-11-271-0/+497
|
* [svn-r9568] Purpose:Quincey Koziol2004-11-241-16/+19
| | | | | | | | | | | Cleanup & add test Description: Clean up test makefile a bit and add metadata cache test to 1.6 branch. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9538] Purpose:Quincey Koziol2004-11-171-5/+29
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup & optimizations Description: Clean up some of the code in attributes to avoid allocating memory and performing type conversions when the conversion is a noop. Avoid memory allocations of attribute data structures by switching to use library's free list memory allocator routines. Avoid memory allocations of object header continuation data structures by switching to use library's free list memory allocator routines. Rearrange threaded, balanced binary tree macros slightly to avoid some overhead. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require h5committest
* [svn-r9460] Purpose:Quincey Koziol2004-10-261-6/+6
| | | | | | | | | | | | Code cleanup & optimization Description: Bring back new metadata cache code from development branch. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Linux 2.4 (heping) w/C++ & FORTRAN
* [svn-r9449] Purpose:Albert Cheng2004-10-221-4/+1
| | | | | | | | | | | | | "Improvement"? Description: Long double is a standard C89 type. Promoted it from a conditional tested type to an assumed supported type. Platforms tested: H5committested. Misc. update:
* [svn-r9434] Purpose:Quincey Koziol2004-10-191-65/+101
| | | | | | | | | | | | | | | | Bug fix Description: Fix core dump when flushing a file with a newly created attribute which hasn't had a value written to it still open. Solution: Write the attribute fill value when appropriate. Platforms tested: FreeBSd 4.10 (sleipnir) Linux 2.4 (verbena) Solaris 2.7 (arabica)
* [svn-r9426] Purpose:Albert Cheng2004-10-141-1/+7
| | | | | | | | | | | | | | Bug fix. Description: AIX defines different sizes of the signed and unsigned int_fast8_t. Changed the code to check each type individually and do not verify they must be the same size. Platforms tested: Tested in copper only since the change is trivial. Misc. update:
* [svn-r9421] Bug fix.Albert Cheng2004-10-141-1/+1
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9420] Bug fix.Albert Cheng2004-10-141-42/+57
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9396] Purpose:Quincey Koziol2004-10-102-5/+7
| | | | | | | | | | | Bug fix Description: Correct a couple of array bounds issues exposed by the PGI compiler Platforms tested: Linux 2.4 (verbena) w/PGI compilers Too minor too requie h5committest
* [svn-r9394] Purpose:Quincey Koziol2004-10-091-257/+233
| | | | | | | | | | | | Code cleanup Description: Clean up formatting and some mis-casts, etc. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (verbena) Solaris 2.7 (arabica)
* [svn-r9367] Purpose: feature changeRaymond Lu2004-10-051-8/+17
| | | | | | | Description: Prevent create datatype of size 0 Platforms tested: heping(simple change)
* [svn-r9365] Raymond Lu2004-10-051-18/+9
| | | | | | | | | | | Purpose: change feature Description: Back up supporting bitfield and time datatypes in H5Tget_native_type. Leave it for future support. Simply returns "not supported" error message for now. Platforms tested: h5committest Misc. update: RELEASE.txt
* [svn-r9355] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-10-011-0/+4160
|
* [svn-r9351] Raymond Lu2004-10-011-0/+72
| | | | | | | | | | | | | | Purpose: enhanced feature Description: enable size adjustment for compound datatype. The size can be increased and decreased(as long as the members are not cut). Solution: mainly check if any member is being cut when decreasing the size. Others are simply taking out the assertion against 0 size. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r9334] James Laird2004-09-282-25/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Feature Description: (Same change to release branch) Datatypes and groups now use H5FO "file object" code that was previously only used by datasets. These objects will hold a file open if the file is closed but they have not yet been closed. If these objects are unlinked then relinked, they will not be destroyed. If they are opened twice (even by two different names), both IDs will "see" changes made to the object using the other ID. When an object is opened using two different names (e.g., if a dataset was opened under one name, then mounted and opened under its new name), calling H5Iget_name() on a given hid_t will return the name used to open that hid_t, not the current name of the object (this is a feature, and a change from the previous behavior of datasets). Solution: Used H5FO code that was already in place for datasets. Broke H5D_t's, H5T_t's, and H5G_t's into a "shared" struct and a private struct. The shared structs (H5D_shared_t, etc.) hold the object's information and are used by all IDs that point to a given object in the file. The private structs are pointed to by the hid_t and contain the object's group entry information (including its name) and a pointer to the shared struct for that object. This changed the naming of structs throughout the library (e.g., datatype->size is now datatype->shared->size). I added an updated H5Tinit.c to windows.zip. Platforms tested: Visual Studio 7, sleipnir, arabica, verbena Misc. update:
* [svn-r9323] Purpose:Quincey Koziol2004-09-272-1/+98
| | | | | | | | | | | | | Bug fix Description: Fix situation where deleting a chunked datasets with B-tree nodes that weren't in the metadata cache would die with a core dump. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (heping) Solaris 2.7 (arabica)
* [svn-r9313] Purpose:Quincey Koziol2004-09-231-0/+7
| | | | | | | | | | Bug fix. Description: Allow I/O to occur on 0 element selections. Platforms tested: h5committest
* [svn-r9259] Purpose:Quincey Koziol2004-09-151-1/+1
| | | | | | | | | | | Code cleanup Description: Add a couple of new test files to the list of files to clean. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9211] Purpose:Pedro Vicente Nunes2004-09-071-339/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fix add a new test for the native types test Description: on the Cray SV1 an INT type was wrongly converted to a SHORT type by the get_native_integer function Choose the type based on the precision; this is to support cases like the Cray SV1, where the size of short is 8 but precision is 32 (e.g an INT (size 8, prec 64) would be converted to a SHORT (size 8, prec 32) if the size was the deciding factor) CVS: [describe the bug, or describe the new feature, etc] Solution: CVS: [details about the changes, algorithm, etc...] CVS: [Be as detail as you can since your own explanation is CVS: better than others guessing it from the code.] Platforms tested: linux solaris aix Description: Solution: Platforms tested: Misc. update:
* [svn-r9156] Purpose:Quincey Koziol2004-08-252-7/+113
| | | | | | | | | | | | | | | Bug fix (sorta) Description: Change reading of "missing" chunks from datasets with undefined fill values to not overwrite the application buffer with random garbage from memory. Note that this is almost the same, since whatever garbage the application had in those locations will still be there... Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committested
* [svn-r9140] Purpose:Albert Cheng2004-08-231-1/+5
| | | | | | | | | | | | | | | Bug fix. Description: The return value of TestPrivateParser() was not tested, thus program would keep on going incorrectly even if errors were detected in TestPrivateParser. Solution: Check the return and exit accordingly. Platforms tested: Tested in Eirene and Sol in both serial and pp modes.
* [svn-r9116] Purpose:Albert Cheng2004-08-194-27/+72
| | | | | | | | | | | | | | | | | | | | | | | | | feature Description: Another revamp of the test interface. TestInit: is used to register Test Program name, test program specific Usage and option parsing routines. TestUsage: will invoke extra usage routine if provided. TestParseCmdLine: will invoke extra option parsing routine if provided. GetTestSummary() and GetTestCleanup() replaces the previous Summary and CleanUp arguments of TestParseCmdLine. test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c: All have been updated to use the new Test Routines. testpar/t_mpi.c: Also a fix of a compiler optimization bug when pgcc in Linux is used to compile it. Changed buf[] and expected to unsigned char type to avoid a bug that failed to do sign-extension. Platforms tested: "h5committested" Also tested thread-safe option in eirene.
* [svn-r9085] Purpose:Albert Cheng2004-08-141-1/+1
| | | | | | | | | | Bug fix Description: Updated it to use the new TestParseCmdLine() syntax. Platforms tested: "h5committested" and in eirene with threadsafe enabled.
* [svn-r9080] Purpose:Albert Cheng2004-08-133-50/+75
| | | | | | | | | | | | | | Feature Description: Changed TestParseCmdLine to accept an optional extra_parse() function provided by indidivual test application. Extra_parse() can handle extra options special to that test application. Updated testhdf5.c to use the new syntax of TestParseCmdLine(). Platforms tested: On eirene both serial and parallel.
* [svn-r9074] Purpose: bug fixRaymond Lu2004-08-121-1/+1
| | | | | | | | | | Description: The test tried to read a dataset of H5T_STD_I32LE type and verify with the size of H5T_NATIVE_INT in function test_misc20(), line 3376. This will fail on some machines like Crays where the size of H5T_NATIVE_INT is 8 bytes. Solution: changed from H5T_NATIVE_INT to H5T_STD_I32LE. Platforms tested: Crays - very simple change.
* [svn-r9054] Purpose:Quincey Koziol2004-08-081-0/+215
| | | | | | | | | | | | | | | | | | | Bug fix Description: Correct possible core dump when a datatype conversion function is registered with the library after a compound datatype has been converted (having it's type conversion information cached by the library). The compound datatype must have been created by inserting the fields in non-increasing offset order to see the bug. Solution: Re-sort the fields in the compound datatypes before recalculating the cached information when performing the conversion on them. Platforms tested: FreeBSD 4.10 (sleipnir) h5committested
* [svn-r9051] Purpose:Albert Cheng2004-08-082-11/+17
| | | | | | | | | | | | | Feature Description: Added a feature such that if the test name starts with '-', do not run it by default. Platforms tested: Eirene both serial and parallel. Misc. update:
* [svn-r9040] Purpose:Quincey Koziol2004-08-061-5/+5
| | | | | | | | | | | | Code cleanup Description: At user's suggestion, convert some "naked" standard library calls to use the HD*() macros. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9017] Purpose:Quincey Koziol2004-08-051-9/+9
| | | | | | | | | | | Code cleanup Description: Clean up ifdef's and close leaked ID. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9013] Elena Pourmal2004-08-041-5/+8
| | | | | | | | | | | | | | | Purpose: Small bug fix Description: When SZIP filter is present but encoding is not enabled test_misc21 and h5repack tests failed. Solution: Those tests should not run in this situation at all. Used conditonal compilation to disable the tests. Platforms tested: sol (today I will enable the daily tests with the szip library that doesn't have encoder for few other platforms) Misc. update:
* [svn-r9008] Purpose:Robert E. McGrath2004-08-041-9/+17
| | | | | | | | | | | | | | Fixed errors in tmisc22. Description: Fixed errors. Also made the test dataset smaller to speed up the test. Solution: Platforms tested: Misc. update:
* [svn-r9005] Purpose:Robert E. McGrath2004-08-031-0/+150
| | | | | | | | | | | | | | | Some tests for SZIP bits per pixel Description: Test setting SZIP bits per pixel from the datatype Solution: Test many offset+precision combiations. Platforms tested: verbena,arabica,hirdls Misc. update:
* [svn-r8985] Purpose:Quincey Koziol2004-08-023-162/+263
| | | | | | | | | | | | | | | | | | | | | Bug fixes & code cleanups Description: Backport MPI-I/O changes from the development branch to the release branch in preparation for bringing Kent's collective chunk I/O changes back. Removed last vestiges of FPHDF5 from this branch, as it was never working here. Various code cleanups & syncrontizations to better align with development branch code and reduce diffs. Regenerate dependencies. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel IRIX64 6.5 (modi4) h5committested
* [svn-r8970] Purpose:Quincey Koziol2004-07-301-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: Address two problems: - The computation of the scanline in the szip filter was being performed in the "can apply" callback routine instead of the "set local" routine. - The routine which allocated all the chunks for an entire dataset (which is invoked when the allocation time is early or late, rather than incremental) wasn't recording a failed filter in the information for the chunk, causing the library to believe that the chunk had the filter applied when it really hadn't. Solution: - Move the scanline computation to the "set local" callback. - Record the filter mask with each chunk created when allocating them. Platforms tested: FreeBSD 4.10 (sleipnir) w/szip Too obscure to require h5committest
* [svn-r8963] Purpose:Quincey Koziol2004-07-281-0/+51
| | | | | | | | | | | | | | | Bug fix Description: Allow I/O on extendible chunked datasets with (currently) zero-sized dimensions to proceed harmlessly instead of dumping core on an assertion. Solution: Removed assertion and added checks to avoid problem situation in H5TB_end Platforms tested: FreeBSD 4.10 (sleipnir) w/ & w/o parallel Too minor to require h5committest
* [svn-r8961] Purpose:Quincey Koziol2004-07-281-0/+1
| | | | | | | | | | | Bug fix Description: Clean up new testfile from earlier checkin. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r8959] Purpose:Quincey Koziol2004-07-271-54/+107
| | | | | | | | | | | | | Bug fix Description: Always write fill values to chunks when initializing entire B-tree and any filters are defined. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require h5committest
* [svn-r8954] James Laird2004-07-272-0/+107
| | | | | | | | | | | | | | | | Purpose: Bug fix Description: When a simple dataspace is created, its extent should be set before using it, or it will silently function as a NULL dataspace. Solution: Added checks on user-supplied dataspaces. Now dataspaces without extents set will throw errors; users must explicitly set a dataspace to be NULL. Platforms tested: sleipnir, windows
* [svn-r8937] James Laird2004-07-231-24/+41
| | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Modification time test (mtime) would die silently on some systems. This is because the code is very system-dependant (it relies on getting the current time and the timezone from the OS). Solution: mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the failure occurred. Configure script is a little smarter about whether gettimeofday() function returns the timezone correctly. Further bugs will need to be addressed on a system-by-system basis. Platforms tested: sleipnir, arabica, verbena, copper, windows (VC7)
* [svn-r8930] Purpose:James Laird2004-07-221-127/+174
| | | | | | | | | | | Code cleanup Description: Fixed reserved.c test to use h5_fileaccess/h5_fixname/h5_cleanup. Updated RELEASE.txt for previous bug fix Platforms tested: sleipnir, verbena
* [svn-r8918] Elena Pourmal2004-07-211-4/+11
| | | | | | | | | | | | | | | | | | | Purpose: Improvement Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's fastest changing dimension. As a result, fastest changing dimension of the chunk could not be bigger than 4K and smaller than pixels_per_block value and szip compression couldn't be used for many real datasets. Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks with the total number of elements less than pixels_per_block value are rejected. There is no restriction on the size of the chunk's fastest changing dimension anymore. Modified the test according to the new algorithm. Platforms tested: verbena, copper, sol Misc. update:
* [svn-r8902] Purpose:Quincey Koziol2004-07-201-142/+129
| | | | | | | | | | | | Bug fix Description: Allow buffer parameter to H5Dread & H5Dwrite to be NULL if there are no elements to transfer. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8900] James Laird2004-07-201-0/+12
| | | | | | | | | | | | | | Purpose: Bug Fix Description: H5Sset_extent_simple causes errors if used to reduce a space's maxdims to zero. Solution: H5Sset_extent_simple now cleans up the pointer. Added a regression test. Platforms tested: sleipnir (very minor change)
* [svn-r8898] James Laird2004-07-201-0/+11
| | | | | | | | | | | | | | | Purpose: Bug Fix Description: Trying to create the root group or the working group ("/" or ".") fakes out HDF5 so that it neither creates a group nor returns an error. Solution: H5G_namei now throws an error if it was supposed to insert but didn't. Platforms tested: sleipnir, Visual Studio 7 (very minor change)
* [svn-r8893] Purpose:Quincey Koziol2004-07-164-176/+179
| | | | | | | | | | | | | | Code cleanup Description: Clean up a bunch of warnings and bring new code better inline with current library coding practice. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest Misc. update:
* [svn-r8880] James Laird2004-07-151-0/+2
| | | | | | | | | | | | Purpose: Bug fix Description: Replaced "unsigned long long" with hsize_t in H5MF Added "return 0" at end of reserved.c test (duh!). Platforms tested: arabica, sleipnir
* [svn-r8876] James Laird2004-07-144-4/+409
| | | | | | | | | | | | | | | | | | | | | | Purpose: Bug Fix Description: If an HDF5 file grows larger than its address space, it dies and is unable to write any data. This is more likely to happen since users are able to change the number of bytes used to store addresses in the file. Solution: HDF5 now throws an error instead of dying. In addition, it "reserves" address space for the local heap and for object headers (which do not allocate space immediately). This ensures that after the error occurs, there is enough address space left to flush the entire file to disk, so no data is lost. A more complete explanation is at /doc/html/TechNotes/ReservedFileSpace.html Platforms tested: sleipnir, copper (parallel), verbena, arabica, Windows (Visual Studio 7) Misc. update: