summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9115] Purpose:Albert Cheng2004-08-191-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | feature Description: Another revamp of the test interface. TestInit: is used to register Test Program name, test program specific Usage and option parsing routines. TestUsage: will invoke extra usage routine if provided. TestParseCmdLine: will invoke extra option parsing routine if provided. GetTestSummary() and GetTestCleanup() replaces the previous Summary and CleanUp arguments of TestParseCmdLine. test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c: All have been updated to use the new Test Routines. testpar/t_mpi.c: Also a fix of a compiler optimization bug when pgcc in Linux is used to compile it. Changed buf[] and expected to unsigned char type to avoid a bug that failed to do sign-extension. Platforms tested: "h5committested" Also tested thread-safe option in eirene.
* [svn-r9083] Purpose: Fix minor problemBinh-Minh Ribler2004-08-141-1/+1
| | | | | | | | | | | | | Description: Added an argument to the call to TestParseCmdLine because its prototype has just been changed. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8850] Purpose: Fixing minor bugBinh-Minh Ribler2004-07-091-3/+1
| | | | | | | | | | | Description: Changed call to H5File::getFileSize according to C library and removed CHECK for this call because failure will be handled by exception. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (eirene)
* [svn-r8820] Purpose: Bug fixRaymond Lu2004-07-071-2/+3
| | | | | | | Description: After changing H5Fget_filesize, forgot to update C++. Platforms tested: Tested for 1.6
* [svn-r8782] Purpose:Quincey Koziol2004-07-011-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8781] James Laird2004-07-011-0/+2
| | | | | | | | | | | | | | | | Purpose: HDF5 now supports SZIP with no encoder. Description: SZIP can be configured to have both encoder and decoder or just to have the decoder. HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled. Solution: Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id. See SZIP RFC. Platforms tested: Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++) Misc. update:
* [svn-r8765] Purpose: New feature and its test.Raymond Lu2004-06-301-0/+3
| | | | | | | | | | | Description: Added new API H5Fget_name and new test program called filename.c. This function returns the name of the file by object ID(file, group, dataset, named datatype, and attribute) which belongs to the file. Platforms tested: h5committest and fuss. Misc. update: MANIFEST and RELEASE.txt
* [svn-r8740] See checkin message for H5File.cpp and H5File.hRaymond Lu2004-06-241-0/+59
|
* [svn-r8602] Purpose:Quincey Koziol2004-06-011-336/+333
| | | | | | | | | | | Code update Description: Update C++ wrappers to use new ID reference counting mechanisms. Platforms tested: FreeBSD 4.9 (sleipnir) w/C++ Too focused to require h5committest
* [svn-r8539] Purpose: Test Null dataspace for C++Raymond Lu2004-05-181-1/+55
| | | | Platforms tested: verbena(only c++ is concerned)
* [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.