summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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:
* [svn-r8875] Purpose:Quincey Koziol2004-07-141-8/+80
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Correct problems with "resurrecting" a dataset in a file. (This occurs when a dataset which is open gets unlinked from the group hierarchy (making it "dead" and marked for deletion in the file) and then is re-linked to the group hierarchy). Note that the current solution applies only to datasets, further work will fix this for groups and named datatypes also. Also, fix the "debug" routines to be a little more helpful in certain situations. Additionally, fix a locking bug in the symbol table node splitting routine which could be [one of] the cause[s] of the file corruption in flexible parallel operation. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel h5committested
* [svn-r8819] Purpose: Potential bug fixRaymond Lu2004-07-071-15/+10
| | | | | | | | Description: In H5Fget_filesize, file size was returned as haddr_t. Solution: Return file size as hsize_t and parameter for Fortran. Platforms tested: eirene
* [svn-r8802] Purpose:Quincey Koziol2004-07-031-10/+15
| | | | | | | | | | | | | | | Code optimization Description: Set up datatype ID for dataset's datatype on disk. This allows us to avoid repeatedly copying the datatype when an ID is needed. Also, clean up a few warnings in various other places. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8783] Purpose:Quincey Koziol2004-07-013-5/+6
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8775] James Laird2004-06-301-1/+12
| | | | | | | | | | | | | | | | | | | Purpose: Fixed a bug that broke daily tests. SZIP now always uses K13 compression. Description: When configured with the --srcdir option, dsets test would look for a test file in the same directory as the test, instead of in the directory that contains the source files. SZIP never needs to use CHIP compression, so the option to set this flag instead of K13 compression has been removed. Platforms tested: Copper
* [svn-r8770] Raymond Lu2004-06-303-5/+13
| | | | | | | | | | | Purpose: New feature and its test Description: Added API H5Fget_name. It returns the name of file by object ID(file, group, dataset, named datatype, attribute) which belongs to the file. filename.c tests this function. Platforms tested: h5committest Misc. update: MANIFEST, RELEASE.txt
* [svn-r8769] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-06-301-0/+157
|
* [svn-r8761] Purpose:Quincey Koziol2004-06-291-1/+1
| | | | | | | | | | | | | Code cleanup & small bug fix Description: Regenerate dependency files Add htri_t as separate type from hbool_t for code tracing purposes. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel too minor to require h5committest
* [svn-r8757] Nat Furrer2004-06-291-0/+0
| | | | | | | | | | | | | Purpose: Added an HDF5 file for testing purposes. Description: Solution: Platforms tested: Misc. update:
* [svn-r8753] Nat Furrer2004-06-281-6/+252
| | | | | | | | | | | | | | | | | | | Purpose: Handled SZIP without the encoder present. Description: It is now an error for a user to try to create, extend, or write to a dataset without the encoder present in their SZIP library. Added H5Zget_filter_info to provide users with a way to query HDF5 about the presence (or lack thereof) of the SZIP encoder. Platforms tested: Windows Verbena Arabica Copper Misc. update:
* [svn-r8743] *** empty log message ***Raymond Lu2004-06-252-2/+86
|
* [svn-r8733] Purpose:Quincey Koziol2004-06-231-2/+1
| | | | | | | | | | | | Code cleanup Description: Reduce compiler warnings on SGI IRIX Platforms tested: FreeBSD 4.10 (sleipnir) SGI IRIX6 (Cheryl's machine) Too minor to require full h5committest
* [svn-r8729] Purpose:Quincey Koziol2004-06-231-7/+9
| | | | | | | | | | | Code cleanup Description: Add more testfiles to the "clean" targets Platforms tested: FreeBSD 4.10 (sleipnir) h5committest
* [svn-r8724] *** empty log message ***Raymond Lu2004-06-221-2/+73
|
* [svn-r8700] *** empty log message ***Raymond Lu2004-06-171-4/+203
|