summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r10637] Purpose:Quincey Koziol2005-04-211-8/+84
| | | | | | | | | | | | Bug fix/code cleanup Description: Add tests to determine that very long (64K+) object names are working. Fixed a couple of bugs in h5dump where they weren't... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10634] Purpose:Leon Arber2005-04-201-8/+8
| | | | | | | | | | | | | | | | | | | | Use getenv_all for determining HDF5_PARAPREFIX instead of getenv Description: the environment variable HDF5_PARAPREFIX is now determined collectively, instead of having each task call getenv. Solution: Environment variables set for task 0 often do not propogate to other tasks which leads to obscure and hard to track down bugs. getenv_all was written to overcome this by having all tasks query a single task for the value of its environment. Eventually, all calls to getenv will be migrated to use getenv_all. For now, only HDF5_PARAPREFIX will be determined this way. Platforms tested: heping pp, sol pp Misc. update:
* [svn-r10628] Purpose:Quincey Koziol2005-04-182-9/+9
| | | | | | | | | | | Code cleanup Description: Clean up various warnings reported by the Windows team. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10622] Purpose: Bug fixRaymond Lu2005-04-161-8/+21
| | | | | | | | | Description: Some memory buffers were allocated by HDmalloc() but weren't cleaned up before use. Solution: Use HDmemset() to 0 set the buffers. Platforms tested: h5committest.
* [svn-r10620] Purpose:Quincey Koziol2005-04-161-0/+124
| | | | | | | | | | | | | | | | | Bug fix Description: Opening a dataset (or named datatype) with "." for the name and using a group ID for the location ID was not returning an error value. Solution: Check the type of the object before attempting to open it (internally, using a group ID and "." for the name maps to the group object). Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) Too minor to require h5committest
* [svn-r10603] Purpose:Xiaowen Wu2005-04-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: The nbit filter test case (compound datatype with no-op field) can not pass the daily test on heping and eirene when the enable-production option is set with configure and PGI compiler is used. It will generate segmentation fault. Solution: It was found that the seg fault disappears when adding a new index variable in the test case and using it instead of using an existing index variable twice during initialization. This does not make much sense since previous codes is logically equivalent to the changed codes. So, some other factors beyond the test case codes may have caused the problem. Platforms tested: heping Misc. update:
* [svn-r10570] Purpose: MaintenanceElena Pourmal2005-04-075-666/+10
| | | | | | | | | | | Description: Removed support for SRB driver Solution: Removed or modified appropriate files; ran reconfigure to regenerate Makefile.in and configure files. Platforms tested: heping and shanti Misc. update: ran bin/chkmanifest on heping
* [svn-r10569] Purpose:Xiaowen Wu2005-04-071-10/+219
| | | | | | | | | | | | | | | | New feature. Description: The N-Bit filter needs a test case for no-op datatypes. Solution: A test case was added to test a compound datatype with N-Bit fields and no-op fields. Platforms tested: heping, shanti Misc. update:
* [svn-r10558] Purpose:MuQun Yang2005-04-061-1/+1
| | | | | | | | | | | | | | Change maximum test number from 30 to 40 since more collective IO tests were added into parallel HDF5 test. Description: Solution: Platforms tested: heping, copper, tungsten, cobalt, SDSC TG. Misc. update:
* [svn-r10555] Purpose:Leon Arber2005-04-052-1/+82
| | | | | | | | | | | | | | | | | | | | Feature Description: Added new function, getenv_all (only for parallel builds) Solution: getenv_all is a collective version of getenv. It is used to the return the value of an environment variable in another task and can be used to synchronize all of the environment variables used by all of the tasks. This helps to fix problems that commonly crop up (like with HDF5_PARAPREFIX) when an environment variable does not propogate to other tasks. This commit only includes the function. Future commits will replace the various getenv calls with getenv_all calls. Platforms tested: heping, sol, copper Misc. update:
* [svn-r10550] Purpose: Splitting dtypes.cRaymond Lu2005-04-052-4642/+129
| | | | | | | | | | Description: Yesterday, dtypes.c was split into two programs, dtypes.c and dt_atomic.c. After dt_atomic.c was added, dtypes.c remained the same as before waiting for the daily test to pass. While dt_atomic.c turned out fine today, the test in dt_atomic.c was taken out from dtypes.c. There's also some minor change in dt_atomic.c. Platforms tested: h5committest
* [svn-r10542] Purpose:Quincey Koziol2005-04-052-2/+4
| | | | | | | | | | | Code cleanup Description: Clean up more test files Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10535] Purpose: Spliting TestRaymond Lu2005-04-043-28/+4468
| | | | | | | | | | | | Description: Split test/dtypes.c because it's so big. Moved all integer-integer, floating-floating, integer-floating, floating-integer, derived integer, derived floating conversion tests to a new test program, dt_atomic.c. The test remains the same basically. Platforms tested: fuss and h5committest Misc. update: MANIFEST
* [svn-r10534] Purpose:James Laird2005-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | Configuration feature Description: Different Fortran compilers mangle function names in different ways (upper case, lower case, adding underscores). To link between Fortran and C functions, we need to know what a given function's name is under a given compiler. Solution: Use autoconf's FC_WRAPPERS check to determine the Fortran naming scheme and define the FC_FUNC_ macro to name our functions (in H5f90proto.h). Removed references to our old FNAME macro, as well as flags that indicated whether function names were upper or lower case. Platforms tested: mir, pommier, modi4, copper, more
* [svn-r10531] Purpose: Bug fixRaymond Lu2005-04-011-27/+34
| | | | | | | | Description: In the last checkin, the fix wasn't quite correct. This round simply corrects the mistake from last round, especially the endianess was left out. Platforms tested: shanti, modi4, fuss - these machines cover both little and big endians.
* [svn-r10517] Purpose:James Laird2005-03-311-6/+15
| | | | | | | | | | | | | | | | Bug fix Description: On some machines, $RUNSERIAL variable needs to be used to run tests. Set $RUNTESTS (which is used for non-parallel tests) to be $RUNSERIAL in configure.am. Also, since I was updating all Makefiles.in anyway, I updated commence.am to point to autotools installs in AFS instead of those on heping. Platforms tested: mir, sleipnir, modi4, copper
* [svn-r10512] Purpose: Bug fixRaymond Lu2005-03-301-4/+28
| | | | | | | | | | | Description: In test_conv_int_float(), when testing special floating-point value NaN, the test program couldn't detect it for Linux Intel compiler when it's optimized. The reason is in my_isnan(), a printf command used "%LLg" to print "long double". Solution: Changed it to "%Lg". Also differentiate cases for NaN, using exception handler if present, decide if software conversion set converted integer to 0, or simply skip for hardware conversion. Platforms tested: heping - simple change.
* [svn-r10511] James Laird2005-03-301-1/+6
| | | | | | | | | | | | | Purpose: "Bug fix" Description: Hardcoded Makefiles to use /bin/sh instead of letting configure detect shell automatically. This is what v1.6 does, and avoids problems on janus. Platforms tested: sleipnir, copper, modi4, mir
* [svn-r10508] James Laird2005-03-291-7/+36
| | | | | | | | | | | | | | | Purpose: Bug fix Description: test/big fails randomly with a message warning of 'possible overlap.' Solution: Have the random number generator check each value to make sure a write at that position doesn't overlap any previous write. Platforms tested: sleipnir, modi4, eirene
* [svn-r10506] Purpose:Quincey Koziol2005-03-293-13/+283
| | | | | | | | | | | | New feature Description: Add first iteration of "segmented heap" code, which will be used to store links in groups in a more flexible way than the previous "local heap" mechanism. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Solaris 2.9 (shanti)
* [svn-r10504] Purpose:Quincey Koziol2005-03-291-2/+210
| | | | | | | | | | | New feature Description: Add wrapper for v2 B-tree "neighbor" routine. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10475] Purpose:James Laird2005-03-292-8/+20
| | | | | | | | | | | | | | | | | Feature - conditional compilation Description: SRB file driver and tests are now compiled only when SRB is enabled (using --with-srb during configure). Solution: Added an automake conditional in configure.in, altered Makefiles.am in src and test directories to depend on that conditional. This should make a nice example for posterity to add conditionally compiled sources. Platforms tested: heping (only configure change)
* [svn-r10459] James Laird2005-03-281-0/+1
| | | | | | | | | | | | | | | | | Purpose: Added C++ wrapper for Packet Table API. Description: Added macro for high-level C++ library (LIBH5CPP_HL), which changes every Makefile.in. Added directories for high-level C++ library (though currently only Packet Table API is supported). Added both C++ source and tests. Platforms tested: sleipnir, mir, modi4 Misc. update:
* [svn-r10457] *** empty log message ***Raymond Lu2005-03-261-137/+202
|
* [svn-r10445] Purpose: Bug fixRaymond Lu2005-03-251-3/+17
| | | | | | | | | | | Description: In test_conv_flt_1() in dtypes.c, the case of Intel-Linux or AMD-Linux "long double" wasn't considered. The precision is smaller than the size. There may be some garbage left in the unused bytes during hardware conversion. Solution: Clear those bytes before comparison. Platforms tested: h5committest and mir, modi4.
* [svn-r10421] Purpose:Quincey Koziol2005-03-251-2/+121
| | | | | | | | | | | | | | New feature & code cleanup Description: Add feature to find first block >= a certain size (useful for allocating space) Cleaned up various comments, etc. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10402] Purpose: New way to do conversion test between floating-point ↵Raymond Lu2005-03-241-49/+193
| | | | | | | | | | | | | types. Description: The 5th step of changing conversion test. This checkin is only for conversion of special values between floating-point types. Solution: This test is seperated from regular value conversion. It reuse the same function test_conv_flt_1() in test/dtypes.c. The source buffer of floating-point type is filled up with 8 special values, +/-0, +/-infinity, +/-QNaN, +/-SNaN. Platforms tested: h5committest, fuss, and modi4.
* [svn-r10395] Purpose:Xiaowen Wu2005-03-241-1/+1
| | | | | | | | | | | | | | | Bug fix. Description: One test case of scaleoffset filter has fill value too large for int. Solution: Change the value to be within the range of int. Platforms tested: heping Misc. update:
* [svn-r10385] Purpose:Xiaowen Wu2005-03-231-28/+304
| | | | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter is now complete for compressing integers. All previous bugs have been fixed. The filter does not compress floating-point at present. Solution: Update test cases for the scaleoffset filter. Two for integer types and one for floating-point (even though the filter does not compress). The two test cases for integer type tests situations where fill value is defined and undefined for the dataset. Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10236] Purpose: Added a util wrapperBinh-Minh Ribler2005-03-192-0/+10
| | | | | | | | | | Description: Added function IncTestNumErrs to increment the number of errors that is defined in testframe.c Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper)
* [svn-r10231] Purpose:Quincey Koziol2005-03-181-0/+61
| | | | | | | | | | | | | | | | Bug fix Description: Opening an object in a group that is located in a file which has been unmounted would cause a core dump. :-( Solution: Re-arrangement internal code to compute internal "user" and "canonical" names for the newly opened object in a safer way. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10230] Purpose:Quincey Koziol2005-03-181-0/+134
| | | | | | | | | | | New feature Description: Add in support for deleting entire block tracker. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10228] Purpose: New way to do conversion test between floating-point ↵Raymond Lu2005-03-161-43/+24
| | | | | | | | | | | | numbers. Description: The 4th step of change conversion test. This checkin is only for conversion between floating-point numbers. Solution: The source buffer of floating-point number is filled up in the same way described in the 3rd step(revision 1.155). Platforms tested: h5committest and fuss.
* [svn-r10218] Purpose: Bug fixRaymond Lu2005-03-151-48/+143
| | | | | | | | | | | | | | | | | | Description: This commit is actually revision 1.155, which is the 3rd step of changing conversion test. It's for conversion from floating-point to integer. In this step, the source buffer is filled in with normalized and denormalized floating-point values. For the normalized values, it starts from FLT(DBL, or LDBL)_MIN, multiplied by 10(10000 for double, 100000000 for long double) for the next value, until reaches to FLT_MAX. For denormalized values, the exponent part is always 0. Mantissa part starts with 000...001, 000...011, 000...111, until reaches to 111...111. The same is with negative values. There're also fixes in config/hpux11.00 for kelgia where default macro table size wasn't big enough to handle the big macro in dtypes.c. Platforms tested: h5committest and kelgia.
* [svn-r10217] Purpose:James Laird2005-03-151-2/+2
| | | | | | | | | | | Bug fix Description: Fix a typo in my last checkin. Should make some compilers happier about "operand types." Platforms tested: sleipnir, heping, kelgia
* [svn-r10216] James Laird2005-03-141-1/+26
| | | | | | | | | | | | | | | | Purpose: Bug fix Description: Calling H5Iobject_verify on an invalid type of ID (e.g., H5I_BADID) triggers an assert. Solution: Test for this condition and return an error instead of an assert. Added tests for this case. Platforms tested: sleipnir (minor change)
* [svn-r10203] Purpose:Quincey Koziol2005-03-111-0/+277
| | | | | | | | | | | New feature/tests Description: Add better support & tests for removing blocks being tracked. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10199] Purpose:Quincey Koziol2005-03-111-0/+282
| | | | | | | | | | | New feature Description: Add basic block removal feature Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10198] Purpose:Quincey Koziol2005-03-111-8/+209
| | | | | | | | | | | New feature Description: Handle merging new blocks with existing blocks Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10195] Purpose:Quincey Koziol2005-03-111-2/+178
| | | | | | | | | | | New feature Description: Add feature to modify an existing record in a B-tree Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10194] Purpose: Roll back change made last timeRaymond Lu2005-03-111-143/+50
| | | | | | | | Description: Reverse the 3rd step of change just checked in yesterday(revision 1.155) because of some errors in daily test. Use the revision 1.154 for now until the problem is fixed. Platforms tested: fuss - simple rolled back to previous revision.
* [svn-r10192] Purpose:Quincey Koziol2005-03-111-0/+105
| | | | | | | | | | | New tests Description: Add some validity tests for rejecting overlapping blocks Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10191] Purpose:Quincey Koziol2005-03-111-0/+316
| | | | | | | | | | | | New tests Description: Add some internal validation routines and make certain that the max & min block sizes get tracked accurately, at least for a simple series of insertions Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10190] Purpose:Quincey Koziol2005-03-111-0/+30
| | | | | | | | | | | New feature Description: Add query for the total size of blocks tracked Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10189] Purpose:Quincey Koziol2005-03-111-0/+71
| | | | | | | | | | | | | New feature & bug fix Description: Support inserting multiple blocks Start tracking the metadata about the blocks. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10186] Purpose:Quincey Koziol2005-03-111-3/+71
| | | | | | | | | | | New feature Description: Add basic code to insert blocks into block tracker. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10185] Purpose:Quincey Koziol2005-03-111-0/+10
| | | | | | | | | | | | | | New feature & bug fix Description: Allow NULL 'op' for find operations to easily query the existance of a record for a key during H5B2_find() operations. Fix H5B2_neighbor() to work properly with empty B-tree Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10184] Purpose:Quincey Koziol2005-03-113-17/+163
| | | | | | | | | | | | | | | | | | | | New feature Description: Add new "block tracker" data structure to library, for tracking blocks of bytes in a file. Block trackers will be used to keep track of the blocks belonging to the soon-to-be-implemented "segmented heap" which is designed to replace the current local & global heaps (starting with the local heap). Block trackers will also keep track of the free space in the segmented heap and someday could be used to track the free space in the entire HDF5 file. They are implemented as a small header of information to cache the state of the blocks (max & min sizes of blocks tracked, etc.) and the records of the blocks themselves are stored in a v2 B-tree. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) h5committest
* [svn-r10180] Purpose: New way to do conversion test from floating-point to ↵Raymond Lu2005-03-101-50/+143
| | | | | | | | | | | | | | | | integer. Description: This is the 3rd step of change conversion test. This checkin is only for conversion from floating-point to integer. Solution: The source buffer is filled in with normalized and denormalized floating-point values. For the normalized values, it starts from FLT(DBL, or LDBL)_MIN, multiplied by 10(10000 for double, 100000000 for long double) for the next value, until reaches to FLT_MAX. For denormalized values, the exponent part is always 0. Mantissa part starts with 000...001, 000...011, 000...111, until reaches to 111...111. The same is with negative values. Platforms tested: h5committest and fuss.
* [svn-r10176] Purpose:Quincey Koziol2005-03-101-0/+248
| | | | | | | | | | | New feature Description: Add routine to delete entire B-tree from a file. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)