summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8299] Purpose:Albert Cheng2004-04-032-12/+59
| | | | | | | | | | Code cleanup (sort of) Description: Added SetTest() to handle test controls. Platforms tested: h5committested.
* [svn-r8291] Purpose:Albert Cheng2004-04-012-0/+13
| | | | | | | | | | | Feature. Description: Added GetTestParameters() to provide Test Parameters to individual test programs. Platforms tested: "h5committested"
* [svn-r8290] Purpose:Albert Cheng2004-03-314-25/+33
| | | | | | | | | | | | | Feature Description: Added to AddTest() a generic parameters pointer argument to allow some extra parameters for some tests. E.g., test file names can be customized during runtime and passed into the test routines. Platforms tested: "h5committested".
* [svn-r8273] Purpose:Albert Cheng2004-03-233-17/+18
| | | | | | | | | | | | | | | | Code cleanup. Description: The routines residing in testframe.c was defined in testhdf5.h due to historical reason. It really belongs to h5test.h because those routines reside in libh55test.a. Solution: Moved them to the right place. Also removed the duplicated occurance of testframe.c in the TEST_SRC. Platforms tested: Tested in o2 (SGI) parallel.
* [svn-r8256] Purpose:Pedro Vicente Nunes2004-03-121-2/+22
| | | | | | | | | | | | | | | bug fix Description: the added binary files to read did not have the construction of the "srcdir" path Solution: add it Platforms tested: linux Misc. update:
* [svn-r8253] Purpose:Pedro Vicente Nunes2004-03-113-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fix new test for the bug Description: the fletcher filter used a 2 byte word buffer to compute the checksum. this is non portable between big-endian/little endian. Solution: replaced with a buffer of 1 byte type added a test that reads 2 pre-saved files (one LE, other BE) with that filter enabled Platforms tested: linux solaris AIX Misc. update:
* [svn-r8249] Purpose:Pedro Vicente Nunes2004-03-102-0/+0
| | | | | | | | | | | | added 2 binary files for a new dsets test Description: Solution: Platforms tested: Misc. update:
* [svn-r8248] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-03-102-0/+0
|
* [svn-r8238] Purpose: A small bug fixElena Pourmal2004-03-081-3/+3
| | | | | | | | | | | | | | | | Description: Wrong datatype (unsigned instead of hsize_t) was used to calculate the length of the buffer that hold the data. As a result, only part of the data was compared with the original data. Solution: Use the correct datatype. Platforms tested: Tried h5committest, but forgot to do it on AFS. As a resulti, only verbena test was completed. I decided to go ahead and check the change in and do it correctly for the development branch (later today). Misc. update:
* [svn-r8138] Purpose:Quincey Koziol2004-01-311-0/+191
| | | | | | | | | | | Bug fix. Description: Allow H5Tget_native_type() to handle opaque fields in compound datatypes. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r8101] Purpose:Albert Cheng2004-01-231-2/+0
| | | | | | | Removed debug print statements committed by mistake. Platforms tested: eirene.
* [svn-r8099] Purpose:Albert Cheng2004-01-232-8/+19
| | | | | | | Added the function ParseTestVerbosity() to be shared by all programs. Platforms tested: Eirene.
* [svn-r8098] Purpose:Albert Cheng2004-01-232-6/+6
| | | | | | | | | | | Bug fix Description: C++ compilers do not like the variable name new which is a kind word for C++. Changed it to newval instead. Platforms tested: Tested in Copper which is the one complained about the name.
* [svn-r8093] Purpose:Albert Cheng2004-01-223-4/+28
| | | | | | | | | | | | | | | | New feature. Description: Added function SetTestVerbosity() so that other applications can set the verbosity explicitedly without the whole testframe taking over. Added Verbose queries shorthands to make code more readable and easier to change the levels of low, medium and high. Platforms tested: Eirene (both serial and parallel). Misc. update:
* [svn-r8085] Purpose:Albert Cheng2004-01-225-19/+43
| | | | | | | | | | | | | | | | | Improvement. Description: Verbosity level were specified by numbers which are not meaningful and prone to typos. Solution: Adapted the Verbosity predefined level symbols from HDF4 and changed all numberic verbosity to symbolic values. (Still need to convert some left over macros like MESSAGE.) Platforms tested: Eirene. No h5committest since this is trivial.
* [svn-r8080] Purpose:Quincey Koziol2004-01-191-1/+360
| | | | | | | | | | | | Add tests & docs Description: Added tests for the recent B-tree bug fixes & document their fix in the release notes. Platforms tested: FreeBSD 4.9 (sleipnir) Too minor to require h5committest
* [svn-r8054] Purpose:Quincey Koziol2004-01-132-8/+137
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Correct two problems with variable-length datatypes in datasets: - When overwriting an entire dataset, writing the fill value to the file would be skipped, causing problems for VL datatypes when objects in the file had been unlinked (and thus the space in the file was not all zeros) - When an application has set a fill-value for a dataset and the dataset's datatype contained a VL datatype, the library was filling space on disk with the memory form of the VL information, instead of the disk form. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r8049] Purpose:Quincey Koziol2004-01-1026-632/+368
| | | | | | | | | | | | | Code cleanup & reorganization Description: Move further in the testing framework cleanup, eliminating all the global variables (moving them into testframe.c as static variables) from the testing framework code and moving it into the libh5test.a. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel h5committested
* [svn-r8039] Purpose:Quincey Koziol2004-01-081-0/+88
| | | | | | | | | | | | | | | | | | | | Bug fix Description: When two property lists are compared, the H5Pequal routine was just comparing the raw information for the property values. This causes problems when the raw information contains pointers to other information. Solution: Allow a 'compare' callback to be registered for properties, so that a user application get perform the comparison itself, allowing for "deep" compares of the property value. This was exported to the H5Pregister & H5Pinsert routines in the development branch, but not the release branch. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r8024] Purpose:Quincey Koziol2004-01-069-617/+134
| | | | | | | | | | | | | Code cleanup Description: Refactor library testing framework (used for the testhdf5 & ttsafe tests) to remove almost all of the duplicated code, moving the common code into a new 'testframe.c' source file. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o thread-safety h5committest
* [svn-r8023] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-01-061-0/+298
|
* [svn-r8019] Purpose:Albert Cheng2004-01-064-61/+50
| | | | | | | | | | | Feature Description: Moved the InitTest from individual tests (testhdf5.c, ttsafe.c) to libh5test (h5test.*) so that it can be used by other tests too. Platforms tested: "h5committested"
* [svn-r8010] Purpose:Quincey Koziol2003-12-311-203/+238
| | | | | | | | | | | | | | | | | Bug fix Description: Add special-case handling to floating-point conversion tests to avoid problems with denormalized values on Cray T3E & T90 platforms. (Still not working on Cray SV1, but at least it's closer). Solution: Detect denormalized values and don't try to operate on them on the Crays. Platforms tested: FreeBSD 4.9 (sleipnir) Cray T3E (hubble.cray.com) Cray T90 (gypsy.cray.com)
* [svn-r8008] Purpose:Quincey Koziol2003-12-311-0/+55
| | | | | | | | | | | | | | Bug fix Description: Range check the szip 'pixels per block' against the chunk size of the dataset when attempting to create a new dataset, since the szip library requires the PPB to be at least the size of the fastest changing dimension in the chunk. Platforms tested: FreeBSD 4.9 (sleipnir) too minor for h5committest
* [svn-r7987] *** empty log message ***Raymond Lu2003-12-291-5/+181
|
* [svn-r7981] Regenrated Dependies files.Albert Cheng2003-12-261-2/+0
| | | | h5committested.
* [svn-r7951] Purpose:Quincey Koziol2003-12-131-0/+14
| | | | | | | | | | | | | | | | Bug fix Description: Attributes which were created with scalar dataspaces were reporting their dataspace as a simple dataspace when queried later. Solution: Fix the dataspace handling code when reading in the attribute message from the file to set the extent type correctly. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7944] Purpose:Quincey Koziol2003-12-131-0/+231
| | | | | | | | | | | | | | | Bug fix. Description: Using a selection offset with hyperslab selections in chunked datasets was getting into an infinite loop and hanging the application. Solution: Apply the selection offset to the hyperslab selection properly. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o parallel h5committest
* [svn-r7933] Purpose:Quincey Koziol2003-12-111-4/+336
| | | | | | | | | | | Add new feature Description: Add new H5I{dec|get|inc}_ref() routines and tests for them. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7921] Purpose:Quincey Koziol2003-12-101-0/+4
| | | | | | | | | | | Bug fix Description: Fix a couple of 1.4 compat bogons that crept in. Platforms tested: FreeBSD 4.9 (sleipnir) config not tested with h5committest
* [svn-r7891] Purpose:Quincey Koziol2003-11-261-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up a compiler warning Platforms tested: Titan (user02) Too minor to require h5committest
* [svn-r7883] Purpose:Quincey Koziol2003-11-251-4/+32
| | | | | | | | | | | | | Bug fix Description: Handle denormalized floating-point values in a more general way that uses a different 'epsilon' for determining if two values are "close enough" Platforms tested: FreeBSD 4.9 (sleipnir) h5committest Pittsburgh Alpha Cluster (lemieux.psc.edu)
* [svn-r7876] Purpose:Quincey Koziol2003-11-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Omnibus floating-point bug fix changes Description: There are a number of problems in the floating-point conversion code that were exposed by Ray's recent int<->float checkin: - The 'my_isnan' code in test/dtypes.c was broken and would always return true. The meant that the actual values in the float<->float conversion tests were _never_ checked, hiding the other bugs included in this checkin. - A recent change I made to the type conversion code used "FLT_MIN" instead of "-FLT_MAX" for the most negative 'float' value for the double->float conversion, which meant that any the negative number that was converted from a double to a float would have been mapped to zero, essentially. - A change that Robb appeared to have made ~2.5 years ago to the "generic" float->float conversion routine appears to be incorrect and I've backed it out. - Floating-point conversions on SGI's which converted denormalized values would be mapped to zero instead of being propertly preserved in the new type. This was addressed by an SGI-specific system call to prevent the behavior. Solution: Described above, generally. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest Misc. update: release_docs/RELEASE update forthcoming...
* [svn-r7844] Purpose:Quincey Koziol2003-11-132-11/+293
| | | | | | | | | | | | | | | | | | | Bug fix Description: Variable length strings and sequences with NULL pointers were not handled by library, causing problems access the data. This also affected fill values for variable-length datatypes. Solution: Address the issues in the library by detecting NULL sequences/strings and avoid trying to convert them. Patched up dumper to display NULL sequences/strings. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7830] Purpose:Quincey Koziol2003-11-083-125/+51
| | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Allowing the library to call malloc with a size of 0 bytes causes problems for some users, so we check for allocations of 0 bytes and disallow them now. Cleaned up some code which could call malloc with 0 size. Changed some code calling HDmalloc directly to call H5MM_malloc(), which allows us to check for 0 sized allocations. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7828] Purpose:Quincey Koziol2003-11-082-0/+12
| | | | | | | | | | | | Bug fix Description: Make --disable-hsizet work properly again by fixing a couple of tests and correcting the definition of SSIZET_MAX. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest not used, as it doesn't test this configuration.
* [svn-r7735] Purpose:Quincey Koziol2003-10-251-2/+143
| | | | | | | | | | | | | | | | | Bug fix Description: Single hyperslab selections (which were set with only one call to H5Sselect_hyperslab) that had dimensions that could be "flattened" but were interspersed with dimensions that could not be flattened were not correctly handled, causing core dumps. Solution: Re-work "flattening" code to handle this case properly. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7678] Purpose:Pedro Vicente Nunes2003-10-201-4/+0
| | | | | | | | | | | | | | | | | | version 8 of Code Warrior has a bug on the open file function that causes one of our tests to fail documented this in the install instructions removed a CW specific header file include , that was left from version 6 from the file testhdf5.c Platforms tested: Code warrior linux Misc. update:
* [svn-r7624] Purpose:Quincey Koziol2003-10-141-110/+66
| | | | | | | Updated dependencies and tracing information Platforms tested: Not necessary.
* [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