summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9790] Purpose:John Mainzer2005-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Reduce run time of daily tests. Description: cache, the test program for the metadata cache has been taking a while to execute. Solution: As a short term "fix", I have commented out all but one of the long running test functions. Of course that means that we aren't running these tests at present. I'm not sure that this is a good idea. Platforms tested: Serial on Heping. Misc. update:
* [svn-r9783] Purpose: Bug fixRaymond Lu2005-01-081-8/+10
| | | | | | | | | | Description: For HP-UX 11.00, the compiler generates 'floating exception' when converting 'long double' to most of integer types. Solution: Define a macro for all other systems except HP-UX 11.00. Hard set this macro to 'no' in config/hpux11.00 to skip this test for HP-UX 11.00. Platforms tested: modi4, kelgia, fuss
* [svn-r9780] Purpose:Quincey Koziol2005-01-081-1/+1
| | | | | | | | | | | | Bug fix Description: Print the thread ID in a little more portable of a fashion, disallowing negative thread IDs. Platforms tested: Linux 2.4 (heping) w/threadsafe Too Minor to require h5committest
* [svn-r9778] Purpose:Quincey Koziol2005-01-085-260/+116
| | | | | | | | | | | | | | | Remove feature Description: Retire threaded, balanced binary tree code from HDF5 use. Requiescat in pace... Also, regenerate dependencies files. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require full h5committesting (the code is already disconnected from everything except its tests)
* [svn-r9777] Purpose: Bug fixRaymond Lu2005-01-071-2/+11
| | | | | | | | | Description: Windows .NET 2003 can't handle float(double)->long_long hardware conversion. While the problem hasn't been determined, we temporarily disable that test by using a condition macro. Let Windows define that macro. Other systems don't have it defined. Platforms tested: mir and eirene.
* [svn-r9774] Purpose: Bug fixbefore_removing_tbbt_codeRaymond Lu2005-01-071-15/+21
| | | | | | | | | | | Description: integer->long double conversion test failed on some of Linux systems(mir and eirene) when Intel compiler is used. I'm not able to repeat the problem. So I just made a best guess and fix it. The problem is minor. The long double on Linux is 12 bytes long but precision is 10 bytes. The unused 2 bytes may have garbage in them causing value comparison wrong. Platforms tested: mir and eirene with Intel compiler.
* [svn-r9767] Purpose: Bug fixRaymond Lu2005-01-061-122/+122
| | | | | | | | | Description: 2 small things to correct: 1. the change in H5config.h.in was wept out by a later change. 2. long long isn't supported on Windows. It's long_long instead. Platforms tested: fuss(linux 2.4)
* [svn-r9764] Purpose:Quincey Koziol2005-01-061-1/+417
| | | | | | | | | | | | | | | | New feature Description: Add some additional features to the skip list code that was needed to fully support all the features that the threaded, balanced binary tree code has. Also, updated the property list code to take advantage of a few of the new features. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9756] Xiaowen Wu2005-01-061-1/+255
| | | | | | | | | | | | | | | Purpose: For debugging N-bit filter; it will not affect the library. Description: Adding N-bit tests, the library will not run those tests. Solution: Platforms tested: heping(Linux 2.4), copper(AIX 5.1),arabica(sol 2.7) Misc. update:
* [svn-r9755] Purpose: New featureRaymond Lu2005-01-061-151/+252
| | | | | | | | | | | | | Description: Start to support software conversion between long double and all integers. Solution: No major changes to the algorithm. Changes to configure is to exclude SGI for long double to integers test because there're too many problems in their compiler. Platforms tested: h5committest, modi4, fuss, Teragrid, arabica Misc. update: RELEASE.txt
* [svn-r9753] Purpose:Quincey Koziol2005-01-061-0/+1
| | | | | | | | | | Small bug fix Description: Patch szip_can_encode() test routine to return a value for all code paths. Platforms tested: None - very, very minor
* [svn-r9734] Purpose:Quincey Koziol2004-12-302-2/+57
| | | | | | | | | | | | Code cleanup Description: Convert chunk iteration code to use skip lists instead of threaded, balanced binary trees. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & szip Too minor to require h5committest
* [svn-r9732] Purpose:Quincey Koziol2004-12-301-11/+15
| | | | | | | | | | | | | | | Bug fix Description: szip tests were failing due to a few "H5_SZIP_CAN_ENCODE" ifdefs still lying around in the source code. Solution: Eliminate compile time testing by using new SZ_encoder_enabled() routine at run time. Platforms tested: FreeBSD 4.10 (sleipnir) w/szip
* [svn-r9730] Purpose:Quincey Koziol2004-12-301-1/+1
| | | | | | | | | | | | | Code cleanup (sorta) Description: Transition the generic property list code from using the threaded, balanced binary tree code (H5TB<foo>() routines) to use skip lists (H5SL<foo>() routines) for internal management of properties, etc. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9727] Purpose:Quincey Koziol2004-12-2935-1445/+1981
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9687] Purpose:John Mainzer2004-12-181-99/+10282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the cache code (H5C) to support automatic cache resizing to adapt to the work load at run time. Description: Different applications require different sized caches to maintain an acceptable hit rate. This set of changes attempts to provide the ability to adjust to circumstances automatically. Solution: Added highly configurable code to allow the user to either set a fixed cache size, or allow the cache to grow and shrink according to conditions. If enabled, cache size increases are triggered when the hit rate drops below a user specified threshold in a user specified interval. Cache size reductions (if enabled) are triggered when either the hit rate exceeds some user specified threshold over a user specified interval, when the cache contains "enough" entries that haven't been accessed for a user specified interval, or some mix of the above. See the header comments on the H5C_auto_size_ctl_t structure in H5Cprivate.h for further details. At present, the cache resize configuration options are not accessible via the user API. Must add this. Platforms tested: h5committested, heping (serial), and copper (parallel) Misc. update:
* [svn-r9615] Purpose:Quincey Koziol2004-12-041-5/+63
| | | | | | | | | | | New feature Description: Add callback iteration routine to skip lists. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r9608] Purpose:Albert Cheng2004-12-011-0/+2
| | | | | | | Added comment of the fix. Platforms tested: only tested in heping as it is only a comment added.
* [svn-r9603] Purpose:Quincey Koziol2004-11-303-2/+2
| | | | | | | | | | | | | | | | Bug fix Description: Correct integer overflow situation for computing the size of a dataset. Solution: Rachet one of the dimensions down far enough that the total size of the dataset's raw data doesn't overflow a 64-bit int. Platforms tested: FreeBSD 4.10 (sleipnir) IRIX 6.? (tesla) w/-n32 Too minor to require h5committest
* [svn-r9601] Purpose:Quincey Koziol2004-11-301-8/+87
| | | | | | | | | | | New feature Description: Allow skip list keys to be strings (needed for property list support) Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9598] Purpose:Quincey Koziol2004-11-291-0/+22
| | | | | | | | | | | | | New internal feature Description: Add a "release" routine to the skip lists, which releases all the nodes in the skip list, but keeps the skip list active. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (verbena) Too minor to require h5committest
* [svn-r9596] Purpose:Quincey Koziol2004-11-291-0/+5
| | | | | | | | | | | | | Code optimization Description: Retarget metadata cache code from using TBBT routines to using new skiplist routines, for a reasonable speedup (when dealing with dirty metadata) Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require h5committest
* [svn-r9580] Purpose:Quincey Koziol2004-11-274-7/+505
| | | | | | | | | | | | | | | | | | | | Add new internal data structure Description: Add an implementation of skip lists to the library (see comment in src/H5SL.c for references to the papers describing them) as a potential replacement for our current threaded, balanced binary tree container. Skip lists are much simpler to implement and should be faster to use. Also, added new error codes to release branch, so bump the minor version number to indicate that the library is no longer perfectly compatible with the 1.6.3 release. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) Too minor to require further testing (the skip lists aren't actually used by any library code yet)
* [svn-r9567] Purpose:Quincey Koziol2004-11-241-14/+14
| | | | | | | | | | | Cleanup & add test Description: Clean up test makefile a bit and add metadata cache test to 1.6 branch. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9539] Raymond Lu2004-11-181-9/+4
| | | | | | | | | | | | | | | | | | Purpose: Correction to previous bug fix. This checkin is mainly to let user test his program. Description: For family driver bug(#213), the previous fix was imperfect. The problem was when user create family file, the member size information wasn't saved in file. When the file was re-opened, the library simply use the size of 1st member file as member size. Solution: When file is re-opened, member size passed in from access property is checked to see if it's reasonable. If there is only 1 member file, member size can't be smaller than current member size. If there are at least 2 member files, member size can only be equal to the 1st member size. Platforms tested: h5committest and fuss
* [svn-r9531] Purpose: Bug fix(#213)Raymond Lu2004-11-161-7/+30
| | | | | | | | | | | | | Description: H5Pset_fapl_family sets family member size only for creating new file. The file doesn't keep this size information. When the file is re-opened, the size of first member file is used as the member size. Solution: Assume user knows the original member size and sets it through H5Pset_fapl_family. That will be the member size. User can pass in value 0 as member size if he doesn't know the original member size. Library will choose the size of current first member size as the member file size. Platforms tested: h5committest and fuss.
* [svn-r9526] Purpose:Quincey Koziol2004-11-121-1/+1
| | | | | | | | | | | | | | Bug fix, sorta. Description: Revert change to H5Pget_data_transform() which changed len of buffer returned to be inconsistent with H5Iget_name(), etc. We should discuss this change and apply it to all the similar functions if we decide to change the return value. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9518] Purpose:Leon Arber2004-11-111-130/+180
| | | | | | | | | | | | New tests Description: Added tests for chunked reads/writes. Platforms tested: eirene + sol + copper Misc. update:
* [svn-r9501] Purpose:Leon Arber2004-11-031-391/+81
| | | | | | | | | | | | | | | | Code clean-up Description: Rewrote code to make it simpler. Added more data type tests Solution: Simplified code a lot in preparation for addition of new test cases. Platforms tested: heping + sol + copper
* [svn-r9494] Purpose:Robert E. McGrath2004-11-024-103/+158
| | | | | | | | | | | | Fix SZIP filter to dynmically detect encoder. Description: Solution: See: http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf Changes to library tests, contingent on detecting SZIP encoder.
* [svn-r9486] Purpose:Quincey Koziol2004-10-291-26/+28
| | | | | | | | | | | | | Code cleanup Description: Change loops for comparing results to use 2-D array lookups, since that's what we've really got and the older 1-D array lookups was making the PGI C compiler whine about array bounds issues. Platforms tested: Linux 2.4 (heping) w/PGI C Not relevent to other platforms, no h5committest
* [svn-r9466] Purpose:Quincey Koziol2004-10-271-6/+6
| | | | | | | | | | | Bug fix Description: Clean up potential buffer overflow in strncpy() Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9464] Purpose:Leon Arber2004-10-261-2/+6
| | | | | | | | | | | | | | | Bug fix. Description: dtransform test still failed on windows because it was attempting to create a ullong dataset. Solution: Removed creation of ullong dataset as well if H5_ULLONG_TO_FP_CAST_WORKS was not defined. Platforms tested: windows
* [svn-r9463] Purpose:Leon Arber2004-10-261-1/+5
| | | | | | | | | | | | | | Bug fix. Description: unsigned long long test fails on windows because windows cannot convert from ullong to double Solution: Skip unsigned long long test if H5_ULLONG_TO_FP_CAST_WORKS is not defined. Platforms tested: eirene and will do windows test asap.
* [svn-r9462] Purpose:Leon Arber2004-10-261-325/+193
| | | | | | | | | | | | | | | | | Added tests Code cleanup Description: New tests added for new version of H5Pget_data_transform and additional tests to make sure that error conditions are handled properly by both H5Pset_data_transform and H5Pget_data_transform. Also cleaned up code to make it more compact. Platforms tested: sol + eirene + copper Misc. update:
* [svn-r9459] Purpose:Quincey Koziol2004-10-261-6/+6
| | | | | | | | | | | | | Code cleanup Description: Clean up minor warnings and align with release branch. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & FPH5 Solaris 2.7 (arabica) w/production mode Linux 2.4 (heping) w/C++ and FORTRAN
* [svn-r9450] Purpose:Albert Cheng2004-10-221-4/+1
| | | | | | | | | | | | | "Improvement"? Description: Long double is a standard C89 type. Promoted it from a conditional tested type to an assumed supported type. Platforms tested: H5committested. Misc. update:
* [svn-r9445] Purpose: Bug fixRaymond Lu2004-10-211-50/+50
| | | | | | | | | | | Description: "char" was considered as always "signed char" in data type conversion. However, ISO C leaves the definition of "char" to individual implementation. i.e. for IBM AIX C compiler, it's treated as "unsigned char". Solution: Changed all "char" to "signed char". Don't even do "char" anymore because its definition is up to each vendor. Platforms tested: h5committest
* [svn-r9442] Purpose:Leon Arber2004-10-201-1/+71
| | | | | | | | | | | | | | | | Add code more code to test H5Pget_data_transform and H5Pset_data_transform Description: Added a test to verify that H5Pset_data_transform will correctly replace a data transform with a new one and properly use the new transform on the data. Added a test to verify that H5Pget_data_transform properly returns the transform string. Platforms tested: sol + eirene + copper Misc. update:
* [svn-r9433] Purpose:Quincey Koziol2004-10-191-0/+67
| | | | | | | | | | | | | | | | Bug fix Description: Fix core dump when flushing a file with a newly created attribute which hasn't had a value written to it still open. Solution: Write the attribute fill value when appropriate. Platforms tested: FreeBSd 4.10 (sleipnir) Linux 2.4 (verbena) Solaris 2.7 (arabica)
* [svn-r9432] Purpose:Leon Arber2004-10-181-4/+9
| | | | | | | | | | | | | Skip test. Description: Known failure in char and schar types for dtransform test on AIX and SGI. Solution: Temporary skip this test until bug is fixed. Platforms tested: copper (minor change)
* [svn-r9431] Purpose:Leon Arber2004-10-181-14/+24
| | | | | | | | | | | | | | Bug fix. Description: If a subtest failed, the error would not propogate properly to the main function, thereby resulting in a succesful run, even though the test failed. Solution: Fixed error return values. The dtransform test will now fail for real. Platforms tested: sol + eirene + copper
* [svn-r9427] Purpose:Albert Cheng2004-10-141-1/+7
| | | | | | | | | | | | | | Bug fix. Description: AIX defines different sizes of the signed and unsigned int_fast8_t. Changed the code to check each type individually and do not verify they must be the same size. Platforms tested: Tested in copper only since the change is trivial. Misc. update:
* [svn-r9423] Purpose:Leon Arber2004-10-141-122/+469
| | | | | | | | | | Description: Make the test check transforms on all types, and expanded testing for unsigned types. Solution: Platforms tested: sol + eirene
* [svn-r9420] Bug fix.Albert Cheng2004-10-141-1/+1
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9419] Bug fix.Albert Cheng2004-10-141-40/+57
| | | | | | | | | | | | | | tconfig.c: Verified only the unsigned int types and did not detect inconsistencies on signed type such as int_fast16_t. Changed code to verify both signed and unsigned int types wherever applicable. It also depends on signed and unsigned forms of an int type must be of the same sizes. testhdf5.c: Shorten the configure test name to 'config'--easier to type. Tested on LLNL Frost and Snow. Will test in Copper after commit.
* [svn-r9395] Purpose:Quincey Koziol2004-10-102-5/+7
| | | | | | | | | | | Bug fix Description: Correct a couple of array bounds issues exposed by the PGI compiler Platforms tested: Linux 2.4 (verbena) w/PGI compilers Too minor too requie h5committest
* [svn-r9393] Purpose:Quincey Koziol2004-10-091-414/+390
| | | | | | | | | | | | Code cleanup Description: Clean up formatting and some mis-casts, etc. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (verbena) Solaris 2.7 (arabica)
* [svn-r9369] Purpose:Leon Arber2004-10-051-114/+402
| | | | | | | | | | | | Added tests for most of the types that were added to the data transform code. Further tests will also be added shortly. Platforms tested: sol + eirene Misc. update:
* [svn-r9366] Raymond Lu2004-10-051-4/+13
| | | | | | | | | Purpose: feature change Description: Prevent creating datatype of size 0. Platforms tested: fuss(simple change)