summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8100] Purpose:Albert Cheng2004-01-232-8/+19
| | | | | | | Added the function ParseTestVerbosity() to be shared by all programs. Platforms tested: Eirene.
* [svn-r8097] 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-r8094] 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-r8084] Purpose:Albert Cheng2004-01-224-21/+48
| | | | | | | | | | | | | | | | | | | 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. Misc. update:
* [svn-r8079] 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-r8053] Purpose:Quincey Koziol2004-01-132-7/+136
| | | | | | | | | | | | | | | | | | | | 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-r8048] Purpose:Quincey Koziol2004-01-1028-1378/+884
| | | | | | | | | | | | | 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-r8047] Purpose:Quincey Koziol2004-01-091-0/+4
| | | | | | | | | | | Bug fix Description: Add some more #ifdefs to fix 1.6 compatibility failures Platforms tested: FreeBSD 4.9 (sleipnir) w/1.6 compatibility Too minor to require h5committest
* [svn-r8038] Purpose:Quincey Koziol2004-01-082-2/+248
| | | | | | | | | | | | | | | | | | | | 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-r8022] Purpose:Quincey Koziol2004-01-069-627/+435
| | | | | | | | | | | | | 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-r8020] Purpose:Albert Cheng2004-01-063-3/+3
| | | | | | | | | | | Bug fix. Description: Cleaned up a duplicated definition of MAXNUMOFTEST that copper could not tolerate. Platforms tested: "h5committested"
* [svn-r8018] Purpose:Albert Cheng2004-01-053-5/+8
| | | | | | | | | | | | | | | Fixed a dumb mistake. Description: Other tests barked at the changes. Solution: Move the declaration of Index and Test[] into h5test.c. Platforms tested: Tested in eirene. Misc. update:
* [svn-r8017] Purpose:Albert Cheng2004-01-054-59/+44
| | | | | | | | | | | | Code reorg. Description: Move the InitTest() from individual tests (testhdf5 and ttsafe) to libh5test (h5test.c) so that it can be shared among all tests. Platforms tested: Only tested in Eirene via serial with thread-safe enabled. No other platforms test since this is pretty trivial.
* [svn-r8009] Purpose:Quincey Koziol2003-12-311-632/+537
| | | | | | | | | | | | | | | | | 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-r8007] 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-r7989] Purpose:Quincey Koziol2003-12-291-14/+14
| | | | | | | | | | | Code cleanup Description: Switch 'malloc()' to 'HDmalloc()' in a bunch of places. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7985] Purpose: bug fixRaymond Lu2003-12-291-5/+181
| | | | | | | | Description: VL datatype fails in certain way(hard to describe) Solution: added more test to tvltypes.c Platforms tested: h5committest
* [svn-r7980] Purpose:Albert Cheng2003-12-261-50/+50
| | | | | | | | | Regenerate the Dependncies files. Platforms tested: "h5committested" Misc. update:
* [svn-r7967] Purpose:Quincey Koziol2003-12-172-11/+11
| | | | | | | | | | Code cleanup for VS.NET Description: Clean up several issues that VS.NET was having problems with. Platforms tested: Eyeballed against Kent's bug reports.
* [svn-r7950] Purpose:Quincey Koziol2003-12-131-1/+15
| | | | | | | | | | | | | | | | 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-r7943] Purpose:Quincey Koziol2003-12-131-2/+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-r7932] Purpose:Quincey Koziol2003-12-111-2/+439
| | | | | | | | | | | Add new feature Description: Add new H5I{dec|get|inc}_ref() routines and tests for them. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7922] Purpose:Quincey Koziol2003-12-101-1/+1
| | | | | | | | | | | | | | Bug fix/code cleanup Description: When an error occurs, assume that it will be in the "real" output file and use that to display the diff against. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest Misc. update:
* [svn-r7920] Purpose:Quincey Koziol2003-12-101-1/+1
| | | | | | | | | | | Bug fix Description: Correct a couple of minor problems with 1.6 compat mode. Platforms tested: FreeBSD 4.9 (sleipnir) not tested in h5committest
* [svn-r7914] Purpose:Albert Cheng2003-12-051-2/+0
| | | | | | | | | | | | Regenerate the Dependencies files if needed. Description: Solution: Platforms tested: Misc. update:
* [svn-r7892] 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-r7882] Purpose:Quincey Koziol2003-11-251-4/+31
| | | | | | | | | | | | | 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-r7879] Purpose:Quincey Koziol2003-11-251-1/+1
| | | | | | | | | | | | | | | Bug fix Description: C++ compiler was choking on passing a (hsize_t *) to a function which wants a (uint8_t *). Solution: Cast the (hsize_t *) to a (uint8_t *)... :-) Platforms tested: FreeBSD 4.9 (sleipnir) Configuration untested by h5committest
* [svn-r7875] Purpose:Quincey Koziol2003-11-241-84/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r7869] *** empty log message ***Raymond Lu2003-11-212-33/+1145
|
* [svn-r7842] 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-r7829] 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-r7827] 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-r7814] Purpose: bug fixRaymond Lu2003-11-041-1/+1
| | | | | | | | Description: this script file ignored digit numbers higher than single for version number Platforms tested: RH 8(fuss)
* [svn-r7802] *** empty log message ***Raymond Lu2003-10-311-42/+79
|
* [svn-r7786] Purpose:Quincey Koziol2003-10-292-2/+22
| | | | | | | | | | | | Code cleanup & add a feature Description: Added support for querying the file ID of named datatypes to new H5Iget_file_id function. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7784] *** empty log message ***Raymond Lu2003-10-291-0/+105
|
* [svn-r7772] Purpose:Bill Wendling2003-10-281-1/+1
| | | | | | | | | | | | Very trivial fix Description: Removed spaces from file that was causing pmake to issue a warning. Platforms tested: Modi4 Misc. update:
* [svn-r7734] 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) w/parallel h5committest
* [svn-r7700] Purpose:Bill Wendling2003-10-221-27/+38
| | | | | | | | | | | | | | Update Description: Updated to support the FPHDF5 driver. Some formatting changes. Platforms tested: Linux (FPHDF5 specific). Misc. update:
* [svn-r7677] Purpose:Pedro Vicente Nunes2003-10-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | bug fix, update documentation Description: 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-r7626] Purpose:Quincey Koziol2003-10-141-213/+200
| | | | | | | | Update dependencies and tracing information Platforms tested: Linux 2.4 (verbena) w/FORTRAN too minor for h5committest
* [svn-r7616] Purpose:Quincey Koziol2003-10-131-1/+1
| | | | | | | | | | | | | | | Code cleanup Description: Change field member count and indices for compound and enumerated types from 'int' to 'unsigned' to better reflect actual use. Cleaned up a few other minor compiler warnings, etc. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) too minor to require h5committest
* [svn-r7584] 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-r7582] 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-r7572] Purpose:Quincey Koziol2003-10-081-9/+32
| | | | | | | | | | | | | | | | | 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-r7561] 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-r7559] 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-r7539] Purpose:Quincey Koziol2003-10-052-56/+221
| | | | | | | | | | | | | | | | | 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-r7527] Purpose:Quincey Koziol2003-09-305-50/+35
| | | | | | | | | | | | Code cleanup Description: Clean up a few loose ends and warnings for the 1.6 compatibility changes to the error API. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest