summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8427] Purpose:Quincey Koziol2004-04-281-0/+24
| | | | | | | | | | | | | | | | Bug fix (sorta) Description: Add hack to allow the MS Visual Studio 6 compiler to build the library. It cannot cast unsigned long long values to float or double values. So, add another configuration macro to disable this conversion in the library. Just the "hardware" conversion is disabled, so the library will still correctly convert unsigned long long to float and double values, it will just happen more slowly with the "software" conversion routine. Platforms tested: FreeBSD 4.9 (sleipnir) with "Windows" setting faked inappropriate for h5committest
* [svn-r8425] Purpose:Quincey Koziol2004-04-281-22/+35
| | | | | | | | | | | | | | | Bug fix (sorta) Description: The SGI machines have problems accurately (and consistently) converting unsigned long values to float and double values, so put in a bit of a hack in the datatype conversion test code to allow them to get "close enough". This hack is enabled at configure time by a flag which should only be set on machines with this problem. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r8424] *** empty log message ***Raymond Lu2004-04-271-15/+113
|
* [svn-r8383] Purpose:Quincey Koziol2004-04-1810-43/+40
| | | | | | | | | | | | | Code cleanup Description: Clean up lots of warnings based on those reported from the SGI compilers as well as gcc. Platforms tested: SGI O3900, IRIX64 6.5 (Cheryl's SGI machine) FreeBSD 4.9 (sleipnir) w/ & w/o parallel h5committest
* [svn-r8377] Purpose:Quincey Koziol2004-04-171-4/+106
| | | | | | | | | | | Code cleanup Description: Added more tests Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r8375] Purpose:Quincey Koziol2004-04-171-2/+6
| | | | | | | | | | | | | | Bug fix. Description: Allow the recent changes to support correct srcdir operation to also work when building in place. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest Misc. update:
* [svn-r8370] Purpose:Albert Cheng2004-04-171-5/+5
| | | | | | | | | | | | | | Bug fix. Description: Not all machines (like Sun and AIX) support fabsl() and fabsf() used in test/dtypes.c. Changed the coding to use macro names HDfabsl and HDfabsf. Also set the two macros to use ABS for now so that they will work for all machines. (need more portable fixes which would involve configure.) Platforms tested: h5committested. (also tested in LANL QSC and Theta).
* [svn-r8360] Purpose:Albert Cheng2004-04-161-0/+28
| | | | | | | | | | | | | | | | | | | | | | bug fix. Description: On LANL QSC, test/dtypes "sw long double -> double" had failed when the long double values were too small, smaller than the minimum double normalized floating number. The hw in QSC converts them mostly to 0 but occasionally, it converts to the some non-zero values which are still <= the minimum double normalized number. But the conversion verification did not like them and flagged them as errors. Solution: Added code to check if the src value is already smaller than the minimum number the float class can hold. When that happens and if both hw and sw conversion results are <= the minimum number, then accepts them as okay because if the src is smaller than the dst minimum number, an underflow has occured. Platforms tested: Tested in LANL QSC and Theta.
* [svn-r8351] Purpose: Bug fixRaymond Lu2004-04-141-10/+5
| | | | | | | | Description: This test script put executable program in hdf5/test/testfiles where output HDF5 file was created. It might cause conflict when multiple buildings happen. Platforms tested: RH 8(fuss)
* [svn-r8349] *** empty log message ***Raymond Lu2004-04-131-0/+396
|
* [svn-r8334] Purpose: Bug fixRaymond Lu2004-04-091-5/+5
| | | | | | | | Description: Variable name "class" conflicts with C++ key word. Solution: changed it to "type" Platforms tested: RH 8
* [svn-r8331] Purpose: Last step of check-in for Null dataspaceRaymond Lu2004-04-082-82/+122
| | | | | | | | | | | | Description: Mainly are header message changes for dataspace. In last round of check-in, a new header message for dataspace to created, which is not a good way. Now, there will be no new message for dataspace, but just add the type of dataspace in the message while increment its version number. Backward compatibility is addressed. The attribute design is modified accordingly. Took out Null dataspace test from tmisc.c and put it in th5s.c. Platforms tested: h5committest
* [svn-r8315] *** empty log message ***Raymond Lu2004-04-061-2/+84
|
* [svn-r8298] Purpose:Albert Cheng2004-04-032-12/+59
| | | | | | | | | | Code cleanup Description: Added SetTest() to handle test controls. Platforms tested: h5committested.
* [svn-r8292] Purpose:Albert Cheng2004-04-012-0/+13
| | | | | | | | | | | Feature. Description: Added GetTestParameters() to provide Test Parameters to individual test programs. Platforms tested: "h5committested"
* [svn-r8289] Purpose:Albert Cheng2004-03-304-24/+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". Also run compat test in eirene.
* [svn-r8284] Purpose:Pedro Vicente Nunes2004-03-261-0/+104
| | | | | | | | | | | | | | add a "generator" program for the test files that are used in the "test_filter_endianess" of the dsets test Description: Solution: Platforms tested: windows Misc. update:
* [svn-r8274] Purpose:Albert Cheng2004-03-233-17/+17
| | | | | | | | | | | | | | | | 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-r8262] Purpose: Avoid bug in some systems.Raymond Lu2004-03-161-5/+15
| | | | | | | | | | Description: unsigned long or unsigned long long failed to be converted to float or double during software conversion on some systems. It's believed there are bugs on those systems(modi4, premium, o2, arabica). Solution: temporarily disable these tests. Platforms tested: Simply comment out. No need to do test.
* [svn-r8261] Purpose:Pedro Vicente Nunes2004-03-151-13/+8
| | | | | | | | | | | | | | | | | bug fix Description: the test that reads a pre-saved file with filters must only be run when that filter is available on the current configuration, otherwise the library trigers a read error Solution: added a #ifdef for the filter, that prints -SKIP- in case we do not have the filter Platforms tested: linux Misc. update:
* [svn-r8260] Purpose:Quincey Koziol2004-03-131-4/+0
| | | | | | | | | | | Code cleanup Description: Remove small debugging block Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r8259] *** empty log message ***Raymond Lu2004-03-131-6/+10
|
* [svn-r8255] Purpose:Pedro Vicente Nunes2004-03-121-2/+24
| | | | | | | | | | | | | | | 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-r8252] Purpose:Pedro Vicente Nunes2004-03-111-20/+214
| | | | | | | | | | | | | | | | | | | | | | | bug fix new test Description: the fletcher filter used a temporary 2 byte word buffer to compute the checksum. this is non portable between big-endian/little endian. added a test that reads 2 pre-saved files (one LE, other BE) with that filter enabled Solution: replaced with a buffer of 1 byte type Platforms tested: linux solaris solaris 64 bit AIX windows Misc. update:
* [svn-r8246] Purpose:Pedro Vicente Nunes2004-03-102-0/+0
| | | | | | | | | | | | added 2 binary files to be used in a new test (dsets test) Description: Solution: Platforms tested: Misc. update:
* [svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)Elena Pourmal2004-03-081-3/+3
| | | | | | | | | | | | Description: Wrong datatype was used to calculate the size of data buffer Solution: Used correct the datatype Platforms tested: partially h5comittested (sol and verbena); tested manually for sequential version on copper Misc. update:
* [svn-r8159] Purpose: Disable a test.Raymond Lu2004-02-061-3/+9
| | | | | | | | | Description: Temporarily disable float(or double) - unsigned long long software conversion because there is a bug in pgcc compiler. Will enable it once the problem is solved. Platforms tested: RH 8
* [svn-r8153] *** empty log message ***Raymond Lu2004-02-041-4/+10
|
* [svn-r8150] Purpose:Pedro Vicente Nunes2004-02-041-1/+1
| | | | | | | | | | | | | introduced the constant H5Z_FILTER_ALL, used to remove all filters in H5Premove_filter Description: Solution: Platforms tested: linux Misc. update:
* [svn-r8149] Pedro Vicente Nunes2004-02-041-3/+3
| | | | | | | | | | | | | | Purpose: replaced name of delete filter with remove filter for the new function H5Premove_filter Description: Solution: Platforms tested: linux Misc. update:
* [svn-r8137] 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-r8133] Purpose:Quincey Koziol2004-01-311-3/+7
| | | | | | | | | | | | | Optimization Description: Improve the time this takes to run by hoisting a check for the signed-ness of the source and destination datatypes out of inner loop. (Speeds up test time by almost 1/3) Platforms tested: IBM p690 (copper) too minor for h5committest
* [svn-r8128] Purpose:Quincey Koziol2004-01-311-506/+597
| | | | Update dependencies after restructuring of MPI stuff
* [svn-r8117] Purpose:Quincey Koziol2004-01-271-80/+84
| | | | | | | | | | | | | Code cleanup Description: Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with documentation and a note in the release notes. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) w/ C++ and FORTRAN Too minor for full h5committest
* [svn-r8113] Purpose:Pedro Vicente Nunes2004-01-261-0/+121
| | | | | | | | | | | | | | | | | | | new library function H5Pdelete_filter deletes one or all filters from a dataset creation property list this was done for the NONE option of h5repack, added tests for this feature added a test for the new function in /test/dsets.c Description: Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8102] Purpose:Albert Cheng2004-01-231-2/+0
| | | | | | | Removed debug print statements committed by mistake. Platforms tested: eirene.
* [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)