summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r5730] Purpose:Bill Wendling2002-07-011-1/+2
| | | | | | | | | | | Feature Add Description: Install the h5perf program (previously called pio_perf). This required the libh5test library to be compiled statically. I copied how things were compiled statically for the h5tools library into the test/Makefile.in. Platforms tested: Linux
* [svn-r5675] Purpose:Quincey Koziol2002-06-194-13/+13
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5672] Elena Pourmal2002-06-191-8/+8
| | | | | | | | | | | Purpose: Code clean up Description: On OSF1 systems compiler complained about NGROUPS variable redefinition. Solution: Rename NGROUPS to H5_NGROUPS Platforms tested: OSF1 V5.1 at PSC
* [svn-r5668] Purpose:Quincey Koziol2002-06-195-17/+18
| | | | | | | | | | Code cleanup Description: Turn on more warnings in the IRIX builds and clean them up. Platforms tested: IRIX64 6.5 (modi4) w/parallel, both -n32 and the default (-64?) mode
* [svn-r5604] Purpose:Quincey Koziol2002-06-121-1/+1
| | | | | | | | | | Code cleanup Description: Clean up some compiler warnings before the code freeze... Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5602] Purpose:Quincey Koziol2002-06-121-5/+6
| | | | | | | | | | | | | | | | Bug fix Description: I/O on "Regular" hyperslab selections could fail to transfer correctly if the number of elements in the selection's row did now fit "evenly" into the buffer being used for the transfer. Solution: Correct the calculation of the block & count offsets within the optimized "regular" hyperslab routines. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5598] Purpose:Quincey Koziol2002-06-111-1/+9
| | | | | | | | | | | | | | Code cleanup Description: The test for inserting a compound datatype into itself (which should fail) is issuing warnings about this failure. Solution: Turn the warnings off during this test. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5594] Elena Pourmal2002-06-111-0/+84
| | | | | | | | | | | Purpose: Bug fix #774 Description: Added a test for the H5Tenum_nameof and H5Tenum_valueof functions. Values that do not exists in the enumeration type are supplied to the functions; functions should fail instead of succeeding. Platforms tested: Solaris 2.7 and Linux 2.2.18
* [svn-r5585] Purpose:Quincey Koziol2002-06-112-1/+111
| | | | | | | | | | | | | | | | Bug Fix Description: H5Dcreate and H5Tcommit allow "empty" compound and enumerated types (i.e. ones with no members) to be stored in the file, but this causes an assertion failure and is somewhat vapid. Solution: Check the datatype "makes sense" before using it for H5Dcreate and H5Tcommit. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5579] Purpose:Bill Wendling2002-06-1058-318/+796
| | | | | | | | | | | | | | Copyright Fix Description: Switched the copyright statements from the old, bad version to the new version we got from the lawyers. Note: not every file was changed. There are some files which have copyrights not to NCSA (see the Stream VFD and some of the GIF conversion modules didn't have copyrights, so I didn't know if they were from others or from us). I left those alone. If others think they should be changed, please feel free to do so. Platforms tested: Linux
* [svn-r5569] Purpose:Quincey Koziol2002-06-101-0/+3
| | | | | | | | | | | | | | Bug fix (bug #777) Description: Current code allows a compound datatype to be inserted into itself. Solution: Check if the ID for the member is the same as the ID for the compound datatype and reject it if so. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5559] Purpose:Quincey Koziol2002-06-101-0/+279
| | | | | | | | | | | | | | Bug Fix for bug #789 Description: Creating a 1-D dataset region reference caused the library to hang (go into an infinite loop). Solution: Corrected algorithm for serializing hyperslab regions. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5523] Elena Pourmal2002-06-042-1/+6
| | | | | | | | | | | | | Purpose: Bug fix (#699), fix provided by a user, approved by Quincey Description: When a scalar dataspace was written to the file and then subsequently queried with the H5Sget_simple_extent_type function, type was reported H5S_SIMPLE instead H5S_SCALAR. Solution: Applied a fix and modified our test programs to exercise the case. Platforms tested: Solaris 2.7 and Linux 2.2.18
* [svn-r5505] Description:Albert Cheng2002-06-021-23/+74
| | | | | | | | | | Folded in the feature Bill added to v1.5. We can now set the MPI_Info object to more than one key/value pairing. By setting the HDF5_MPI_INFO environment variable to a semicolon separated list of "key=value" pairs, we can set the MPI_Info variable to them. Platforms tested: modi4, eirene, burrwhite, all PP.
* [svn-r5499] Purpose:Quincey Koziol2002-06-012-6/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test Bug Fix Description: Under certain [obscure] circumstances, an object header would get paged out of the metadata cache, and when it was accessed again and brought back into the cache, and immediately had additional metadata added to it (an attribute, usually, or perhaps adding an object to a group), and needed to be extended with a continuation message, but there was no room in any existing object header chunks for the continuation message and an existing object header message needed to be moved to the new object header chunk (I told you it was obscure :-), the object header message moved to the new chunk (not the new metadata being added) would get corrupted. *whew* :-) Solution: Actually copy the "raw" object header message information of the object header message being moved to the new chunk, instead of relying on the "native" object header message information being re-encoded when the object header is flushed. This is because when an object header is paged out of the metadata cache and subsequently brought back in, the "native" information pointer in memory is reset to NULL and only the "raw" information exists. [Actually, this additional testing doesn't trigger the bug, which needs _lots_ of objects to be created and accessed, but it does execise the object header continuation code more than other tests in the library.] Platforms tested: Solaris 2.7 (arabica) & FreeBSD 4.5 (sleipnir)
* [svn-r5480] Description:Albert Cheng2002-05-292-5/+5
| | | | | | | Renamed pio_info_g as h5_io_info_g to better reflect its general purpose. Platforms tested: eirene(pp)
* [svn-r5449] Purpose:Albert Cheng2002-05-211-7/+3
| | | | | | | | | | Code Cleanup Description: Compilers moaned about those unused mpi_err variables. Solution: Removed them for now. Will make it cleaner later. Platforms tested: modi4(pp), eirene.
* [svn-r5445] Purpose:Albert Cheng2002-05-212-1/+93
| | | | | | | | | Feature Description: moved the routines of setting up and dumping MPI-info object to test library so that it is avaiable for all tests too. Platforms tested: modi4(pp), eirene (serial)
* [svn-r5352] MuQun Yang2002-05-034-11/+10
| | | | | | | | | Purpose: clean up warnings on windows Description: Solution: Platforms tested: linux 2.2.18, windows 2000
* [svn-r5327] MuQun Yang2002-05-0213-36/+36
| | | | | | | | | Purpose: code clean-up,for erasing windows warnings Description: Solution: Platforms tested: linux 2.2.18
* [svn-r5314] Purpose:Quincey Koziol2002-05-011-1/+1
| | | | | | | | | | Code cleanup Description: Cleanup some warnings from gcc 3.1 Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5297] MuQun Yang2002-04-301-1/+33
| | | | | | | | | Purpose: Add WSAstartup and WSAend to make gethostname work on windows. Description: Solution: Platforms tested: windows 2000
* [svn-r5288] Purpose:Quincey Koziol2002-04-301-1/+372
| | | | | | | | | | More Testing Description: Add regression tests for H5Diterate. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5274] Purpose:Albert Cheng2002-04-264-100/+100
| | | | | | | | | | | | | | | | | | | | | | | Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC Description: configure generates many macros definitions on the fly and were stored in src/H5config.h which is included by H5public.h. But other software that uses hdf5 may also run their own configure. There can be a clash in macro name space. We decided awhile ago to prepend all generated macros with "H5_" to avoid conflicts. The process has started and this commit completes it (at least attempt to). Solution: Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to H5_SIZEOF_xxx and H5_HAVE_xxx). Then H5private.h no longer includes H5config.h. This cuts H5config.h away from HDF5 source code. Pending issues: The macro definitions (more like redefinitions) of potential keywords: const, off_t, size_t, and inline are not totally solved yet. The module of fortran and pablo are to be resolved in a different commit. Platforms tested: eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
* [svn-r5251] Purpose:Albert Cheng2002-04-251-2/+0
| | | | | | | | | | | | | | | | | | | | Bug fix Description: $(LT_RUN) was used to execute ./H5detect in src/Makefile.in. $RUNTEST was set to $(LT_RUN) which was used to execute sequential executable. $(LT_RUN) is "../libtool --mode=execute". But libtool invokes some commands that are not supported in the Tflops machine. That caused failures during the build and check processes. Solution: Upon investigation, there does not seem to be need to use $(LT_RUN) any more. The "libtool --mode=link" now generates a "fake" executable that is actually a command-script file that can regenerate the real executable with dynamic libraries hooks setup properly. Undo all those $LT_RUN substitute and let $RUNSERIAL execute those sequential executables. Platforms tested: Eirene(serial), burrwhite(parallel), arabica(with and w/out zlib), Tflops.
* [svn-r5217] Purpose:Albert Cheng2002-04-222-3/+47
| | | | | | | | | | New feature Description: Added h5_show_hostname to display the hostname of the host in which the process runs. It can help identify location of process in multiple processes or batch launching environments. Platforms tested: Eirene (pp)
* [svn-r5206] Purpose:Albert Cheng2002-04-191-31/+47
| | | | | | | | | | Feature Description: Added option -c to allow skipping file system Checking. This allows users to run the test even if the program thinks it may fill up the file system. Platforms tested: eirene
* [svn-r5204] Purpose:Albert Cheng2002-04-192-2/+4
| | | | | | | | | | | | | | Code cleanup Description: Platform dependent code related to the struct stat and fstat calls polluted source codes. Hard to maintain. Solution: Platform dependent code are moved to H5private.h and then internal code can #include H5private.h. Repeat those macro definition for the stdio and multi drivers since they area examples for writing a virtual file driver. They must not use any internal code. Platforms tested: eirene (parallel), modi4 (serial including gass driver.)
* [svn-r5190] Purpose:Quincey Koziol2002-04-173-4/+397
| | | | | | | | | | | | | | | | | | | Bug fix Description: When several level deep nested compound & VL datatypes are used, the data in the nested compound datatypes is incorrectly sharing the same "background buffer", causing data corruption when the data is written to the file. Solution: Allocate a separate background buffer for each level of the nested types to convert. (Also allocate temporary background buffers for array datatypes, where this sort of problem could occur also) Added more regression tests to check for these errors. Platforms tested: FreeBSD 4.5 (sleipnir) & Solaris 2.6 (baldric)
* [svn-r5185] Purpose:Albert Cheng2002-04-151-41/+0
| | | | | | | | | Bug fix Description: The H5_MALLOC_WORKS macro is not used in v1.4. Removed the test added. Platforms tested: eirene
* [svn-r5183] Purpose:Albert Cheng2002-04-141-1/+42
| | | | | | | | Feature Description: Added test to verify H5_MALLOC_WORKS (malloc zero byte) macro Platforms tested: Eirene
* [svn-r5181] Raymond Lu2002-04-121-1/+11
| | | | | | | | | | | Purpose: Bug fix Description: fillval.c doesn't know how to find fill_new.h5 in source directory. Solution: Prepend source directory to file name in fillval.c Platforms tested: Linux 2.2
* [svn-r5173] Raymond Lu2002-04-114-6/+182
| | | | | | | | | | Purpose: Compatibility with v1.5 Description: Modified a little to match V1.5's fill value changes. These files are forward compatibility testing. Platforms tested: Linux 2.2
* [svn-r5144] Raymond Lu2002-04-051-0/+214
| | | | | | | | | | Purpose: New Function Description: H5Tget_member_index was added to compound and enumeration data type to query member's index by its name. Platforms tested: SunOS 5.8
* [svn-r5129] Purpose:Quincey Koziol2002-04-021-2/+126
| | | | | | | | | | | | Bug Fix Description: The selection offset was being ignored for certain optimized hyperslab selection I/O operations. Solution: Include the selection offset in the calculation of the location of the hyperslab to operate on. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5125] Purpose:Albert Cheng2002-04-011-8/+74
| | | | | | | | | | | feature Description: Added -fsize <fsize> option which controls the family file size used. This can be used to test the file size limits of a machine or file system. Platforms tested: modi4 (serial and parallel). Did not test on other platforms because the same code has been tested on the 1.5 branches.
* [svn-r5119] Raymond Lu2002-03-291-0/+70
| | | | | | | | | | | | Purpose: Bug fix(#697). Description: Variable-length string is not treated as string. Solution: Added character set and padding as VL string's attributes. They can be set and retrieved. Platforms tested: Solaris 8, IRIX64 6.5 parallel, and FreeBSD.
* [svn-r5107] ./hdf5-1.4/test/stab.cRobb Matzke2002-03-281-34/+83
| | | | | | | | | | | | Fixed bug found by SAF team 2002-03-28 10:45:35 Robb Matzke <matzke@arborea.spizella.com> * test_long: Added a test for objects that have very long names; names in excess of 80,000 characters. 2002-03-28 10:45:11 Robb Matzke <matzke@arborea.spizella.com> * test_large: The hdf5 file is not recreated for each subtest, but rather all subtests share the same file.
* [svn-r5095] Purpose:Quincey Koziol2002-03-272-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: Regression test for following bug: The H5Gget_objinfo() function was not setting the 'fileno' field in the H5G_stat_t struct passed in. Solution: Added a "file serial number" to each file currently open in the library and put that in the 'fileno' field. If a file is opened twice (with H5Fopen) and the VFL driver detects that it is the same file (i.e. the two file structures have the same "shared file info" in the library's memory structures), they will have the same serial number. This serial number has two drawbacks: - If a VFL driver doesn't/can't detect that two calls to H5Fopen with the same file actually _are_ the same file, each will get a different serial number - If the same file is closed and re-opened, the serial number will be different. It is be possible to fix the second drawback for many VFL drivers, but it would be a lot of effort and probably isn't worth it until we've got a good reason to do it. Dunno if we'll ever be able to fix the first drawback... Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5081] Purpose:Quincey Koziol2002-03-261-8/+148
| | | | | | | | | | | | | | | | | | Bug Fix Description: Regression test for following bug: When reading a contiguous hyperslab that spanned the entire dataset and was larger that the type conversion buffer, the hyperslab routines need to fill the type conversion buffer and then return to the I/O routines. When the I/O routines resume the hyperslab operation, it was possible to have a combination of coordinates which caused the hyperslab iterator to incorrectly advance in the file, causing some data to be re-read or re-written. Platforms tested: Linux (eirene)
* [svn-r4971] Purpose:Albert Cheng2002-02-151-38/+38
| | | | | | updated the Dependencies files. Platforms tested: modi4 which uses them
* [svn-r4966] Description:Albert Cheng2002-02-141-0/+38
| | | | | | | updated the Dependencies files via "gmake depend". Some how this must be done with --srcdir configure option. That is odd. Platforms tested: visual inspected "cvs diff" output.
* [svn-r4962] Purpose:Quincey Koziol2002-02-142-2/+81
| | | | | | | | | | | | | New regression test added Description: If a non-zero fill-value is used for a chunked dataset, any non-existent chunked read with an "all" selection (or a contiguous hyperslab selection) will return zero for those instead of the user's fill-value. Solution: Fixed I/O code to pass down fill-value to "optimized" I/O routines, so it will be available to fill the user's buffer with. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4871] Purpose:Quincey Koziol2002-01-272-7/+181
| | | | | | | | Add regression tests Description: Added regression test for using a VL-datatype in two separate files. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4853] Purpose:Quincey Koziol2002-01-233-4/+7
| | | | | | | | | | | | | | | | | | Bug Fix Description: When file space was returned to the file space free-list for reuse, occasionally raw data allocations which used space from the free-list would overlap with the metadata accumulator and get over-written with the cached information in the accumulator, corrupting the data. Solution: Check if the space about to be recycled on the free-list is going to be used for raw data and also overlaps with the metadata accumulator cache, avoiding using space that fits those criteria. This fixes bug #701 Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4852] This commit was manufactured by cvs2svn to create branch 'hdf5_1_4'.cvs2svn2002-01-231-0/+150
|
* [svn-r4808] Binh-Minh Ribler2002-01-091-1/+2
| | | | | | | | | | | | | | | Purpose: Cleanup warning Description: The use of mkdir in h5test.c caused this warning on windows: ...h5test.c(396) : warning C4013: 'mkdir' undefined; assuming extern returning int Solution: Replaced mkdir to HDmkdir, that Kent just added. This change requires the header file <direct.h> to be added to h5test.c Platforms tested: SunOS 5.7 (arabica) Linux 6.2 (eirene) Windows 2000
* [svn-r4775] Purpose:Quincey Koziol2002-01-041-3/+127
| | | | | | | | | | Regression test Description: Added regression test which stores variable length strings as an attribute. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r4761] Purpose:Albert Cheng2001-12-314-488/+42
| | | | | | | | | | | | | | | | | | | | | Removing the DPSS (gridstorage) driver source code. (same as the v1.5) Description: The DPSS (using Grid-Storage) driver is retired. Removed the configure option with-gridstorage from configure.in. Cvs remove the following files ./src/H5FDdpss.c ./src/H5FDdpss.h ./test/dpss_read.c ./test/dpss_write.c Regenerated Dependencies files (some had to be hand-edited since 'make depend' did not cover them.) Removed reference to DPSS Virtual file driver from H5F.c. Platforms tested: modi4 (Parallel; -with-gass=...) eirene (pthread safe) arabica (fortran, cxx).
* [svn-r4740] Purpose:Quincey Koziol2001-12-181-0/+106
| | | | | | | | | Bug Fix Description: Added regression test for proper library behavior when adding fields past the end of a datatype. Platforms Tested: FreeBSD 4.4 (sleipnir)