summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r5929] Pedro Vicente Nunes2002-09-181-3/+48
| | | | | | | | | | | | | | Purpose: bug fix Description: memory leak regarding the ID to name buffer Solution: added a new function H5G_free_ent_name that is called on several places of the library Platforms tested: windows 2000 linux, with cpp solaris, with fortran, cpp irix64, with parallel, fortran
* [svn-r5926] Purpose:Quincey Koziol2002-09-133-45/+45
| | | | | | | | | | | | | API name change Description: Change all "space time" references to "alloc time", including API functions and macro definitions, etc. Platforms tested: FreeBSD 4.6 (sleipnir) w/C++ Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/parallel & FORTRAN
* [svn-r5904] Pedro Vicente Nunes2002-08-282-4/+1579
| | | | | | | | | | | | | | | | | | | Purpose: Added 'ID to name' support Description: There is a new API function H5Iget_name Most of the changes are on H5G.c , regarding the symbol table entry struct H5G_entry_t which has 2 new fields 'name' and 'old_name' A new private function was introduced H5G_ent_copy, that does a deep copy between 2 symbol table entries The test file is getname.c Platforms tested: windows 2000, Linux, Solaris
* [svn-r5895] Purpose:Quincey Koziol2002-08-277-27/+170
| | | | | | | | | | | | Code cleanup/More tests Description: Cleaned up some compiler warnings and wrote additional tests for space allocation and storage size routines. Platforms tested: FreeBSD 4.6 (sleipnir) w/serial & parallel. Will be testing on IRIX64 6.5 (modi4) in serial & parallel shortly.
* [svn-r5893] Raymond Lu2002-08-261-0/+9
| | | | | | | | | | Purpose: bug fix Description: The H5Dget_storage_size test doesn't handle the situation when no compression is configured. Platforms tested: IRIX 6.5
* [svn-r5887] Purpose:Quincey Koziol2002-08-231-3/+10
| | | | | | | | | | | Regression test for bug fix Description: Adjust selection so chunked data needs to be read from pre-allocated chunks w/filters, to verify that filter is applied correctly. Platforms tested: FreeBSD 4.6 (sleipnir) w/parallel
* [svn-r5879] Raymond Lu2002-08-203-195/+398
| | | | | | | | | Purpose: Design for compact dataset Description: Compact dataset is stored in the header message for dataset layout. Platforms tested: arabica, eirene.
* [svn-r5875] Purpose:Quincey Koziol2002-08-142-2/+322
| | | | | | | | | | | | | | Additional regression tests & bug fixes Description: There was no testing for the H5Dget_storage_size function and it seemed to be having problems with compressed, chunked datasets, so write some tests to verify that its working correctly. Also, fix case for allocating storage early for chunked datasets Platforms tested: FreeBSD 4.6 (sleipnir) serial & parallel
* [svn-r5868] Purpose:Quincey Koziol2002-08-091-8/+8
| | | | | | | | | | Code cleanup Description: Cleanup up a few compiler warnings... Platforms tested: IRIX64 6.5 (modi4) w/parallel
* [svn-r5866] Purpose:Quincey Koziol2002-08-091-1/+1
| | | | | | | | | | Code cleanup Description: Cleaned up a few warnings from compiling with --disable-hsizet on Linux Platforms tested: Linux 2.2.x (eirene)
* [svn-r5843] Purpose:Quincey Koziol2002-08-084-10/+10
| | | | | | | | | | | Code cleanup Description: Clean up a few warnings which were showing up with --enable-production turned on. Platforms tested: FreeBSD 4.6 (sleipnir) serial & parallel
* [svn-r5833] Purpose:Quincey Koziol2002-07-241-1/+1
| | | | | | | | | | Code cleanup Description: Add a bit more debugging information to one failure mode. Platforms tested: FreeBSD 4.6 (sleipnir)
* [svn-r5812] Raymond Lu2002-07-171-6/+190
| | | | | | | | | Purpose: Bug fix. Description: This should fix the nested VL datatype bug. Platforms tested: modi4, eirene, impact
* [svn-r5807] Purpose:Bill Wendling2002-07-171-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Update, Bug Fix, and Feature Add Description: - Updated how AC_{ENABLE,WITH} help messages were being generated. Autoconf now gives you an AC_HELP_STRING macro to use to create them. - Fixed the problem with Linux LFS on RedHat 7.3 machines. It wasn't finding getdents64(), so we can't rely on that being present anymore... - Added GPFS detection and setting. - Updated how compression is specified. It's no longer necessary to test for HAVE_ZLIB_H, HAVE_LIBZ, and HAVE_COMPRESS2. The one macro {H5_}HAVE_COMPRESSION takes care of all of these. Solution: Changed the check for Linux LFS from looking for getdents() to looking at the version number of the kernel (using the uname -r command). You can still override with the --enable-linux-lfs switch if you really believe that your <2.4 kernel has LFS support. Platforms tested: Linux (2.2 and 2.4)
* [svn-r5805] Raymond Lu2002-07-151-3/+3
| | | | | | | Purpose: temporary solution to avoid failture. Description: let VL sequence remain the same.
* [svn-r5780] Raymond Lu2002-07-111-14/+15
| | | | | | | | | Purpose: Improving testing Description: changed the number of elements in nested VL datatype test. Platforms tested: IRIX64 6.5(modi4) 64-bit
* [svn-r5765] Raymond Lu2002-07-031-2/+749
| | | | | | | | | Purpose: New Test VL memory leak. Description: Test to see if VL type memory leaks when data is overwritten. Platforms tested: Linux 2.2(eirene), IRIX 6.5(paz).
* [svn-r5736] Raymond Lu2002-07-011-1/+1
| | | | | | | | | | | | Purpose: Bug fix. Description: This test fails on TRUE64 system because a compound variable(fill_ctype in test_rdwr) wasn't initialized. Solution: Initialize to zero. Platforms tested: Pittsburg's True64(lemieux) system.
* [svn-r5674] Purpose:Quincey Koziol2002-06-191-2/+2
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5667] Purpose:Quincey Koziol2002-06-191-1/+0
| | | | | | | | | | Code cleanup Description: Turn on more warnings in the IRIX builds and clean them up. Platforms tested: IRIX64 6.5 (modi4) w/parallel
* [svn-r5605] Purpose:Quincey Koziol2002-06-122-3/+2
| | | | | | | | | | Code cleanup Description: Clean up some compiler warnings... Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5603] 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-r5597] 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-r5596] Elena Pourmal2002-06-111-0/+84
| | | | | | | | | | | Purpose: Bug #774 fix 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-r5586] Purpose:Quincey Koziol2002-06-112-2/+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-r5567] 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-r5560] 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-r5525] Elena Pourmal2002-06-041-0/+5
| | | | | | | | | | | | | | 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 of H5S_SCALAR. Solution: Applied a fix (see bug report 699) and modified out test program to exercise the case. Platforms tested: Solaris 2.7 and Linux 2.2.18
* [svn-r5502] Purpose:Quincey Koziol2002-06-012-1/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r5491] Purpose:Bill Wendling2002-05-311-23/+74
| | | | | | | | | | | Feature Enhancement Description: 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: Linux
* [svn-r5481] 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-r5468] Purpose:Quincey Koziol2002-05-282-0/+2
| | | | | | | | | | Code cleanup. Description: Included H5Eprivate.h for a couple of tests which needed it... Platforms tested: IRIX64 6.5 (modi4)
* [svn-r5446] Purpose:Albert Cheng2002-05-212-1/+89
| | | | | | | | | 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-r5444] Purpose:Quincey Koziol2002-05-205-17/+19
| | | | | | | | | | Code cleanup Description: Clean up warnings on IRIX64 6.5 (modi4) Platforms tested: IRIX64 6.5 (modi4)
* [svn-r5313] Pedro Vicente Nunes2002-05-011-7/+236
| | | | | | | | | | | | | | | | Purpose: added more tests to the H5set_extent function Description: there was a bug in the H5S_select_fill call when the fill value was not defined added 2 more set of tests that call H5set_extent without the fill value being defined there are now 4 sets of tests: Test H5Dset_extent with chunks on the raw data cache, with and without fill value Test H5Dset_extent with chunks written to file (b-tree routines), with and without fill value Platforms tested: w2000 linux
* [svn-r5293] Raymond Lu2002-04-302-15/+15
| | | | | | | | | | | | Purpose: Bug Fix Description: Using "grp1", "grp2" variable names conflicts Windows' internal variable definition. Solution: Rename them. Platforms tested: Linux 2.2
* [svn-r5290] Purpose:Quincey Koziol2002-04-301-46/+148
| | | | | | | | | | | | | | Bug Fix Description: Corrected int vs. unsigned short error that only showed up on big-endian machines. Also, add more testing to verify that the coordinates reported for each element iterated through with H5Diterate are correct. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5286] Purpose:Quincey Koziol2002-04-291-31/+71
| | | | | | | | | | | | | | Bug Fix Description: Selection offsets were not being used correctly when iterating through all hyperslabs selections and point selections. Solution: Use the selection offset appropriately. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5278] Purpose:Albert Cheng2002-04-284-101/+101
| | | | | | | | | | | | | | | | | | | | | 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 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-r5273] Raymond Lu2002-04-262-3/+395
| | | | | | | | | | | | Purpose: New feature Description: Allow H5Glink and H5Gmove to handle links across different locations. Solution: Added H5Glink2 and H5Gmove2 functions with new parameter of destination location. Platforms tested: Linux 2.2(eirene)
* [svn-r5271] Purpose:Quincey Koziol2002-04-261-1/+1
| | | | | | | | | | | | | | | | Bug Fix. Description: When the fill value for a dataset is not set, the size is set to zero, causing problems with filling unused areas in previously defined chunks (i.e. when the dataset shrinks in size) Solution: Use the size of the elements in the dataset directly, instead of relying on the size of the fill value (which must be the same size). Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5260] Purpose:Quincey Koziol2002-04-251-4/+20
| | | | | | | | | | | | | | | | Code cleanup Description: Previously, the I/O pipeline (pline), external file list (efl) and fill- value (fill) structs were passed down the raw data function call chain, even into and/or through functions which didn't use them. Since all three of these pieces of information are available from the dataset creation property list, just pass the dataset creation property list down the function call chain and query for the information needed in a particular function. Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5257] 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), modi4(parallel)
* [svn-r5245] MuQun Yang2002-04-241-0/+31
| | | | | | | | | | | | | | Purpose: windows support of socket function Description: gethostname is treated as socket function in windows and it is defined at winsock.h. for every windows socket function to be called, it must start with WSAStartup and end with WSACleanup Solution: Add WSAstartup and WSACleanup with WIN32 macro. Platforms tested: windows 2000, confirmed at linux 2.2.18
* [svn-r5219] Purpose:Quincey Koziol2002-04-223-5/+7
| | | | | | | | | | Code cleanup Description: Clean up warnings from gcc 3.1 Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5218] Purpose:Albert Cheng2002-04-222-1/+46
| | | | | | | | | | 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-r5207] Purpose:Albert Cheng2002-04-191-30/+46
| | | | | | | | | | 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-r5205] Purpose:Albert Cheng2002-04-192-2/+2
| | | | | | | | | | | | | | 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-r5200] Purpose:Quincey Koziol2002-04-185-17/+25
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5191] Purpose:Quincey Koziol2002-04-173-4/+396
| | | | | | | | | | | | | | | | | | | 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)