summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9812] Purpose: Bug fixElena Pourmal2005-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Confiure generated libhdf5.settings files in fortran/src and c++/src directories. File in the fortran/src directory was not installed; file in the c++/src directory was intalled As a result, libhdf5.settings from the src directory with the C settings and configuration summary was blown away. Also some temporary files were not cleaned in c++ directories. Solution: Modifed configure.in files to create fortran/src/libhdf5_fortran.settings and c++/src/libhdf5_cpp.settings files Ran autoconf on eirene to generate new configure files. Modified Makefile.in files to install *setting files. Note: I don't like the solution since *setting files are messy and libhdf5_cpp.settings lacks some information (there is no corresponding *.in file in the c++/src directory). Since we are moving to 1.8 anyway, I don't want to spend too much time on it, but we definitely should look carefully at those files and check that they are ok in 1.8. Platforms tested: eirene, cobalt, arabica Misc. update:
* [svn-r9776] Purpose: Clean up testsBinh-Minh Ribler2005-01-071-25/+35
| | | | | | | | | Description: Corrected a misuse of a variable causing access violation. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9729] Purpose:Quincey Koziol2004-12-295-55/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9695] Purpose: Clean up testsBinh-Minh Ribler2004-12-204-127/+154
| | | | | | | | | | | | | Description: Replaced macro VERIFY with template function verify_val to verify read data/info. Cleanup various places in the tests to make them more consistent. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r9116] 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-r9084] 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: Linux 2.4 (eirene)
* [svn-r9057] Purpose: Clean up test codeBinh-Minh Ribler2004-08-102-6/+6
| | | | | | | | | | Description: Corrected the way to initialize several const char*, because I accidentally used std::string's initialization for them. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9043] Purpose: Clean up testsBinh-Minh Ribler2004-08-065-74/+74
| | | | | | | | | | | | Description: Replaced cout's with cerr's. Cleanup various places in the tests to make them more consistent. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8894] Purpose: Fixing platform specific problemBinh-Minh Ribler2004-07-172-19/+5
| | | | | | | | | | | | | Description: Some platforms don't support std, and I missed handling that situation in my last change for these files. Solution: Added 'using' statement where appropriate. Platforms tested: HPUX 11.00 (kelgia) Linux 2.4 (eirene)
* [svn-r8873] Purpose: Adding test for new wrappersBinh-Minh Ribler2004-07-143-33/+174
| | | | | | | | | | | | | | Description: Added test_file_name for new wrappers H5File::getFileName H5Object::getFileName Also, replaced macro VERIFY with template function verify_val to verify read data/info and did some minor cleanup. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows XP
* [svn-r8843] 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: SunOS 5.7 (arabica) Linux 2.4 (eirene) C tests are having problems, but I did run the C++ tests. Misc. update:
* [svn-r8819] Purpose: Potential bug fixRaymond Lu2004-07-071-2/+3
| | | | | | | | Description: In H5Fget_filesize, file size was returned as haddr_t. Solution: Return file size as hsize_t and parameter for Fortran. Platforms tested: eirene
* [svn-r8783] 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-r8743] *** empty log message ***Raymond Lu2004-06-251-0/+59
|
* [svn-r8290] Purpose:Albert Cheng2004-03-311-12/+12
| | | | | | | | | | | | | 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".
* [svn-r8049] Purpose:Quincey Koziol2004-01-103-262/+36
| | | | | | | | | | | | | 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-r8024] 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-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