summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r15413] Purpose: Fix bugBinh-Minh Ribler2008-07-271-7/+11
| | | | | | | | | | | | | Description: Enclosed some code that test reference counts in brackets so that temporary objects will go out of scope before checking references. This is to work around the issue where some C++ compilers destroy temporary objects at different time than others. Platforms tested: SunOS 5.10 (linew) Linux 2.6 (kagiso) FreeBSD (duty)
* [svn-r15409] Purpose: Clean up C++ testsBinh-Minh Ribler2008-07-2612-542/+605
| | | | | | | | | | Description: Cleaned up test formats, comments, messages, etc... for consistency. Platforms tested: Linux 2.6 (kagiso) SunOS 5.10 (linew) FreeBSD (duty)
* [svn-r14329] Run make depend to regenerate all these Dependencies files afterAlbert Cheng2007-12-071-12/+11
| | | | removing the stream-vfd.
* [svn-r13953] Purpose: Fix testBinh-Minh Ribler2007-07-081-1/+8
| | | | | | | | | | | | | | | | | Description: Compilers don't destroy temporary objects at the same time, some do immediately after use, some delay until the end of the scope. The delay makes it difficult to test the reference count functionality. Solution: Enclosed the operations on objects and check reference count after getting out of the enclosed block. This only works for the test! I'm assuming that checking reference count is just for the library to test that functionality; the user will not need to do that. :-/ Platforms tested: SunOS 5.10 (linew) Linux 2.6 (kagiso)
* [svn-r13855] Purpose: Fixing minor warningsBinh-Minh Ribler2007-06-125-57/+3
| | | | | | | | | Description: Removed unused names, mostly. Platforms tested: SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso) w/PGI
* [svn-r13464] Syntax fix.Albert Cheng2007-03-065-0/+5
| | | | | | | | | | The copyright notices have errors in the closing comment lines that C++ compilers complain about. Fixed the comment line. Tested platform: In smirom using disable-production, enable-debug, disable-shared option. (other combinations would ended in build or test failures. Pretty sure they were not caused by my changes.)
* [svn-r13316] Updated Copyright notices.Albert Cheng2007-02-1414-53/+62
| | | | Tested platform: Kagiso (serial, pp)
* [svn-r13231] Purpose: Clean up C++ testsBinh-Minh Ribler2007-02-034-226/+90
| | | | | | | | | | | Description: Cleaned up comments/unused variables in several test functions. Fixed some mismatched type parameters shown up on Windows. Platforms tested Windows XP AIX 5.1 (copper) Linux 2.6 (kagiso)
* [svn-r13228] Purpose: Adding testBinh-Minh Ribler2007-02-015-5/+1578
| | | | | | | | | | | | | | Description: Added * tests for some generic datatype operations * tests for compound datatype operations These tests are checked in now to make sure they're safe! They can use some more comments and minor cleanups. Will do very soon. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
* [svn-r13221] Purpose: Adding testBinh-Minh Ribler2007-01-307-52/+441
| | | | | | | | | | | | | Description: - Added a brief test for DSetCreatPropList::setSzip. More through tests will be added later. - Moved check_values from dsets.cpp into h5cpputil.cpp for sharing with other tests. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
* [svn-r13090] Purpose: Adding testBinh-Minh Ribler2007-01-014-3/+806
| | | | | | | | | | | | Description: Added variable-length string tests. Fixed typos in tattr.cpp. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia) Linux 2.6 (kagiso)
* [svn-r13059] Purpose: Code cleanupBinh-Minh Ribler2006-12-131-2/+2
| | | | | | | | | Description: Changed from hsize_t to int for rank constants to fix errors on Windows. Platform tested: Linux 2.6 (kagiso) Visual 6.0 on Windows XP
* [svn-r13053] Purpose: Adding testBinh-Minh Ribler2006-12-123-3/+1252
| | | | | | | | | | Description: Added tattr.cpp to c++/test. Platform tested: Linux 2.6 (kagiso) SunOS 5.8 64-bit (sol) AIX 5.1 (copper)
* [svn-r12818] Purpose: Minor fixBinh-Minh Ribler2006-10-261-2/+1
| | | | | | | | | Description: Added (long) to a verify_val call. Platforms tested: Linux 2.6 (kagiso) - very minor, and Kent will test it on Windows, because that was where it was complained about.
* [svn-r12781] Purpose: Adding testBinh-Minh Ribler2006-10-191-1/+1
| | | | | | | | | Description: Added trefer.cpp to c++/test. Platform tested: AIX 5.1 (copper) HPUX 11.00 (kelgia)
* [svn-r12780] Purpose: Adding testBinh-Minh Ribler2006-10-192-1/+303
| | | | | | | | | | | Description: Wrappers of H5Rcreate had incorrect prototypes. Fixed and added object reference tests. Platform tested: Linux 2.4 (heping) AIX 5.1 (copper) HPUX 11.00 (kelgia)
* [svn-r12203] Purpose: MaintenanceBinh-Minh Ribler2006-04-066-38/+33
| | | | | | | | | | Description: Added alias H5std_string to be either ::string or std::string. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
* [svn-r11744] Purpose: Test improvementBinh-Minh Ribler2005-11-195-6/+52
| | | | | | | | | | | | | Description: Improved the use of std members. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) AIX 5.1 (copper) HPUX 11.00 (kelgia) Misc. update:
* [svn-r11570] Purpose:Albert Cheng2005-10-171-3/+3
| | | | | | | | | | | | | | Appearance change. Description: depend1.in: Change the style of the copyright generation commands to a simplier style. Dependencies: Regenerated the Dependencies file. Platforms tested: Tested in heping in serial and parallel modes.
* [svn-r11559] Purpose:James Laird2005-10-141-0/+13
| | | | | | | | | | | | | | | Copyright fix Description: Added copyright to C++ and Fortran dependency files in 1.6. Solution: copies hdf5/config/depend1.in to hdf5/c++/config and hdf5/fortran/config. Platforms tested: heping Misc. update:
* [svn-r11488] Purpose:Quincey Koziol2005-10-016-72/+72
| | | | | | | | | | | Code cleanup Description: Tweak copyright on C++ source files to reduce whining by copyright checking script. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++
* [svn-r11246] Purpose:Quincey Koziol2005-08-136-103/+103
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10954] Purpose: Updating C++ testsBinh-Minh Ribler2005-06-195-241/+257
| | | | | | | | | | Description: Added an overloaded function for the template function verify_val. Updated various comments/headers. Platforms tested: Linux 2.4 (heping) HPUX 11.00 (kelgia)
* [svn-r10091] Purpose: Fix bugBinh-Minh Ribler2005-02-263-22/+3
| | | | | | | | | Description: Fixed typo in using namespace; it was mistakenly opening the namespace. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r10055] Purpose: Clean up testsBinh-Minh Ribler2005-02-211-134/+146
| | | | | | | | | | | | Description: + replaced "goto error" with throw exceptions + properly cleanup dynamically allocated memory in failure cases, for in some cases, the execution continues on after the failures were reported. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r9891] Purpose: Clean up testsBinh-Minh Ribler2005-01-315-246/+361
| | | | | | | | | | | | | | | | | | | Description: + C tests' macro VERIFY casts values to 'long' for all cases. Since there are no operator<< for 'long long' or int64 in VS C++ ostream, I casted the hsize_t/hssize_t values passed to verify_val to 'long' as well. If problems arise later, this may have to be specificly handled with an overload - tfile.cpp and th5s.cpp + Added the use of InvalidActionException for when an action should cause an exception but didn't + Properly cleanup dynamically allocated memory in failure cases, for in some cases, the execution continues on after the failures were reported. + Small changes to improve failure reports Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [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)