summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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 !!
* [svn-r2725] Purpose:Albert Cheng2000-10-241-5/+19
| | | | | | | | | | | | | | Bug fix. Description: Could not find the pre-created file for the H5S_MAX_RANK test when --srcdir option is used. testhdf5 was looking for it in the currect directory only. Solution: Make use of the value of the environment variable srcdir that is passed to the tests. Compose the real location of the testfile in order to open it even from a remote build directory. Platforms tested: Modi4, arabica, eirene
* [svn-r2717] Purpose:Quincey Koziol2000-10-203-2/+13
| | | | | | | | | | | | | | | | Change test files for increased maximum dimension constant. Description: space_overflow.c - added some simple error checking. th5s.c - corrected test case for maximem dimensions to use correct file and actually test what is supposed to be tested... :-) th5s.h5 - regenerated with increased dimensions. Platforms Tested: FreeBSD 4.1.1 (hawkwind) Solaris 2.5 (baldric)
* [svn-r2708] Purpose:Quincey Koziol2000-10-191-0/+130
| | | | | | Add test case for contiguous hyperslabs. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2699] Purpose:Quincey Koziol2000-10-194-3/+161
| | | | | | | | | | | | | | | Bug fix Description: "Time" datatypes (H5T_UNIX_D*) were not being stored and retrieved in the datatype object header message correctly. Solution: Store endian-ness and precision in the datatype object header message and added test to continue to track them working correctly. This fixes bug #512. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2689] Purpose:Quincey Koziol2000-10-171-1/+97
| | | | | | | | | | | | | | | | | Bug fix. Description: Previously, it has been possible to dereference deleted objects in a file. Obviously, this is incorrect and could cause all sorts of problems if the object being dereferenced had been partially over-written with other information. - This is documented in Bug #493. Solution: Check the link count for objects being dereferenced and don't allow any objects with link counts of zero to be dereferenced. This fixes bug #493. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2653] Purpose:Quincey Koziol2000-10-101-1/+3
| | | | | | | | | No change. Description: Must've added some debuging printf's and then took them out in a way which triggered CVS. Platforms tested: Solaris 2.6 (baldric) & FreeBSD 4.1.1 (hawkwind)
* [svn-r2650] Purpose:Albert Cheng2000-10-101-2/+2
| | | | | | | | | | | | Bug fix Description: The predefined HDF5_PARAPREFIX has a trailing slash. The parallel testfile names end up with two adjacent slashes that made some system unhappy. Solution: Removed the trailing slash. Platforms tested: Arabica (solaris 2.7).
* [svn-r2573] Purpose:Robb Matzke2000-09-191-37/+665
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Irix pmake bugs Description: Build fails on Irix when builddir != srcdir Solution: * acconfig.h * src/H5config.h.in [REGENERATED] Added definition for HAVE_STREAM * config/conclude.in * config/depend1.in * config/depend2.in * config/depend3.in * config/depend4.in The `Dependencies' file is located in the source tree. This fixes bugs for Irix pmake when compiling outside the source tree. Hopefully it still preserves Albert's changes which allow concurrent compilations to not stomp on each other's Dependencies files. * examples/Dependencies [REGENERATED] * src/Dependencies [REGENERATED] * test/Dependencies [REGENERATED] * tools/Dependencies [REGENERATED] Regenerated for testing purposes. Platforms: i686-pc-linux mips-sgi-irix6.5 sparc-sun-solaris2.6
* [svn-r2562] Purpose:Thomas Radke2000-09-151-0/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added test program to verify the Stream Virtual File Driver. Description: This program tests the functionality of the Stream Virtual File Driver. 1. It spawns two new processes, a sender and a receiver. 2. The sender opens an HDF5 file for writing and writes a sample dataset to it. On closing the file the Stream VFD would send the file contents to any connected client. 3. The receiver serves as a client attempting to open an HDF5 file for reading. On opening the file the Stream VFD would establish a socket connection to the sender process, identified by its hostname (which is localhost in this example) and a port number, and read the file contents via this socket. Aftwerwards the dataset is read from the file into memory and verified. 4. The main program waits for termination of its two child processes and returns their exit code. Platforms: Tested so far under Linux, Irix 32/64bit, OSF1, Solaris, Cray Unicos, Hitachi SR8000, IBM AIX. Not tested under Windows yet.
* [svn-r2561] Purpose:Thomas Radke2000-09-151-2/+5
| | | | | | | Add the Stream VFD test program to the 'make check' targets. Description: Added stream_test to the TEST_PROGS variable and a rule to build it.
* [svn-r2547] Changed hyperslab definition to generate one 6x6 hyperslab ↵Quincey Koziol2000-09-131-2/+2
| | | | | | instead of 36 1x1 hyperslabs.
* [svn-r2545] Updated some printfs to be more informative when failures occur.Quincey Koziol2000-09-131-9/+9
|
* [svn-r2539] Removed the -R$(ZLIB_DIR) flag since that is now being taken ↵Bill Wendling2000-09-121-37/+35
| | | | | | care of much more nicely in the config/commence file...
* [svn-r2533] Rolled back the changes I committed since Albert fixed the ↵Bill Wendling2000-09-1112-48/+0
| | | | | | problem with FILENAME being extern global...
* [svn-r2532] Added a trivial FILENAME definition to those programs linked withBill Wendling2000-09-1112-0/+48
| | | | h5test.o, which requires the definition to work...
* [svn-r2531] Description:Albert Cheng2000-09-1032-85/+34
| | | | | | | | | | | | | | | | | | | The "FILENAME" declared extern in h5test.h is not always used. It was used in h5_cleanup to remove temporary files created during tests. Not all tests codes have used this routine. Indeed, quite a few of test programs do "#define FILENAME ". Also, h5_cleanup needs to work in tandem with h5_fixname. h5_fixname accepts an explicite base_name argument instead of using the global variable FILENAME. That is cleaner. Solution: Added char *base_name[] as a new argument to h5_cleanup, in the same style as h5_fixname. Removed "extern char *FILENAME..." from use. Also, undo some unnecessary declaration of "char *FILENAME" from some tests which don't use it at all (yet). Platforms tested: modi4-64(irix64), arabica(solari2.7), eirene(linux) (arabica could not launch tests automatically. I had to hack in LD_LIBRARY_PATH to make them run.)
* [svn-r2529] Added a -R<directory> flag to the LT command line. If we compile ↵Bill Wendling2000-09-081-36/+37
| | | | | | | | | | | | | with zlib, and zlib isn't in our LD_LIBRARY_PATH or in a standard system library place (/usr/lib or /lib), then the tests can't run. This fixes it if the person configures the source with the flag: --with-zlib=/usr/fnord/include,/usr/fnord/lib This only works if you're pointing to the shared library version in the above flag...
* [svn-r2528] Linking errors occured with these files. They link with ↵Bill Wendling2000-09-0812-1/+48
| | | | | | | libh5test, but libh5test wants FILENAME to be defined. I have no clue why this was working before...
* [svn-r2468] Changed type of variable to long since that's what it should ↵Bill Wendling2000-08-041-7/+8
| | | | | | hold after a call to the strtol() function.
* [svn-r2466] Added return statement to the main function to prevent some compilerBill Wendling2000-08-041-1/+2
| | | | | warnings. It's not a meaningful addition, since it happens right after an _exit() statement.
* [svn-r2463] Fixed a comparison between unsigned and signed value. Cast both toBill Wendling2000-08-041-1/+1
| | | | unsigned long. Hope this is enough :).
* [svn-r2411] Added support for log VFL driver.Robb Matzke2000-06-231-0/+7
|
* [svn-r2320] Patched "print_stats" routine parameters for machines with no ↵Quincey Koziol2000-06-021-0/+8
| | | | | | getrusage() call. (Like the Crays)
* [svn-r2317] Close a small memory leak in the test program (not library).Quincey Koziol2000-06-011-0/+4
|
* [svn-r2289] changed the macro for the file to be FILENAME. caused ↵Patrick Lu2000-05-251-7/+7
| | | | | | compilation errors on windows with the old name
* [svn-r2287] Changed ttsafe_* test files so that they create their own HDF5 ↵Bill Wendling2000-05-195-790/+828
| | | | | | | | file (they were only creating one for all of them). Also changed so that, if they got an error, it actually specifies that the tests failed on the screen instead of succeeded ;-)
* [svn-r2273] Used updated data structure names...Quincey Koziol2000-05-191-2/+2
|
* [svn-r2268] updated comments for the test for attribute creation for ↵Chee-Wai Lee2000-05-181-0/+3
| | | | threadsafe hdf-5.
* [svn-r2266] Minor change for 64-bit libsRobb Matzke2000-05-181-1/+1
|
* [svn-r2264] Added Thread-safe feature. This is the phase 1 implementationChee-Wai Lee2000-05-187-3/+1231
| | | | | | that all HDF5 API functions are protected by a mutex lock. Basically, serialized all API calls. To use it, use configure --enable-threadsafe --with-pthread
* [svn-r2262] * 2000-05-18Robb Matzke2000-05-182-2/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** src/H5Tconv.c ** src/H5Tpkg.h ** src/H5Tpublic.h The H5T_conv_struct_opt() function had a design flaw -- it didn't keep information about the stride to use to step through the temporary/background-value buffer and thus nested invocations would clobber each other's temp buffers. This was fixed by splitting the `stride' argument into `buf_stride' and `bkg_stride' arguments for all the conversion functions. THIS IS AN API CHANGE, but users will get a compiler warning when they pass their conversion function pointer to H5Tregister(). ** src/H5T.c ** src/H5Tprivate.h Added a bkg_stride argument to the H5T_convert() definition in order to fix a bug related to the optimized compound datatype conversion function. ** src/H5T.c ** src/H5A.c ** src/H5D.c ** src/H5Ofill.c ** src/H5P.c Added bkg_stride=0 argument to the H5T_convert() calls. ** test/dtypes.c Added a test for the H5T_conv_struct_opt() bug fixed above. ** src/H5FL.c The H5FL_term() function should return non-zero even when it couldn't free all the free lists do to their being used by some other package. When that other package terminates it will return non-zero, causing H5FL_term() to be called again. This fixes some of the `infinite loop closing library' messages. ** tools/pdb2hdf Uses print_version() instead of doing that itself. ** src/H5Ppublic.h Renamed H5Pget_gc_reference() declaration to make it match the definition. ** src/H5FDlog.c Added API tracing macros. Removed `const' qualifier from a `char*' member of a struct which was allocated on the heap. ** src/H5TB.c Added curly braces to a couple deeply-nested `if' statements to make them clearer and to shut up the increadibly stupid and just plain incorrect gcc warning about ambiguous `else'. ** test/titerate.c Removed incomplete initialization in favor of memset() for one auto variable to stop compiler warnings. ** tools/Depencencies Regenerated to remove references to h5dumputil.c
* [svn-r2222] Added TBBT testing code.Quincey Koziol2000-05-084-4/+152
|