summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8289] Purpose:Albert Cheng2004-03-301-11/+11
| | | | | | | | | | | | | | 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-r8050] Purpose:Quincey Koziol2004-01-101-2/+0
| | | | | | | | | | | Code cleanup Description: Remove duplicate output code accidentally left in after testing changes. Platforms tested: FreeBSD 4.9 (sleipnir) Too minor to require h5committest
* [svn-r8048] Purpose:Quincey Koziol2004-01-103-259/+35
| | | | | | | | | | | | | 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-r8022] Purpose:Quincey Koziol2004-01-061-4/+0
| | | | | | | | | | | | | 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-r7980] Purpose:Albert Cheng2003-12-261-24/+16
| | | | | | | | | Regenerate the Dependncies files. Platforms tested: "h5committested" Misc. update:
* [svn-r7361] Description:Albert Cheng2003-08-141-3/+1
| | | | | | | | | | | | Updated the copyright notice--mostly by rearranging some text to make them consistent. Solution: Platforms tested: "h5committested"--sol is down, so, no SUn test. Misc. update:
* [svn-r7293] Purpose:Quincey Koziol2003-08-081-4/+2
| | | | | | | | | | Code cleanup Description: Remove some redundant libtool definitions, etc. Platforms tested: h5committested
* [svn-r7273] Purpose:Bill Wendling2003-07-291-334/+334
| | | | | | | | | | | | | | | | | Update/Fix Description: The Dependencies files weren't begin generated properly for C++. Solution: Modified the "dependencies" script to use "top_srcdir" only instead of "srcdir", which tended to confuse matters. Regenerated the Dependencies files. Platforms tested: Arabica (Small changes) Misc. update:
* [svn-r7269] Purpose:Bill Wendling2003-07-282-4/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | Update Description: Revamped the configuration system. The configurations for the Fortran and C++ libraries are no longer separate from the "main" configuration system. This involved removing the "configure*" and "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also merging settings in the config/ subdirectories into the main config/ subdirectory. Fortran header files had to be modified a little for Linux. It was checking if it was a Linux machine by some #defines, however with the -std=c99 switch, these defines weren't there. I added a check for some other ones which should be there whether the -std=c99 switch is used or not. Platforms tested: Verbena (Fortran & C++) Sol (Fortran & C++) Copper (Fortran & C++) Modi4 (Parallel, Fortran, & C++) Misc. update:
* [svn-r7201] Purpose:Quincey Koziol2003-07-101-6/+3
| | | | | | | | | | | | | Code cleanup Description: Finish converting the B-tree 'K' values to use unsigned integers, rather than signed ones, since negative amounts of entries in a B-tree node aren't meaningful. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7181] Purpose:Quincey Koziol2003-07-072-16/+0
| | | | | | | | | | | Version update Description: Removed 1.4 compatibility code in the library. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7013] Purpose:Albert Cheng2003-06-101-2/+4
| | | | | | | | | | | | Bug fix Description: Corrected an omission of a module needed by the testhdf5 program. Platforms tested: Only in modi4 as the change is small. Misc. update:
* [svn-r7012] Purpose:Binh-Minh Ribler2003-06-104-30/+17
| | | | | | | | | | | | Text cleanup Description: Re-worded some informative and error messages. Remove/Updated outdated comments. Platforms: Linux 2.4 (eirene) IRIX 6.5.11 (modi4)
* [svn-r6997] Binh-Minh Ribler2003-06-094-57/+116
| | | | | | | | | | | | | | | | Purpose: Code cleanup Description: Moved a utility function out so other tests can use the same function and avoid code duplication. Future utility functions can also benefit from this move. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) IRIX 6.5.11 (modi4) HPUX 11.00 (kelgia)
* [svn-r6779] Purpose: Backward compatibility changeRaymond Lu2003-04-291-1/+5
| | | | | | | | Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test. Solution: use macro H5_WANT_H5_V1_4_COMPAT Platforms tested: h5committest
* [svn-r6616] Purpose:Quincey Koziol2003-04-091-4/+17
| | | | | | | | | | | | | | Code cleanup Description: Chase H5Zfilter API changes. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ Misc. update:
* [svn-r6484] Purpose:Bill Wendling2003-03-174-0/+21
| | | | | | | | | | | Bug Fix Description: Kelgia needs the old header file format for #includes. Solution: Conditionally include the old header file format if OLD_HEADER_FILENAME is defined. Platforms tested: Kelgia
* [svn-r6236] Purpose: CopyrightBinh-Minh Ribler2003-01-075-49/+104
| | | | | | | | | Description: Added copyright notice to C++ API files, including *.h, *.cpp, and Makefile.in Platforms: Linux 6.2 (eirene)
* [svn-r6111] Purpose:Quincey Koziol2002-11-201-38/+12
| | | | | | | | | | | | | Code cleanup/new feature Description: Switched from using H5_HAVE_COMPRESSION flag in favor of H5_HAVE_FILTER_DEFLATE. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir)
* [svn-r5807] Purpose:Bill Wendling2002-07-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 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-r4849] Bill Wendling2002-01-221-5/+0
| | | | | | | | | | | Purpose: Fix fix Description: Moved Binh-Minh's fix of the lack of support for C++ in libtool by adding the DEFAULT_LIBS macro into the configure.in and config/commence.in files. Solution: Put it into the configure.in and commence.in files. Reran autoconf.
* [svn-r4846] Binh-Minh Ribler2002-01-221-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Added platform support Description: The current libtool doesn't fully support C++ yet, so until it does, the default libraries have to be manually specify. Some minor cleanups needed. Solution: Added DEFAULT_LIBS=@DEFAULT_LIBS@ to use new macro for default library Added $(DEFAULT_LIBS) to link lines Removed inappropriate comments, and this extra set, it occurs twice: ## These are our main targets. They should be listed in the order to be ## executed, generally most specific tests to least specific tests. RUNTEST=$(LT_RUN) although I'm not sure if it even should be there, so I should leave it for Bill. Platforms tested: IRIX64 (modi4) I'll check out again to make sure I haven't broken anything else.
* [svn-r4670] Purpose:Quincey Koziol2001-12-051-0/+12
| | | | | | | | | | | | | | | | Backward Compatibility Fix Description: One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing to allow v1.4.x users to continue to use their source code without modification. These changes are for everything except the FORTRAN wrappers - I spoke with Elena and she will make the FORTRAN wrapper changes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4604] Binh-Minh Ribler2001-11-131-40/+20
| | | | | | | | | | | | | | | Purpose: Fixing found bug Description: A data file cannot be removed because the corresponding H5File object is still in existence, which means the data file is still opened. Solution: Moved h5_cleanup to outside of the try block so that the H5File object will go out of scope and be destroyed before h5_cleanup attempts to remove the corresponding data file. Platforms tested: SunOS 5.7 (arabica) Windows 98
* [svn-r4594] Binh-Minh Ribler2001-11-081-13/+6
| | | | | | | | | | Purpose: Minor code cleanup Description: Removed unused variables, that were complained by Windows. Platforms tested: SunOS 5.7 (arabica) Windows 98
* [svn-r4553] Purpose:Quincey Koziol2001-10-171-3/+6
| | | | | | | | Bug fix. Description: Fix int/unsigned problem in C++ wrapper API Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4355] Purpose:Quincey Koziol2001-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4298] Bill Wendling2001-08-011-0/+3
| | | | | Purpose: Regenerated Dependencies Files
* [svn-r3866] Purpose:Bill Wendling2001-04-271-1/+1
| | | | | | | | | | Bug Fix Description: "make distclean" was removing the .h5 file. Solution: Stopped it from doing that. Platforms tested: Linux
* [svn-r3708] Purpose: Code cleanup and adding more testBinh-Minh Ribler2001-03-252-105/+158
| | | | | | | | | | | | | | | | | | | | Description: dsets.cpp: - Added routine's headers to be consistent with the C tests - Added the following tests (they are not in the C version test because they are C++ specific): + Test copying a user-defined type using DataType::copy + Test copying a user-defined type using DataType::operator= + Test copying a user-defined int type using DataType::operator= + Test copying an integer predefined type using a constructor + Test copying an integer predefined type using DataType::operator= th5s.cpp: - Added routine's headers to be consistent with the C tests - Cleanup old couts and statements used during debugging Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3646] Purpose:Bill Wendling2001-03-151-1/+3
| | | | | | | | | | | Bug Fix Description: Some of the modules weren't being compiled cause they weren't added to the TEST_OBJ macro. Solution: Added them to the TEST_OBJ macro a la the C tests. Platforms tested: Linux
* [svn-r3639] Binh-Minh Ribler2001-03-151-0/+0
| | | | | | | | | | | Purpose: Adding data file for testing Description: The dataspace test, th5s.cpp, needs this data file. Solution: Added the file, using the copy of hdf5/test/th5s.h5 Platforms: arabica (sparc-sun-solaris 2.7)
* [svn-r3627] Binh-Minh Ribler2001-03-141-2/+2
| | | | | | | | | Purpose: Adding C++ API test Description: Added th5s to Makefile.in Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3625] Binh-Minh Ribler2001-03-143-73/+74
| | | | | | | | | Purpose: Format and typos mostly Description: Changed the "Copyright" header of some files so they will be consistent. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3624] Binh-Minh Ribler2001-03-141-0/+534
| | | | | | | Purpose: Adding dataspace test to the C++ API Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3582] Binh-Minh Ribler2001-03-093-28/+21
| | | | | | | | | | | | | Purpose: Test code improvement Description: - Added H5_HAVE_ZLIB_H and H5_HAVE_LIBZ to dsets.cpp - Added the use of new API Exception::getCFuncName to obtain the name of the function where failure occurs, to various places in the test code. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3577] Purpose:Bill Wendling2001-03-081-2/+2
| | | | | | | | | | | | | Bug Fix Description: Fixed the compile lines for the C++ tests. Solution: Added the actual objects to be compiled into the testhdf5 program and removed the tfile from the TEST_PROGS line since it would try to create a program from the tfile module, but it didn't have a "main" function. Platforms tested: Linux
* [svn-r3551] Binh-Minh Ribler2001-03-061-1/+2
| | | | | | | | | | | | | | Purpose: Bug fix Description: Compiled error about "RcsId initialized twice" Solution: This problem has been taken care of in the C++ API already. However, because dsets.cpp includes the C++ header file H5Cpp.h after the C test header files, h5test.h and testhdf5.h, the fix was missed. Moved H5Cpp.h to before those C header files. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3549] Purpose:Bill Wendling2001-03-054-140/+147
| | | | | | | | | | | | | | | | | | | Adding Test Description: - Add the tests to the Makefile so that they'll be executed. - Fixed a few bugs in dsets.cpp * Some buffers should have been char *'s instead of void *'s. * An iterator for a loop wasn't declared properly. - Formatting changes Solution: - Changed the void *'s to char *'s. - Declared the loop iterator. NOTE: Doesn't work just yet. There's a conflict with a C++ keyword (delete) in the H5Pprivate.h header file. Quincey's looking into this. Platforms tested: Linux
* [svn-r3532] Purpose:Binh-Minh Ribler2001-03-013-0/+1692
| | | | | | | | | | | | | | Adding tests to the C++ API Description: The C++ API has no formal testing yet. Solution: Added tests for file and dataset interfaces. I'm still working on other tests. Platforms tested: Linux (gcc version egcs-2.91.66) I temporarily modified the Makefile on my local Linux machine and these tests work. I need Bill to help adding them permanently before I can test on an NCSA machine. I checked the files in now so Bill can do that.
* [svn-r3096] Purpose:Bill Wendling2000-12-071-1/+1
| | | | | | | oops Description: I somehow checked in some test Makefile.in that I was working on. Sorry.
* [svn-r3090] Purpose:Bill Wendling2000-12-071-2/+2
| | | | | | | | | | | Fix Description: Windows couldn't handle the .C extension. The filenames had to be changed to *.cpp instead. Solution: Changed in the Makefiles to accomodate said change. Platforms tested: Eyeballed.
* [svn-r3074] Purpose:Bill Wendling2000-12-041-1/+8
| | | | | | | | | | | Improvement Description: Made the Makefiles better. Solution: Added standard macros concerning where things are place. Like libraries and so forth. Platforms tested: Linux
* [svn-r3049] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | YABF Description: Needed to add the source directory for the built HDF5 library. Solution: Added -I../../src to the compile flags. Platforms tested: Linux
* [svn-r3048] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | Refix Description: The C++ stuff also needs the main HDF5 headers. Solution: Added the flag to do just that. Platforms tested: Linux
* [svn-r3047] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | | | Bug fix Description: When building in a different directory, we weren't picking up the header files correctly. The -I flag wasn't pointing to the correct place. Solution: Changed the -I flag to point to the C++ source directory. Platforms tested: Linux
* [svn-r2932] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | Changed to handle tracing in C++ files. Description: Pointed to the correct ``trace'' program (the one in hdf5/bin/) Platforms tested: Linux
* [svn-r2926] Purpose:Bill Wendling2000-11-151-0/+0
| | | | Needed Dependencies file
* [svn-r2914] Purpose:Bill Wendling2000-11-151-1/+2
| | | | | | | | | | | | | Bug fix Description: libtool complained that the library name didn't have a ``lib'' prefix. Also, the $(top_srcdir) macro points to the top of the c++/ directory, which was messing up the -I$(top_srcdir)/src stuff. It needed to be changed to the correct value. Solution: Made it so Platforms tested: Linux
* [svn-r2901] Purpose:Bill Wendling2000-11-141-0/+31
Adding Makefile