summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r11077] Purpose:Quincey Koziol2005-07-161-5/+149
| | | | | | | | | | | | Bug fix Description: Further progress on fixing file mounting to work properly. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 Too minor to require h5committest
* [svn-r11047] Purpose:Quincey Koziol2005-07-072-0/+6
| | | | | | | | | | | Bug fix Description: Add dependency of flush2 test on flush1 test Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11042] Purpose:Quincey Koziol2005-07-071-7/+7
| | | | | | | | | | | | | | | | | | Bug fix Description: The ".chksh" file for a test script was being created in the "source" location rather than the build location. This can cause problems when multiple builds are running because "slower" machines will see the ".cshsh" file from faster machines and will not run the test script as they should. Solution: Use 'basename' command to strip off the path of the script and create the ".chksh" file in the build location. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11034] Purpose:Albert Cheng2005-07-071-4/+2
| | | | | | | | | | | | | | | | | bug fix. Description: -nt is not a universal option for the test command in all platforms. The use of it in conclude.am cause some platforms to bark at the Makefile generated. Solution: Created a command script bin/newer which tests if file1 is newer than file2. Replace the "test file1 -nt file2" by "newer file1 file2". Platforms tested: Tested in sol.
* [svn-r11031] Purpose:Quincey Koziol2005-07-064-30/+248
| | | | | | | | | | | | | New feature Description: Initial checkin of B+ Tree code. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest Misc. update:
* [svn-r11022] Purpose:Quincey Koziol2005-07-053-19/+158
| | | | | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Don't unmount child files from a parent file if the parent file is being held open by an object. Also, moved the mounting routines into their own source file and the superblock routines into their own file also. Solution: Moved the code for unmounting child files down in the H5F_close routine and also add checks to the file and group mounting code to unmount child files when the last object holding open a file closes. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11014] Purpose:Quincey Koziol2005-07-022-6/+7
| | | | | | | | | | | | Code cleanup Description: Refactor metadata cache to merge "dirtied" flag in with other flags for H5AC_unprotect and H5C_unprotect. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r11013] Purpose:James Laird2005-07-011-7/+7
| | | | | | | | | | | | | | | | | | Bug fix Description: Fixed bugs that caused tests to be unable to find testhdf5.sh during daily tests, and another that broke sol and shanti. Solution: When tests are run, their path is ./$testname . When scripts are run, their path has no leading "./". Fixed. Sol and shanti don't recognize the -e option for test, but they do know -f. Fixed. Also modified release notes. Platforms tested: mir, shanti, heping
* [svn-r11009] Purpose:Quincey Koziol2005-07-011-0/+152
| | | | | | | | | | | | | | | | | | Bug fix Description: When a series of files is mounted on one another and one of those files is not unmounted, the library gets confused at shutdown and goes into an infinite loop in the file interface. Solution: If there are still files left in the "closing" state when shutting down the file API, iterate over those file IDs and unmount any child files that we find mounted on those files. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11008] Purpose:James Laird2005-06-303-110/+105
| | | | | | | | | | | | | | | | | | | | | | Feature: tests now use parallel make and only run once Description: When make is invoked in parallel (using the -j option), several tests will now be run simultaneously. This should speed up testing on a number of systems. When a test passes, it creates a foo.chkexe or foo.chksh file, which prevents the test from running again unless the test or library changes. Solution: Most of the changes live in config/conclude.am. Added *.chkexe and *.chksh files to the list of files to be cleaned at "make mostlyclean" time. Parallel tests still run one at a time, but use the same make instructions as serial tests. Platforms tested: mir, eirene, sleipnir, pommier, copper, modi4 (some errors occurred, probably due to the test being run before updating hdf5. Will re-run tests after checkin.)
* [svn-r10980] Purpose:Albert Cheng2005-06-241-741/+0
| | | | file_handle.c is renamed as vfd.c.
* [svn-r10979] Purpose:Albert Cheng2005-06-243-22/+761
| | | | | | | | | | | | | | Renamed file_handle.c as vfd.c since its tests have evloved from merely file handles tests to other basic features of VFD's. Did some minor cosmetic changes in vfd.c. Updated Makefile.am with the new name. Makefile.in is regenerated. Platforms tested: In heping only since the changes are trivial. Misc. update:
* [svn-r10978] Purpose:John Mainzer2005-06-242-24/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | Interim checkin of code changes moving management of the is_dirty flag into the cache code. Description: Prior to this checkin, management of the is_dirty flag was handled above the level of the metadata cache. This can no longer be allowed, as it introduces a race condition in the proposed fix for a cache coherency bug in PHDF5. Solution: Move management fo the is_dirty flag to the cache code proper. Entries are now marked as dirty via a flag on the unprotect call. Platforms tested: h5committested Misc. update:
* [svn-r10962] Purpose: Solve the Difference of Compiler and LibraryRaymond Lu2005-06-201-2/+56
| | | | | | | | | | | | Description: In this data conversion test, from floating number to floating number, when the source is bigger than the destination, overflow may happen. The library assign INFINITY while compiler's behavior is undefined. A compiler like SGI assigns the maximal value for the destination. Solution: When this situation occurs, simply check if the destination is INFINITY instead of comparing values. Platforms tested: modi4 and h5committest.
* [svn-r10958] Purpose:Quincey Koziol2005-06-201-1/+239
| | | | | | | | | | | | | New feature Description: Add group creation & access property lists, dataset access property lists and named datatype creation & access property lists. Currently have <foo>_extend() API names, which will need to be changed for the final release. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4 (heping)
* [svn-r10951] Purpose:Quincey Koziol2005-06-181-0/+108
| | | | | | | | | | | | | | | | | Bug fix Description: Hyperslab selections that had a selection offset and were applied to a chunked dataset could get into an infinite loop or core dump if the same selection was used multiple times, with different selection offsets. Solution: "Normalize" the selection with the selection offset, generate the selections for the chunks overlapped and then "denormalize" the selection. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10944] Purpose:James Laird2005-06-172-42/+78
| | | | | | | | | | | | | | | Bug fix Description: tid.c is a test for user-defined hid_t's. It should be part of the testhdf5 tests, but was not being run. It also had a couple of minor bugs. Solution: Added id test to testhdf5 and fixed bugs. Platforms tested: mir, sleipnir, modi4
* [svn-r10931] Purpose: Adjust Test Program and RenameRaymond Lu2005-06-174-167/+301
| | | | | | | | | | | | | | Description: Renamed test/dt_atomic.c to test/dt_arith.c(an abbreviation of "arithmetic data types") to better describe the program. This checkin broke down into three sections when the floating-point numbers are the source, normalized, denormalized, and special values. If there's any difference of destination values, only normalized value test reports failure. The other 2 report only as warning. Platforms tested: h5commitest and fuss Misc. update: MANIFEST
* [svn-r10920] Purpose:Quincey Koziol2005-06-141-0/+56
| | | | | | | | | | | | | Bug fix Description: Add check for opaque tags that are too long for file format to handle currently. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5commmitest
* [svn-r10875] Purpose:Quincey Koziol2005-06-081-0/+270
| | | | | | | | | | | | Bug fix Description: Fix several NULL pointer dereferences when tracking the name of open objects during some unusual sequences of mount & unmount operations. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10873] Purpose:Quincey Koziol2005-06-081-2/+3
| | | | | | | | | | | | Bug fix Description: Tweaks to make new family file compatibility tests work in non-srcdir (i.e. "inplace") builds. Platforms tested: FreeBSD 4.11 (sleipnir) w & w/o srcdir Too minor to require h5committest
* [svn-r10862] Purpose: Bug fixRaymond Lu2005-06-065-4/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description:See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: this is the fifth step of checkin. Backward compatibility with v1.6 is tested. A family file created was created with the v1.6 library and opened with this version of the library. In the fourth step of checkin, a test suit is added for h5repart, including a program to generate the test files, a script file to run h5repart, and a program to verify repartitioned files can be opened by the library. There's a change from the first step of checkin. Family name template is no longer saved in the superblock because different pathname can make the name different. In the third step of checkin, h5repart has been modified. If h5repart is used to change the size of family member file, the new size(actual member size) is saved in the superblock. In the second step of checkin, multi driver is checked against the driver name saved in superblock. Wrong driver will result in a failure with an error message indicating multi driver should be used. This change includes split driver because it's a special case for multi driver. In the first step of checkin. Family member size and name template(unused at this stage) are saved in file superblock. When file is reopened,the size passed in thrin superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. Platforms tested: h5committest and fuss. Misc. update: MANIFEST
* [svn-r10858] Purpose:Albert Cheng2005-06-041-4/+15
| | | | | | | | | | | bug fix. Description: The check-s and check-p targets are not recursively passes down. Make them so. Platforms tested: heping (serial and pp).
* [svn-r10849] Purpose:Albert Cheng2005-06-021-1/+3
| | | | | | | | | | | | | | | | | | bug fix Description: check-s and check-p were set as pre-requistics of test. They would get executed in parallel if parallel make is used. This could cause problems since serial tests are used to be executed before parallel tests. It is not known if it is always okay to run serial and parallel tests in simultantously. Solution: Change check-s and check-p as actions of the target test so that they get executed sequnentially. Platforms tested: heping PP.
* [svn-r10847] Purpose: Bug fixRaymond Lu2005-06-021-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the fourth step of checkin. A test suit is added for h5repart, including a program to generate the test files, a script file to run h5repart, and a program to verify repartitioned files can be opened by the library. There's a change from the first step of checkin. Family name template is no longer saved in the superblock because different pathname can make the name different. In the third step of checkin, h5repart has been modified. If h5repart is used to change the size of family member file, the new size(actual member size) is saved in the superblock. In the second step of checkin, multi driver is checked against the driver name saved in superblock. Wrong driver will result in a failure with an error message indicating multi driver should be used. This change includes split driver because it's a special case for multi driver. In the first step of checkin. Family member size and name template(unused at this stage) are saved in file superblock. When file is reopened,the size passed in thrin superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. Platforms tested: h5committest and fuss. Misc. update: MANIFEST
* [svn-r10840] Purpose:James Laird2005-06-021-6/+36
| | | | | | | | | | | Added check-s and check-p targets. Description: Added check-s and check-p targets to 1.7 branch to match changes to 1.6 branch. Now parallel and serial tests can be run separately. Platforms tested: mir, modi4, copper
* [svn-r10837] Purpose:Quincey Koziol2005-06-012-26/+114
| | | | | | | | | | | | | | | | | | | | | Bug fix/new feature Description: Setting "SEMI" or "STRONG" file close degrees causes problems when multiple file IDs exist for the same file on disk. Solution: Make the "SEMI" and "STRONG" settings only apply to the file ID that is being closed. Also, add an "H5F_OBJ_LOCAL" flag for the H5Fget_obj_count() & H5Fget_obj_ids() calls, so that applications can query about objects opened with a particular file ID instead of all the objects opened in the file on disk. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10834] Purpose:John Mainzer2005-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Fix a compile issue with the SX6 port. Description: In cache.c, invalid_configs array was declared as const, which caused problems when elements of the array were passed to H5Pset_mdc_config() Solution: Remove the const modifier from the declaration of invalid_configs. Platforms tested: Heping (serial) Misc. update:
* [svn-r10832] Purpose:Quincey Koziol2005-05-311-0/+8
| | | | | | | | | | | | | | | | | Bug fix Description: Fix problems with hyperslab operations with hyperslabs that have count == 0 or block == 0 values. (bugzilla #294) Solution: Detect zero sized selections and translate into appropriate action on the current hyperslab, rather than go through the formality of generating span trees with zero-sized spans, etc. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r10806] Purpose:Albert Cheng2005-05-261-2/+2
| | | | | | | | | | Cosmic changes when folding getenv_all to v1.6. No code changes. Platforms tested: heping. Misc. update:
* [svn-r10800] Raymond Lu2005-05-251-77/+77
| | | | | | | | | | | | Purpose: Bug fix Description: The definitions of 2 private functions(test_family_opens() and test_multi_opens()) fell below the use of them. g++ on sleipnir complained they weren't declared. Solution: Moved the definitions above the use of them. Problem solved. Platforms tested: sleipnir - the only platform complained.
* [svn-r10796] Purpose: Bug fixRaymond Lu2005-05-241-76/+76
| | | | | | | | | | | | | | | | | | | | | | | | Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the third step of checkin. h5repart has been modified. If h5repart is used to change the size of family member file, the new size(actual member size) is saved in the superblock. In the second step of checkin, multi driver is checked against the driver name saved in superblock. Wrong driver will result in a failure with an error message indicating multi driver should be used. This change includes split driver because it's a special case for multi driver. In the first step of checkin. Family member size and name template(unused at this stage) are saved in file superblock. When file is reopened,the size passed in thrin superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. Platforms tested: h5committest and fuss Misc. update: RELEASE.txt
* [svn-r10789] Purpose:Quincey Koziol2005-05-231-76/+76
| | | | | | | | | | | Bug fix Description: Rearrange functions to make C++ compiler happy. Platforms tested: FreeBSD 4.11 (sleipnir) w/CC=g++ Outside of h5committest's scope.
* [svn-r10786] Purpose:Quincey Koziol2005-05-231-1/+15
| | | | | | | | | | | Add comment Description: Add copyright statement. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10785] Purpose:James Laird2005-05-235-5/+847
| | | | | | | | | | | | | | | | | Feature Description: Added "support" for UTF-8 character encoding. Solution: Wrote tests to check that UTF-8 can be used in a number of places in HDF5 (object names, data, etc.). These tests live in test/tunicode.c. Added a new UTF-8 character encoding for datatypes. Platforms tested: mir, modi4, heping Misc. update:
* [svn-r10779] Purpose: Bug fixRaymond Lu2005-05-201-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | Description: Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the second step of fixing this bug. Multi driver is checked against the driver name saved in superblock. Wrong driver will result in a failure with an error message indicating multi driver should be used. This change includes split driver because it's a special case for multi driver. In the first step of checkin. Family member size and name template(unused at this stage) are saved in file superblock. When file is reopened,the size passed in thrin superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. Test program tries to reopen a multi file with default sec2 driver. The third step will be changing h5repart to let it change family member size in the superblock if user uses it to change member file size. Platforms tested: h5committest and fuss.
* [svn-r10777] Purpose: Bug fixRaymond Lu2005-05-201-7/+93
| | | | | | | | | | | | | | | | | | | Description: See details from Bug #213. Family member file size wasn't saved anywhere in file. When family file is opened, the first member size determine the member size. Solution: This is the first step of fixing this bug. Member size and name template(unused at this stage) are saved in file superblock. When file is reopened, the size passed in through H5Pset_fapl_family is checked against the size saved in superblock. A different size will trigger a failure with an error message indicating the right size. Wrong driver to open family file will cause a failure, too. Test program tries to verify different wrong ways to reopen file will fail. The second step will change multi driver that wrong driver will cause a failure. Platforms tested: fuss and h5committest
* [svn-r10750] Purpose:Quincey Koziol2005-05-173-19/+802
| | | | | | | | | | | | | | | | | | | | New feature. Description: Add "memory pool" internal data structure. This set of routines is designed to add a way to allocate small pieces of information for a particular purpose and then free all the pieces at once (i.e. without having to free each piece individually). Memory pools are also good for localizing lots of small allocations that logically belong together. For example, if you were constructing a temporary linked list, you could create a new memory pool, allocate all the nodes for the list from the memory pool and when you were done with the list, just destroy the pool instead of tracking through the list and freeing each block independently. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10736] Purpose:Quincey Koziol2005-05-074-57/+47
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10734] Purpose:Quincey Koziol2005-05-071-8/+241
| | | | | | | | | | | | Bug fix Description: Fix several problems with mounting files on an entry in a group when the file the group is in has been closed. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10717] Purpose:John Mainzer2005-05-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove C99 types from new metadata cache related API calls (take 2 -- missed one in the previous check in) Description: Windows (and perhaps others) don't like int32_t and int64_t. While we have dealt with the issue internally, it is more of a problem in API calls. Solution: Convert int32_t to int and int64_t to long int in the new metadata cache related API calls. Platforms tested: heping Misc. update:
* [svn-r10715] Purpose:John Mainzer2005-05-021-137/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove C99 types from new metadata cache related API calls Description: Windows (and perhaps others) don't like int32_t and int64_t. While we have dealt with the issue internally, it is more of a problem in API calls. Solution: Convert int32_t to int and int64_t to long int in the H5AC_cache_config_t structure used by the new metadata cache related API calls. Added explicit type casts to convert between internal and external representations. Platforms tested: h5committested Misc. update:
* [svn-r10699] Purpose:Quincey Koziol2005-04-291-2/+2
| | | | | | | | | | | | Code cleanup Description: Switch name & logic from H5_LLONG_TO_FP_CAST_BROKEN to H5_LLONG_TO_FP_CAST_WORKS, to better match the rest of the library. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10688] Purpose:John Mainzer2005-04-281-2/+3003
| | | | | | | | | | | | | | | | | | | | | | | | | | Add API calls allowing user control of the metadata cache. Description: Prior to this update, the metadata cache was not configurable from outside the library. Solution: Add API calls allowing the user to configure the metadata cache either at file open time, or for any open file. Also added calls permitting the user to monitor cache size and hit rate. These latter facilities are needed for "manual" cache size control Platforms tested: h5committested Misc. update:
* [svn-r10682] Purpose:Xiaowen Wu2005-04-271-7/+7
| | | | | | | | | | | | | | | | | | Slight modifications. Description: Several constants related to the H5Pset_scaleoffset interface are added into H5Zpublic.h. Test cases that calls H5Pset_scaleoffset needs slight modifications. Solution: Use the defined names when calling H5Pset_scaleoffset instead of using numerical numbers. Platforms tested: heping, shanti Misc. update:
* [svn-r10674] Purpose:Xiaowen Wu2005-04-261-29/+472
| | | | | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter has been implemented to to compress floating-point data (single precision and double precision) using D-scale method from GRIB. Solution: Test cases for float and double datatypes are added according to the change of scaleoffset filter. Situations of fill value defined/undefined are tested. Platforms tested: heping, shanti, copper Misc. update:
* [svn-r10661] Purpose:Leon Arber2005-04-251-2/+2
| | | | | | | | | | | | | | | | Bug fix.... Description: Despite passing all tests, the previous checkin had a copy/paste typo that resulted in the tests being run under the wrong conditions. Solution: Fixed typo. Platforms tested: yet another minor change... copper only. Misc. update:
* [svn-r10660] Purpose:Leon Arber2005-04-251-4/+4
| | | | | | | | | | | | | | | | | bug fix (sorta) Description: Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN Solution: Since a test for H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script, the dtransform test would assume that this cast doesn't work and skip the test. Change the variable around so that, by default, it is assumed a long long to double cast does work. Platforms tested: minor change: copper, sol Misc. update:
* [svn-r10658] Purpose:Leon Arber2005-04-251-0/+19
| | | | | | | | | | | | | | | | | Bug fix Description: The intel compiler on windows doesn't support long long to double conversion. Solution: Added a flag H5_LLONG_TO_FP_CAST_WORKS. When it is not defined, the data transform will issue an error when someone tries to perform a transform from long long to double and the long long to double dtransform test will be skipped. Platforms tested: heping, sol, copper Misc. update:
* [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)