summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunkAllen Byrne2014-04-073-75/+466
| | | | Tested: h5committest
* [svn-r24928] Purpose: Fix HDFFV-7907Binh-Minh Ribler2014-03-316-6/+155
| | | | | | | | | | | | | | | | | | | | | | Description: Added transform property list functions // Constructor creates a dataset transform property list. DSetMemXferPropList(const char* expression); // Sets data transform expression. void setDataTransform(const char* expression) const; void setDataTransform(const H5std_string& expression) const; // Gets data transform expression. ssize_t getDataTransform(char* exp, size_t buf_size=0) const; H5std_string getDataTransform() const; Added test file tdspl.cpp. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24913] Purpose: Fix HDFFV-8642Binh-Minh Ribler2014-03-272-6/+96
| | | | | | | | | | | Description: Added CompType::setSize(size_t size) to set size for compound data type as H5Tset_size had been changed. Merged from trunk-24912 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24906] Merge latest CMake changes from trunk.Allen Byrne2014-03-262-28/+28
| | | | Tested: local linux
* [svn-r24878] Description:Quincey Koziol2014-03-241-1/+0
| | | | | | | | | | | | | | | | | | | | | Bring r24864 from trunk to 1.8 branch: Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial (daily tested on trunk)
* [svn-r24870] Description:Binh-Minh Ribler2014-03-232-2/+15
| | | | | | | | | | | | | | | - Added another overload for char* argument: ssize_t getComment(const char* name, const size_t buf_size, char* comment) - Changed default value to 0 for the other two getComment methods - Added HDmemset to after every char string allocation to clear the buffer - Added a null terminator to the comment returned from the C call, in getComment methods - Some minor cleanup Merged from trunk: -r24865 -r24867 Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r24868] Purpose: Applied user patch, HDFFV-8623Binh-Minh Ribler2014-03-232-4/+4
| | | | | | | | | | | | | Description: Applied patch from user Jason Newton. JIRA issue HDFFV-8623, patch 0009, improve c++ compatibility with exceptions. All additions of "throw()" are included. Exception::what() is not added because it is not necessary. It was suggested for the name, which follows stdlib. Merged from trunk -r24830 Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24732] Fix for reconfigure, which fails because ↵Larry Knox2014-02-221-0/+1
| | | | | | LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing. Copied declaration from trunk. Tested with h5committest on jam ostrich koala and platypus(cmake).
* [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-0/+25
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autotools
* [svn-r24233] Description:Binh-Minh Ribler2013-09-301-1/+1
| | | | | | Replaced an uint with unsigned to please Windows. Platforms tested: Linux/32 2.6 (jam) - very minor
* [svn-r24229] Purpose: Fix bug HDFFV-7520Binh-Minh Ribler2013-09-301-4/+72
| | | | | | | | | | Description: Added wrappers for H5Aexists. (merged from trunk) Platforms Tested: Linux/32 2.6 (jam) Linux/64 2.6 (koala) Linux/ppc64 (ostrich)
* [svn-r24216] Purpose: Merged changes from trunkBinh-Minh Ribler2013-09-296-167/+828
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description from trunk, r22836 In this bug, H5File doesn't have the ability to create attribute. The following changes will provide that functionality and several others that were also missing: - Added an abstract class H5Location in between IdComponent and H5Object. - New class structure of IdComponent, H5Location, H5Object, H5File IdComponent | H5Location / \ H5Object H5File - Wrappers in H5Object were moved to H5Location because the related C functions take either file, group, dataset, or named datatype ID. - Added wrapper for H5Rget_obj_type2 - Added tests for file attributes and H5Rget_obj_type2 wrapper Description from trunk, r22845 Fixed miscellaneous inconsistencies and typos, which also took care of the failure in Packet Table test on daily test today. Description from trunk, r24143 Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs. Description from trunk, r24188 - The failure in daily test was caused by missing initialization of member "id" in a few constructors. This is now fixed. - Added two overloaded H5Location::setComment - Improved some error reporting in H5Location - Improved error reporting in tests Description from trunk, r24189 Changed header guards from single underscore to double underscore. Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
* [svn-r24072] Merge trunk cmake changes to 1.8 branch. Allen Byrne2013-08-262-39/+47
| | | | | | | Also add default switch blocks to h5import. Merge h5dump any_path option from trunk. Tested: local linux
* [svn-r23993] I used the macro H5_HAVE_FILE_VERSIONS to skip three test cases ↵Raymond Lu2013-08-121-4/+9
| | | | | | | | | for file creation on OpenVMS. OpenVMS creates another version of the file when a file is created for the second time, making the test cases invalide. Tested on OpenVMS and jam - simple change.
* [svn-r23970] malloc of char array needs array deallocation.Allen Byrne2013-08-051-1/+1
| | | | Merged from trunk.
* [svn-r23956] Description:Binh-Minh Ribler2013-07-311-4/+0
| | | | | | Took out a work-around line left by accident. Platform tested: Linux/32 2.6 (jam) with GNU compilers
* [svn-r23955] Description:Binh-Minh Ribler2013-07-311-0/+3
| | | | | | | | | Close a group in test_dset, before the file can be properly closed. This should fix the problem on OpenVMS. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23950] Description:Binh-Minh Ribler2013-07-311-0/+4
| | | | | | | | | | | | | There seem to be some objects still left open, so the file was not closed properly and caused failure on OpenVMS, because on that platform, more than one file cannot be opened at the same time (according to Ray.) Added setFcloseDegree(H5F_CLOSE_STRONG) to test_dset() to eliminate the failure temporarily, until the opened objects can be located and closed properly. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23943] Description:Binh-Minh Ribler2013-07-301-2/+2
| | | | | | | | Fixed an allocation/deallocation mistake that caused test to fail on Windows. Platforms tested: Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23940] Purpose: Fix bug in testsBinh-Minh Ribler2013-07-272-9/+7
| | | | | | | | | | | | Description: - Passing the c_str() of an std string into a C function caused failure on OpenVMS. Added a work around using temporary string. - Passing incorrect file access property list caused test_datasize() to fail. Fixed. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers SunOS 5.11 (emu)
* [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.Allen Byrne2013-06-141-0/+1
| | | | Tested: local linux
* [svn-r23485] Purpose: Fix bug HDFFV-8067Binh-Minh Ribler2013-03-298-54/+40
| | | | | | | | | | Description: Applied the fix for HDFFV-8067 and the minor cleanups from the trunk. Platforms tested: Linux/32 2.6 (jam) with PGI compilers Linux/32 2.6 (jam) with GNU compilers Linux/64 2.6 (koala) with ICC compilers SunOS 5.10 (emu)
* [svn-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-041-1/+1
|
* [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. ↵Allen Byrne2013-01-311-1/+1
| | | | | | This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support. Tested: local linux
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-281-15/+16
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-231-37/+88
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22492] Needed std:: for cout or cerr for other compilers.Larry Knox2012-06-261-1/+1
|
* [svn-r22491] Skip the failing File Creation I/O subtest that causes c++ ↵Larry Knox2012-06-261-2/+11
| | | | | | tests to fail with the new/PGI compiler (see HDFFV-8067). Tested on jam.
* [svn-r22131] Purpose: Fixed bug 4279Binh-Minh Ribler2012-03-231-6/+82
| | | | | | | | | | Description: Closed various HDF5 objects in DataSet::getInMemDataSize and Attribute::getInMemDataSize to remove some memory leaks. Platforms tested: Linux/32 2.6 (jam) Linux/64 2.6 (amani) SunOS 5.10 (linew)
* [svn-r21805] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-051-1/+1
| | | | standard 2.8.6
* [svn-r21717] Update cmake configurationAllen Byrne2011-11-041-0/+1
| | | | | | | Update cmake to generate source folders in VS Brought parallel changes from trunk Tested: local linux
* [svn-r21608] 1.8 needs file copied because it does not use srcdir functionAllen Byrne2011-10-191-0/+7
|
* [svn-r21421] Merged the Fortran 2003 changes from the trunk into the 1.8 ↵Scot Breitenfeld2011-09-271-0/+3
| | | | | | | | | | | branch, used: svn merge -r 20506:21414 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran Tested: jam (gnu, intel, pgi compilers) Also merged effected non-Fortran files: svn merge -r21247:r21248 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/src/libhdf5.settings.in
* [svn-r21044] Purpose:Mike McGreevy2011-06-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDFFV-7592 "Remove PACKEDBITS option from autotools files" Description: The code for h5dump's packed bits feature was conditionally compiled in via this option during its 'beta' release in 1.8.5. Now that the feature is fully supported, h5dump has since been changed to always compile the packed bits code (having removed the #ifdef H5_HAVE_H5DUMP_PACKED_BITS checks), so this option in configure is no longer needed. This commit removes the --enable-h5dump-packed-bits configure option, including the help summary from './configure --help' and the libhdf5.settings output summary, the PACKED_BITS Makefile variable, and the definition of H5_HAVE_H5DUMP_PACKED_BITS define in appropriate pubconf header files (which has already been removed from use in source code as of r20722). Note that this option was never added to the trunk, thus this commit only need occur on the 1.8 branch. Tested: - Configure output, help, & summary verified on jam - h5committested
* [svn-r20525] Description:Mike McGreevy2011-04-151-14/+39
| | | | | | | | Merge revisions 20475, 20502, and 20504 from trunk to 1.8 branch. Tested: Tested on jam, fred, bangan (CYGWIN), and h5committested.
* [svn-r20489] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-131-22/+3
| | | | | | | | | | | | | | | | unlimited. I brought the changes from the trunk as below: 1. I added test cases for contiguous, compact, and chunked, and external storage datasets, and also attribute. The test includes dataspace selections. 2. I added a test case of extending dataset of zero dimension size and shrinking back to zero dimension size. 3. I updated the Makefile to include the new data file to be cleaned up. 4. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it is supposed to be same as the dimension. The current library sets NULL to it. I corrected it and added a test case to it. 5. I corrected the tests of Fortran and C++ for the problem in point 3. Tested on jam, heiwa, and amani.
* [svn-r20183] Add HDF5_USING_MEMCHECKER guards around script mode ADD_TEST. ↵Allen Byrne2011-03-041-11/+13
| | | | | | | | This will replace the list of ignore tests in CTestCustom.cmake file. Bring back from trunk Tested: local linux
* [svn-r20157] Bring CMake changes to branch up to r20156 from trunkAllen Byrne2011-02-251-1/+1
|
* [svn-r20053] Description:Quincey Koziol2011-02-066-60/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r20052 from trunk to 1.8 branch: Clean up Coverity warnings, and fix some style issues: r19735: Fix for memory leak in test/mf found by valgrind. r19736: Fix memory leak in h5repack. The buffer in copy_objects, when copying the entire dataset at once, was not checked for the presence of a vlen, and vlen storage was never reclaimed. Added check and call to H5D_vlen_reclaim(). r19772: Change H5assert() to if (H5T_VLEN != src->shared->type || H5T_VLEN != dst->shared->type) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a H5T_VLEN datatype") r19774: removed unused priv. r19775: removed unused variables r19778: Fix memory leak comparing for variable length data types. r19834: Fixed memory leaks found by valgrind. Memory errors remain for another day. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on branch)
* [svn-r19906] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-041-1/+1
| | | | | | macro use for checking libtype. Tested: Windows
* [svn-r19898] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-301-1/+0
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19862] Updated libtool to version 2.4, autoconf to version 2.68, and ↵Larry Knox2010-12-011-0/+3
| | | | | | m4 to version 1.4.15. Tested with h5committest on amani, jam and heiwa.
* [svn-r19705] Added VFD test options.Allen Byrne2010-11-011-0/+36
| | | | Tested: local linux
* [svn-r19408] In this revision the '/' after ${DESTDIR} wherever it occursLarry Knox2010-09-161-5/+15
| | | | | | | | | | | | | | | | | | | | has been removed. According to the official description of DESTDIR by Gnu at http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is prepended to the normal and complete install path that it precedes for the purpose of installing in a temporary directory which is useful for building rpms and other packages. The '/' after ${DESTDIR} will be followed by another '/' at the beginning of the normal install path. When DESTDIR is empty the path then begins with '//', which is incorrect and causes problems at least for Cygwin. The change made in config/commence.am affects many Makefile.*s when bin/reconfigure is run. EXAMPLEDIRs had to be corrected individually. Also the scripts to run examples after they are installed have checks added to see that the fortran and c++ directories are present before trying to run the scripts in them. Tested with h5committest on amani, heiwa and jam.
* [svn-r19371] Updated autoconf to version 2.6.7, libtool to version 2.2.10, ↵Larry Knox2010-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion. Tested with h5committest on amani, jam, and heiwa, and on linew. -This line, and those below, will be ignored-- M hdf5_1_8/test/Makefile.in A hdf5_1_8/m4 AM hdf5_1_8/m4/ltsugar.m4 AM hdf5_1_8/m4/libtool.m4 AM hdf5_1_8/m4/ltversion.m4 AM hdf5_1_8/m4/lt~obsolete.m4 AM hdf5_1_8/m4/ltoptions.m4 M hdf5_1_8/configure M hdf5_1_8/Makefile.in M hdf5_1_8/testpar/Makefile.in M hdf5_1_8/configure.in M hdf5_1_8/src/Makefile.in M hdf5_1_8/tools/Makefile.in M hdf5_1_8/tools/misc/Makefile.in M hdf5_1_8/tools/h5dump/Makefile.in M hdf5_1_8/tools/h5repack/Makefile.in M hdf5_1_8/tools/h5jam/Makefile.in M hdf5_1_8/tools/h5diff/Makefile.in M hdf5_1_8/tools/lib/Makefile.in M hdf5_1_8/tools/h5copy/Makefile.in M hdf5_1_8/tools/h5import/Makefile.in M hdf5_1_8/tools/h5stat/Makefile.in M hdf5_1_8/tools/h5ls/Makefile.in M hdf5_1_8/hl/test/Makefile.in M hdf5_1_8/hl/tools/Makefile.in M hdf5_1_8/hl/tools/gif2h5/Makefile.in M hdf5_1_8/hl/Makefile.in M hdf5_1_8/hl/src/Makefile.in M hdf5_1_8/hl/c++/test/Makefile.in M hdf5_1_8/hl/c++/Makefile.in M hdf5_1_8/hl/c++/src/Makefile.in M hdf5_1_8/hl/c++/examples/Makefile.in M hdf5_1_8/hl/fortran/test/Makefile.in M hdf5_1_8/hl/fortran/Makefile.in M hdf5_1_8/hl/fortran/src/Makefile.in M hdf5_1_8/hl/fortran/examples/Makefile.in M hdf5_1_8/hl/examples/Makefile.in M hdf5_1_8/config/commence.am M hdf5_1_8/MANIFEST M hdf5_1_8/c++/test/Makefile.in M hdf5_1_8/c++/Makefile.in M hdf5_1_8/c++/src/Makefile.in M hdf5_1_8/c++/examples/Makefile.in M hdf5_1_8/bin/ltmain.sh M hdf5_1_8/bin/reconfigure M hdf5_1_8/perform/Makefile.in M hdf5_1_8/fortran/test/Makefile.in M hdf5_1_8/fortran/testpar/Makefile.in M hdf5_1_8/fortran/Makefile.in M hdf5_1_8/fortran/src/Makefile.in M hdf5_1_8/fortran/examples/Makefile.in M hdf5_1_8/aclocal.m4 M hdf5_1_8/examples/Makefile.in
* [svn-r19362] Move Windows specific compile and link flags to macrosAllen Byrne2010-09-091-10/+1
|
* [svn-r19326] Added parallel build commands.Allen Byrne2010-08-311-3/+2
| | | | | | | | Corrected use/name of source folder aliases. Duplicated FindMPI.cmake so that non-c++ compiler is found first (recommemded commands did not work). Bring r19325 from trunk Tested: local linux with mpich
* [svn-r19036] Added executable Linker Flag for MSVC static builds: ↵Allen Byrne2010-06-291-0/+10
| | | | | | | | /NODEFAULTLIB:MSVCRT Added VERSION vars for inclusion into auto snapshot version update script Tested windows
* [svn-r18836] Added code to config files, libhdf5.settings.in and ↵Larry Knox2010-05-171-0/+2
| | | | | | configure.in to add compiler version information for fortran and C++ in the settings file and the configure output for our common compilers on linux, solaris, and mac(gnu only). Tested: amani, jam, linew (h5committest) and with configure on these machines and tejeda.
* [svn-r18780] Corrected typo of variable used by H5srcdir_str.h.in.Allen Byrne2010-05-121-1/+1
| | | | No test as it is actually not used in branch