summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4279] Purpose:Quincey Koziol2001-07-302-7/+237
| | | | | | | | Additional test Description: Added metadata cache abuser code to the 'timings' target in the tests. Platforms Tested: FreeBSD 4.3 (hawkwind)
* [svn-r4198] Purpose:Quincey Koziol2001-07-122-11/+7
| | | | | | | | | Code cleanup Description: Clean up a few warnings in the library and tests, since it looks like we are going to have to roll another prelease tarball. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4177] Purpose:Quincey Koziol2001-07-101-1/+53
| | | | | | | | Bug fix Description: Accommodate v1.2.x behavior when --enable-hdf5v1_2 is enabled. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4143] Pedro Vicente Nunes2001-07-071-0/+12
| | | | | | | | | | | | | | | | Purpose: code warrior port Description: added defines to avoid including the header sys/timeb.h Solution: Platforms tested: nt, linux:
* [svn-r4101] Pedro Vicente Nunes2001-07-031-5/+5
| | | | | | | | | | | | | | | | Purpose code warrior changes : Description: the open function of Metrowerks has a bug. The test file overhead.c has some idef statments that avoid calling this function on code warrior: Solution: Platforms tested: solaris (arabica), linux (eirene)+
* [svn-r4093] Thomas Radke2001-07-021-29/+116
| | | | | | | | | | | | | | | | | | | | | | | Purpose: Use port hunting to test the Stream VFD Description: The stream driver is tested by streaming data between two different processes on the local machine on a given default port. If this port is already is use, port hunting should find the next available port to use. The hostname/port information which is actually used by the sender is written to a temporary file which is then read by the receiver process to connect to the sender's port. For the purpose of testing I switched back the default port to use from 10007 to 5678 which is at least already used by another service on modi4. Platforms tested: x86 Linux, Irix 32/64 bit (modi4), Dec Alpha, Unicos on T3E, Hitachi SR8000, AIX on SP2
* [svn-r4086] Purpose:Quincey Koziol2001-06-292-22/+2
| | | | | | | | | | Code Cleanup Description: CodeWarrior checkin broke the unix build in a couple of ways... Solution: Various tweaks and cleanups. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4081] Pedro Vicente Nunes2001-06-286-19/+56
| | | | | | | | | | | | | | | | Purpose: [is this a bug fix? feature? ...] Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
* [svn-r4006] Purpose:Quincey Koziol2001-06-141-22/+114
| | | | | | | | | Regression check added Description: Added regression check to verify that the array reading code is now working correctly for small data transfer buffers. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3943] Purpose:Bill Wendling2001-05-251-32/+111
| | | | | | | | | Backport Description: Backport of patch to HDF5 1.5 branch which puts temp files in /tmp/${USER,LOGIN} if defined for parallel tests. Platforms tested: Linux
* [svn-r3934] Purpose:Bill Wendling2001-05-1553-170/+171
| | | | | | | | | | | | | | | | Code Update Description: Ported change from the 1.5 branch to the 1.4 branch where all HDF5 include files are in quotes instead of angle brackets: #include "hdf5_file.h" instead of #include <hdf5_file.h> Platforms tested: Linux
* [svn-r3835] Purpose:Quincey Koziol2001-04-231-0/+32
| | | | | | | | | More tests Description: Added test to verify non-zero userblocks working correctly with dataset I/O code. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3676] Purpose:Albert Cheng2001-03-2015-60/+0
| | | | | | | | | | | | | Bug fix (sort of) Description: The RCSID string in H5public.h was causing the C++ code problem as it was included multiple times and C++ did not like multiple definitions of the same static variable. Solution: Since we don't really make use of the RCSID strings as we have not installed it in all source files, we decided to remove it. Platforms tested: eirene (linux), modi4 (IRIX64-64) both serial and parallel modes.
* [svn-r3501] Purpose:Quincey Koziol2001-02-231-0/+278
| | | | | | | | | Bug Fixes Description: Wrote test to exercise hyperslab I/O on chunked datasets where the hyperslabs aren't aligned on exact dimension boundaries. Platforms tested: FreeBSD 4.2. (hawkwind)
* [svn-r3379] Purpose:Albert Cheng2001-02-081-1/+1
| | | | | | | | | | | | | "Bug fix" Description: It could not create the stream file in modi4 because port 5678 is used by a recently installed application in modi4. But the reading side just waited there and the two test processes have to be killed by hand. Solution: Changed to use port 10007 instead, hoping less chance of conflict with other applications. Just a short-term solution. Platforms tested: modi4.
* [svn-r3326] Purpose:Quincey Koziol2001-01-2521-251/+251
| | | | | | | | | | | Clean up warnings Description: The "FAILED" macro is defined by Windows and is causing warnings and potential errors when compiled on that platform. Solution: Change our macro from FAILED to H5_FAILED. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3307] Purpose:Quincey Koziol2001-01-191-8/+0
| | | | | | | | | | | Code cleanup Description: File was being opened around several dataspace operations which don't need the file to be open. Solution: Removed file open/close around the dataspace operations. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3304] Purpose:Quincey Koziol2001-01-183-788/+3
| | | | | | | | Code update Description: Remove ragged array code & tests from library before release. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3303] Purpose:Quincey Koziol2001-01-181-4/+54
| | | | | | | | | Additional testing Description: Added another random hyperslab test with smaller strip-mine buffers to force more errors conditions (if they exist). Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3292] Purpose:Quincey Koziol2001-01-161-1/+1
| | | | | | | | | | Comment fix Description: Comment describing test was misleading Solution: Corrected description of type of test being performed. Platforms tested: Eyeballed...
* [svn-r3281] Purpose:Quincey Koziol2001-01-121-0/+16
| | | | | | | | | | | Bug fix Description: Datasets were allowed to be created with chunks larger than the maximum dimension for each dimension. Solution: Wrote test to verify new error checking is working correctly. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3275] MuQun Yang2001-01-121-2/+3
| | | | | | | | | | Purpose: windows bug fix Description: using HDopen and HDclose at this file, including H5private.h for windows specific headers. Solution: Platforms tested: win 2000, confirmed at eirene
* [svn-r3252] Purpose:Quincey Koziol2001-01-0913-106/+141
| | | | | | | | | | | | | Code cleanup. Description: Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the extra warnings. Including a few show-stoppers for compression on IRIX machines. Solution: Changed lots of variables' types to more sensible and consistent types, more range-checking, more variable typecasts, etc. Platforms tested: FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
* [svn-r3242] MuQun Yang2001-01-041-0/+7
| | | | | | | | | | Purpose: bug fix for windows Description: in windows use _getpid instead of getpid Solution: Platforms tested: windows 2000
* [svn-r3237] Purpose:Quincey Koziol2001-01-041-7/+7
| | | | | | | | | Bug fix. Description: Properly detect whether the library has compression support and skip tests (with messages) if there is no compression. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3234] MuQun Yang2001-01-031-0/+4
| | | | | | | | | | | | Purpose: a bug fix Description: without explicitly including stdio.h in this file, it will fail in compiling at the first time of building up the library. It needs to be recompiled separetely. Now it can work. The real reason is to be investigated. Solution: adding include <stdio.h> for win32. Platforms tested: win 2000
* [svn-r3140] Purpose:Quincey Koziol2000-12-141-1/+67
| | | | | | | | | | | Added testing Description: Since I accidentally checked in some bug-fixes for the generic property code in my last checkin, I thought it would be a good idea to check in the tests for them also. If these cause problems, I'll back them out of the CVS tree... Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3132] Purpose:Quincey Koziol2000-12-131-0/+96
| | | | | | | | More tests Description: Added regression test for non-optimized compound datatype conversion fix. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3111] Purpose:Quincey Koziol2000-12-111-0/+293
| | | | | | | | | Additional test Description: Exercise reading background buffer from file when reading only one field from a compound datatype which has array fields. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3018] Purpose:Quincey Koziol2000-11-291-1/+1
| | | | | | | | | | | Bug fix Description: Had incorrect logic in testing for file families when v1.2 compatibility was enabled.. Solution: Corrected to match non-compatibility code. Platforms tested: Linux 2.2.16-3smp (eirene)
* [svn-r3005] Purpose:Quincey Koziol2000-11-2710-13/+75
| | | | | | | | Backward compatibility code Description: Add in code to allow the library to emulate the v1.2 API and behavior. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3001] MuQun Yang2000-11-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | Purpose: Fix a bug caught by debug version of windows 2000 at test_compound_5(struct optimization converter). Description: free memory of a variable before checking the result by using that variable. Solution: put free(buf) and free(bkg) after the following block: /* Check results */ if (memcmp(src[1].name, dst[1].name, sizeof(src[1].name)) || src[1].tdim!=dst[1].tdim || src[1].coll_ids[0]!=dst[1].coll_ids[0] || src[1].coll_ids[1]!=dst[1].coll_ids[1] || src[1].coll_ids[2]!=dst[1].coll_ids[2] || src[1].coll_ids[3]!=dst[1].coll_ids[3]) { FAILED(); return 1; } Platforms tested: windows 2000 and confirmed at LINUX(eirene).
* [svn-r2974] Purpose:Quincey Koziol2000-11-171-8/+38
| | | | | | | | | | | | Code bullet-proofing Description: There were several hard-coded values in various places in this test and it wasn't checking for out-of-memory conditions very robustly. Solution: Changed hard-coded values to be computed values and performed better checking for out-of-memory situations. Platforms tested: SGI O2K (modi4) and Solaris 2.6 (baldric)
* [svn-r2955] Purpose:Quincey Koziol2000-11-161-2/+17
| | | | | | | | Code checkpoint Description: More generic property testing. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2912] Purpose:Quincey Koziol2000-11-151-0/+94
| | | | | | | | Code checkpoint Description: More code testing for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2910] Purpose:Quincey Koziol2000-11-151-4/+137
| | | | | | | | Code checkpoint Description: More generic property functionality tested Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2900] Purpose:Quincey Koziol2000-11-141-0/+42
| | | | | | | | Code development Description: Adding more generic property list tests for new functions. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2893] Purpose:Quincey Koziol2000-11-141-0/+55
| | | | | | | | Code development Description: Starting to implement actual tests for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2887] Purpose:Quincey Koziol2000-11-131-0/+52
| | | | | | | | | Backward compatibility additions Description: Test HDF5 v1.2 compatibility API functions (H5Tget_member_dims & H5Tinsert_array) when they are built into the library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2875] Purpose:Quincey Koziol2000-11-131-1/+1
| | | | | | | | Code cleanup Description: Eliminated some warnings on O2K platform. Platforms tested: SGI O2K (modi4)
* [svn-r2872] Purpose:Quincey Koziol2000-11-124-6/+78
| | | | | | | | | Code update Description: Added stub for generic property testing, although it doesn't do anything yet. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2866] Purpose:Quincey Koziol2000-11-114-11/+11
| | | | | | | | Code cleanup Description: Found more "Have_foo" usage and converted them to "H5_HAVE_foo" Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2864] Purpose:Quincey Koziol2000-11-111-0/+4
| | | | | | | | Additional testing. Description: Verify that calling H5Rget_obj_type with a region reference fails. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2863] Thomas Radke2000-11-111-26/+12
| | | | | | | | | | | | | | | | | Purpose: Bugfix Description: Undo my last bugfix Solution: Although changing 'return()' into '_exit()' for forked processes fixed core dumping of stream_test under Linux SMP it wasn't really a bugfix. In fact it still crashed on a T3E. Now it turned out that the bug was in some cleanup routine in H5FD.c. Since this has been fixed by Robb I can undo my (unneccessary) changes. Platforms tested: Linux SMP (eirene) IRIX64 (modi4), IRIX32 (origin) T3E
* [svn-r2862] Purpose:Quincey Koziol2000-11-103-65/+66
| | | | | | | | | | | Bug fix. Description: Had been using older-style "HAVE_foo" macros instead of newer "H5_HAVE_foo" macros. Solution: Added a "H5_" to all the "HAVE_foo" macros. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2844] Purpose:Quincey Koziol2000-11-099-107/+2271
| | | | | | | | | | | | | | | | | | | New Feature Description: Added array datatype tests to the regression tests. These datatype combinations are tested currently: 1-D array of atomic datatypes 3-D array of atomic datatypes array of array of atomic datatypes array of compound of atomic datatypes array of compound of array datatypes array of VL of atomic datatypes array of VL of array datatypes Also added a test to verify that the older style compound datatype with array fields works correctly. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2834] Thomas Radke2000-11-081-12/+26
| | | | | | | | | | | | | | | | | Purpose: Bugfix Description: The stream_test program reported an error under Linux SMP for testing the Stream VFD although everything seemed to be fine. Solution: The sender and receiver process which are forked by main() called return(retcode) at exit which implies closing open file descriptors. Since these are shared this caused a SEGFAULT in either the sender or the receiver when exiting. Replacing return() by _exit() is the right way to terminate the forked processes in this case. Platforms tested: Linux SMP (eirene)
* [svn-r2801] Raymond Lu2000-11-031-1/+1
| | | | | | | | | | | | | | | | | Purpose: Change to a more appropriate way. Description: Change the port number from hard-coded to the one depending on the configure file ~/.srb/.MdasEnv. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
* [svn-r2800] Raymond Lu2000-11-031-1/+1
| | | | | | | | | | | | | | | | Purpose: Fix a typo Description: Just a typo in print output. Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
* [svn-r2750] Thomas Radke2000-10-281-7/+22
| | | | | | | | | | | | | | | | | | | | | Purpose: Port to Windows. Description: The stream_test program now also compiles and can be run under Windows. Solution: The problem was that fork(2) and waitpid(2) aren't available under Windows when using the MS compilers. So I test for both H5_HAVE_FORK and H5_HAVE_WAITPID. These are already checked fortunately during configuration. If they are not there the code just says printf ("Test skipped because this architecture doesn't provide " "fork(2) and waitpid(2)\n"); Platforms tested: Windows NT, both with MS Visual C++ and GNU cc Now you can build and run the Stream VFD testsuite under Windows when using GNU cc !!