Commit Graph

2796 Commits

Author SHA1 Message Date
Dana Robinson
94a6e02b3d [svn-r27407] Updated the H5_ATTR_* macros.
- Updated the preprocessor logic that defines the H5_ATTR_* macros. The Solaris
  Studio compiler understands __attribute__ but not the specific attributes
  that we use. The H5_ATTR_* macros are now defined as blank with that
  compiler which significantly cleans up the warnings, making debugging
  easier.

- Replaced a few lingering __attribute__ macros with H5_ATTR_* markup.

Tested on: h5committest
           Solaris w/ Solaris Studio (emu)
2015-07-18 00:40:06 -05:00
Neil Fortner
5065c139c7 [svn-r27397] Merge revisions 27255 through 27393 from trunk to vds branch.
Tested: ummon
2015-07-15 15:33:50 -05:00
Scot Breitenfeld
985e8d02a4 [svn-r27327] svn merge -r27208:27326 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-02 14:12:03 -05:00
Neil Fortner
3c4dd5fa53 [svn-r27323] Implement support for H5Dflush for VDS.
Implement support for H5Ocopy on VDS.
Testing for H5Ocopy on VDS.
Fix check-vfd failure.
Other minor fixes/cleanup.
Note there is a preexisting failure in h5repack testing.

Tested: ummon
2015-07-02 12:04:19 -05:00
Quincey Koziol
ad37464819 [svn-r27296] Description:
Correct error with braces around macro (in production builds), also clean
up a few warnings.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial, parallel & production
    Linux/32 2.6 (jam) w/serial & parallel
2015-06-29 15:22:30 -05:00
Quincey Koziol
89115b11b0 [svn-r27294] Description:
Clean up parameters to H5C__flush_single_entry: accept cache entry instead
of address, and make new flag for deleting entry from skiplist on destroy
instead of a separate parameter to the routine.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-29 10:19:34 -05:00
Quincey Koziol
8e94745298 [svn-r27293] Description:
Split parallel metadata cache code into separate source code modules.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (too minor for h5committest)
2015-06-27 11:45:21 -05:00
Quincey Koziol
58a95d0d4a [svn-r27292] Description:
Bring 'fail if unknown always' object header message flag from the
avoid_truncate branch, strengthen error checking for unknown messages, and try
to catch object header code configurations at compile time (instead of runtime).

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-06-27 00:51:04 -05:00
Neil Fortner
2522e278a8 [svn-r27284] Modify VDS implementation to always use FAPL and DAPL from VDS file and dataset
to open source files and datasets, instead of using the default property lists.
Modify VDS to reject attempts at parallel I/O, fix parallel compile error.
Modify VDS to not write fill value to memory buffer if the fill value is
undefined.
Other minor fixes/cleanup.

Tested: ummon
2015-06-25 14:39:08 -05:00
Neil Fortner
6063aa87e1 [svn-r27256] Merge revisions 27102 through 27255 from trunk to vds branch.
Tested: ummon
2015-06-19 17:16:45 -05:00
Neil Fortner
7cf40ce5e4 [svn-r27246] Remove "clipped" status from unlimited selections, decoupling them from the
extent.
Improve algorithm for calculation of VDS extent by removing the need for a
temporary copy of a dataspace.
Other minor fixes/cleanup.

Tested: ummon
2015-06-18 17:18:29 -05:00
Mohamad Chaarawi
c614e178e3 [svn-r27243] fix problem with encoding/decoding external fapl for lapls. 2015-06-18 15:36:19 -05:00
Quincey Koziol
f30ab55f41 [svn-r27237] Description:
Merge v3 metadata cache changes to trunk.  Yay! :-)

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
    (daily tested on branch)
2015-06-17 19:58:49 -05:00
Dana Robinson
fb27787c2a [svn-r27222] Merge of r27035-27221 from the trunk.
Tested on 64-bit linux VM:
    Serial: C++ and Fortran 2003
    Parallel: Fortran
2015-06-17 06:48:34 -05:00
Scot Breitenfeld
85bcb77904 [svn-r27221] Reworked Fortran autools REAL KIND detection. 2015-06-16 16:47:00 -05:00
Neil Fortner
91eb17db8e [svn-r27215] Fix issue where % characters could not be used in non-printf mappings.
Other minor fixes/cleanup.

Tested: ummon
2015-06-16 12:27:20 -05:00
Dana Robinson
4f231ddc9b [svn-r27214] Fixed a bug on Windows where dcpls were set to be chunked and not virtual. This was due to a simple copy-paste issue in the initializer that is used when C99 initializers are not available.
Also fixed a dims array size error in the vds test.

Tested on: 64-bit Win7 with VS2013
2015-06-16 12:02:35 -05:00
Scot Breitenfeld
48086667b5 [svn-r27209] svn merge -r27186:27208 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-16 08:49:28 -05:00
Quincey Koziol
adbb64c6cd [svn-r27204] Description:
Clean up compiler warnings before merging in v3 metadata cache changes
from branch.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-15 11:07:38 -05:00
Quincey Koziol
65e76690fd [svn-r27199] Description:
Large code cleanups and optimizations, in preparation for the upcoming
v3 metadata cache merge.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-12 22:40:33 -05:00
Neil Fortner
4117cfe2b9 [svn-r27197] Improve performance of "printf" VDS with selections in the file space - the
library no longer iterates over all source datasets in the printf mapping, it
now only looks at the ones that could be involved in I/O (the ones whose bounds
overlap with the selection in the unlimited dimension).

Tested: ummon
2015-06-12 17:04:35 -05:00
Allen Byrne
78e128c544 [svn-r27195] Add h5dump cmake tests and files.
Add tools gen cmake files
move testfiles for pbits to subdir as well as vds

Tested: local linux
2015-06-12 16:29:20 -05:00
Neil Fortner
9786fe2f61 [svn-r27192] Improve support for printf selections (support partial blocks with
H5_VDS_FIRST_MISSING)
Add test for this
Rework VDS code to not depend on unlimited selections having a "clipped" state
in preparation for removing the clipped state from unlimited selections.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-06-11 23:26:53 -05:00
Dana Robinson
aa4e3e3985 [svn-r27191] Merged r26781 to r27185 from trunk
Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2
    (C++ and Fortran 2003 also tested)
2015-06-11 14:18:52 -05:00
Scot Breitenfeld
6c4e3759f5 [svn-r27187] svn merge -r27135:27186 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-10 14:23:09 -05:00
Scot Breitenfeld
f2d14c76b8 [svn-r27186] added fix for jam with promoted reals and integers 2015-06-10 14:15:08 -05:00
Mohamad Chaarawi
b9f2a18b5a [svn-r27185] fix more instances where both mpi is_initialized and is_finalized need to be checked before making any MPI calls.
tested with h5committest.
2015-06-10 12:57:32 -05:00
Allen Byrne
0f4e97907c [svn-r27172] Change disable to skip big test on cygwin 2015-06-09 13:52:43 -05:00
Allen Byrne
84311eb701 [svn-r27171] Disable big test on cygwin 2015-06-09 13:48:03 -05:00
Scot Breitenfeld
62401ac7c6 [svn-r27167] more DT fixes 2015-06-09 12:05:09 -05:00
Scot Breitenfeld
32703c9fc5 [svn-r27164] various bug fixes for DT 2015-06-08 16:13:15 -05:00
Scot Breitenfeld
8641814c4e [svn-r27154] fixed issue with mis-matching long double between Fortran and C 2015-06-05 17:17:13 -05:00
Neil Fortner
c27904bc5f [svn-r27153] Implement fill value support for VDS.
Add testing for this.
Fix bug in printf string parsing.
Add test for this.
Other minor fixes/cleanup.

Tested: ummon
2015-06-05 16:55:24 -05:00
Scot Breitenfeld
043173a689 [svn-r27151] fixed __float128 errors 2015-06-04 15:26:02 -05:00
Dana Robinson
fad77fd2c2 [svn-r27150] Added an empty VDS testfile generator to tools/misc directory.
test/Makefile.in was updated due to changes in the Makefile.am
file that missed a reconfigure. The changes just added a few
VDS test files to the deletion list.

Note that there are trace issues with a new VDS struct that
show up when running bin/reconfigure. I reverted these for
fixing at a future date.

Tested on: jam
2015-06-04 14:46:50 -05:00
Neil Fortner
5d12a79db2 [svn-r27145] Add some testing for printf-style source dataset name resolution.
Various bug fixes, including a temporary fix for printf with FIRST_MISSING view.
Other cleanup.

Tested: ummon
2015-06-03 13:00:58 -05:00
Quincey Koziol
235b3b86c1 [svn-r27144] Description:
Normalize trunk against the metadata_cache_merge branch, in preparation
for merging the branch into the trunk.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/64 2.6.x (koala) w/serial
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-03 10:35:28 -05:00
Scot Breitenfeld
4d500d4902 [svn-r27140] fixed interger*16 support 2015-06-03 09:13:58 -05:00
Scot Breitenfeld
f486fe1a49 [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-02 09:46:51 -05:00
Mohamad Chaarawi
fc45d5fcb0 [svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z)  __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN

tested with h5committest.
2015-06-01 14:38:09 -05:00
Scot Breitenfeld
52e5579fba [svn-r27122] removed dependency on generatored fortran source code 2015-05-28 11:53:15 -05:00
Scot Breitenfeld
b1cf507c6d [svn-r27116] svn merge -r26937:27115 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-05-27 17:12:43 -05:00
Scot Breitenfeld
244784ab2c [svn-r27115] Moved testing KINDs and SIZEOFs to configure. 2015-05-27 17:07:18 -05:00
Neil Fortner
948722cde8 [svn-r27103] Merge revisions 26780 through 27102 from trunk to vds branch.
Tested: ummon
2015-05-21 12:13:16 -05:00
Dana Robinson
194d647721 [svn-r27097] Fixed a typo in test/th5o.c that caused the wrong property list
ID to be checked.

Tested on: h5committest
2015-05-18 08:00:54 -05:00
Quincey Koziol
8be8a708a3 [svn-r27084] Description:
Clean up cache tests, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:16:09 -05:00
Quincey Koziol
d0de32fc3a [svn-r27074] Description:
Clean up H5EA interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:54:30 -05:00
Neil Fortner
f7e10b55ab [svn-r27053] Add more tests for unlimited selections.
Fix off by 1 error involving minimum extent of VDS.
Other minor fixes/cleanup.

Tested: ummon
2015-05-12 10:39:10 -05:00
Neil Fortner
5b92a99024 [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to H5Pset/get_virtual_view and rename
enum argument.
Add support for AND and NOTA/NOTB operations with unlimited selections.
Add some tests for unlimited selections.
Other minor fixes/cleanup.
Note: "clipped" status of unlimited selections is not properly updated with
H5Sselect_copy.  This is a deliberate omission since fixing it would take work
and we are planning to eliminate the clipped status anyways.

Tested: ummon
2015-05-11 14:01:42 -05:00
Dana Robinson
984ecb72c2 [svn-r27038] Merge of r26393-27031 from the trunk.
Tested on 64-bit linux VM w/ C++ and Fortran 2003
2015-05-07 16:05:14 -05:00
Dana Robinson
bfa5786184 [svn-r26986] Removed H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero and
has been listed as deprecated.

Fixes: HDFFV-1074

Tested on:
    h5committest
    32-bit Linux w/ C++ and Fortran and multi VFD
    32-bit Linux w/ C++ and Fortran and multi VFD (no deprec symbols)
2015-04-30 14:32:25 -05:00
Neil Fortner
c1e74850e7 [svn-r26984] Add support for unlimited selection being clipped in the middle of a block.
Add tests for this (pure selection tests, needs testing with VDS).
Various bug fixes.

Tested: ummon
2015-04-30 12:29:25 -05:00
Scot Breitenfeld
5e6d18e5be [svn-r26869] removed the --enable-fortran2003 option, it is now just --enable-fortran 2015-04-21 13:33:25 -05:00
Neil Fortner
f53cfbe9d6 [svn-r26828] Implement support for unlimited selections (not supported by VDS code yet).
Add tests for unlimited selections.
Various other minor changes.

Tested: ummon
2015-04-16 15:57:26 -05:00
Scot Breitenfeld
0cc9b0c79f [svn-r26825] Added include for preprocessing fortran files with configure definitions 2015-04-16 13:36:34 -05:00
Neil Fortner
6a27582a44 [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
2015-04-10 18:00:48 -05:00
Scot Breitenfeld
5619a9a119 [svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
2015-04-09 10:57:01 -05:00
Scot Breitenfeld
1215ef0370 [svn-r26767] Added test to address HDFFV-3065:
H5Iget_name on datatype that is not named returns no error

Tested: h5committest
2015-04-08 11:06:48 -05:00
Quincey Koziol
4662835250 [svn-r26757] Description:
Minor typos & code cleanups

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-07 14:16:25 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Allen Byrne
99baa66184 [svn-r26699] Generators are only built static 2015-04-01 16:02:43 -05:00
Neil Fortner
b31a086f3e [svn-r26690] Fix error in H5Sextent_copy
When the selection is set to all, H5Sextent_copy did not update the number of
elements in the selection in the destination space.  Fixed H5Sextent_copy to do
this.  Added tests for this functionality.

Tested: jam, koala, ostrich (h5committest)
2015-04-01 09:22:16 -05:00
Neil Fortner
904c84b2a2 [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.
Fix off by 1 error in H5S__hyper_project_intersection algorithm.
Add many tests for fixed size hyperslab I/O.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-30 17:11:58 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Mohamad Chaarawi
01093ad350 [svn-r26649] squish warnings. 2015-03-30 10:12:49 -05:00
Quincey Koziol
c2472b4d00 [svn-r26625] Description:
Bring r26543 from autotools_rework branch to trunk:

    Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:50:44 -05:00
Quincey Koziol
79f59eaf4d [svn-r26623] Description:
Bring r26513 from autotools_rework branch to trunk:

    Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:11:12 -05:00
Quincey Koziol
e30b4b17cf [svn-r26618] Description:
Bring r26511 from autotools_rework branch to trunk:

    Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 11:34:08 -05:00
Allen Byrne
eafd204b2d [svn-r26607] Correct test of plugin read when disabled to not print FAILURE when successful 2015-03-26 14:24:25 -05:00
Quincey Koziol
c4ec20a6de [svn-r26606] Description:
Bring r26508 from autotools_rework branch to trunk:

    Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 14:13:13 -05:00
Quincey Koziol
39373fbabb [svn-r26605] Description:
Bring r26503 & r26528 from autotools_rework branch back to the trunk:

    Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

   Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 13:34:11 -05:00
Quincey Koziol
c8a5172968 [svn-r26602] Description:
Bring r26502 from autotools_rework branch to trunk:

    Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 12:02:13 -05:00
Quincey Koziol
90cc5df290 [svn-r26598] Description:
Bring r26501 from the autotools_rework branch to the trunk:

    Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 22:05:30 -05:00
Quincey Koziol
27dd4e0f05 [svn-r26597] Description:
Bring r26500 from autotools_rework branch to trunk:

    Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 21:25:32 -05:00
Quincey Koziol
b03d04742d [svn-r26596] Description:
Bring r26499 from autotools_rework branch to trunk:

    Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 20:47:41 -05:00
Quincey Koziol
c622cc7b38 [svn-r26595] Description:
Bring r26494 from autotools_rework branch back to trunk:

    Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for several days)
2015-03-25 17:11:19 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Quincey Koziol
d3114a96da [svn-r26591] Description:
Bring r26492 from autotools_rework branch back to trunk:

    Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-25 16:33:48 -05:00
Quincey Koziol
e89290b777 [svn-r26584] Description:
Bring r26485 from the autotools_rework branch to the trunk:

    Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested for >1 week)
2015-03-25 14:12:00 -05:00
Neil Fortner
1583b1b729 [svn-r26566] Fix error in H5S__hyper_project_intersection algorithm.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-24 18:23:18 -05:00
Quincey Koziol
460b629e03 [svn-r26560] Description:
Bring r26483 from autotools_rework branch back to trunk:

    Remove INTEGER_TO_LDOUBLE_ACCURATE macro/define - we no longer support
SGI systems.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-24 17:06:27 -05:00
Quincey Koziol
fe435e3dd4 [svn-r26543] Description:
Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not needed on this branch)
2015-03-23 14:50:39 -05:00
Vailin Choi
4de770788f [svn-r26514] Fix for HDFFV-9173:
H5Pset_istore_k() will validate the "ik" value to not exceed the max v1 btree entries (2 bytes)
The same check for H5Pset_sym_k()  "ik" value.
h5committested.
2015-03-20 17:37:17 -05:00
Quincey Koziol
105b8b93a0 [svn-r26513] Description:
Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    MacOSX/64 (amazon) 10.10.2 w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 17:18:02 -05:00
Quincey Koziol
4f18b095d8 [svn-r26511] Description:
Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 16:46:56 -05:00
Jerome Soumagne
1cd7c16a9d [svn-r26509] Run reconfigure after merges from autotools_rework branch. 2015-03-20 14:15:51 -05:00
Quincey Koziol
57393bc048 [svn-r26508] Description:
Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 14:08:33 -05:00
Quincey Koziol
7dae7ce0b9 [svn-r26503] Description:
Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

    Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 13:50:07 -05:00
Quincey Koziol
54ce768076 [svn-r26502] Description:
Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    MacOSX/64 10.10.x (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 12:54:34 -05:00
Quincey Koziol
3344302a1e [svn-r26501] Desscription:
Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 12:05:00 -05:00
Quincey Koziol
b08160e38b [svn-r26500] Description:
Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 11:43:35 -05:00
Quincey Koziol
44c8f498e5 [svn-r26499] Description:
Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 11:30:33 -05:00
Quincey Koziol
9fb399b3d2 [svn-r26495] Description:
Bring r26258 from the autotools_rework branch to the trunk - remove
the LDOUBLE_TO_INTEGER_WORKS macro/define, which was addressing issues with
SGI systems that are no longer supported.

Tested on:
    Linux 2.6.x (jam) w/serial & parallel
    Daily tested on branch for >2 weeks
2015-03-19 17:22:06 -05:00
Quincey Koziol
54e68fe689 [svn-r26494] Description:
Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 17:12:58 -05:00
Quincey Koziol
d63acf93b9 [svn-r26492] Description:
Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 16:59:19 -05:00
Quincey Koziol
5329a7d6f1 [svn-r26491] Description:
Bring r26257 from autotools_rework branch back to the trunk - removes
the LDOUBLE_TO_INTEGER_ACCURATE macro/define, which was addressing problems
with SGI systems and is no longer supported.

Tested on:
    Linux 2.6.x/32 (jam) w/serial & parallel
    Daily tested on branch for >2 weeks.
2015-03-19 16:52:50 -05:00
Quincey Koziol
74dc896691 [svn-r26485] Description:
Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Mac OSX 10.10.2 (amazon) w/serial & parallel
    (h5committest not necessary on this branch)
2015-03-19 15:33:57 -05:00
Quincey Koziol
cac405283f [svn-r26483] Description:
Remove INTEGER_TO_LDOUBLE_ACCURATE macro/define - we no longer support
SGI systems.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 15:15:45 -05:00
Neil Fortner
43dec53436 [svn-r26482] Opening source files now reuses the flags from the virtual file.
Added tests for I/O on virtual dataset with source datasets in unopened files.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-19 15:04:36 -05:00
Neil Fortner
424826d0dd [svn-r26469] INCOMPLETE, UNWORKING CODE
Commit progress through 3/17/15
2015-03-17 15:02:05 -05:00
Dana Robinson
7659506fa8 [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were in
format strings.

Tested on: h5committest
2015-03-11 17:51:14 -05:00
Dana Robinson
77f1054b3d [svn-r26429] Merge of r26393-26428 from the trunk.
Tested w/ h5committest
2015-03-11 04:59:37 -05:00
Elena Pourmal
2c365915e1 [svn-r26421] This is Neils' change exposed when I ran bin/reconfigure for examples. 2015-03-10 17:16:48 -05:00
Neil Fortner
bfc69905ac [svn-r26411] Add support for I/O in very simple cases (virtual mapping and file space are
both H5S_ALL).
Note make check  fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-09 16:59:50 -05:00
Allen Byrne
64f65d96d9 [svn-r26403] changes to comments and test should use unsigned var. 2015-03-09 11:21:56 -05:00
Dana Robinson
ce19753d87 [svn-r26396] Merge of r26349-26392 from the trunk.
Tested on: h5committest
2015-03-09 03:47:16 -05:00
Dana Robinson
2a4ea9b24e [svn-r26392] Reinstates r26327-8, which had been reverted due to failures on
Solaris and OS X.

Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.

Intended for use with filter plugins, particularly on Windows, where C
runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

Tested on: h5committest + OS X (quail) + Solaris (emu)
2015-03-08 19:41:54 -05:00
Larry Knox
63bd09ec8b [svn-r26389] Revision 26387 failed with configure option --with-default-api-version=v16.
Changed H5Dcreate() to H5Dcreate2 in test/trefer.c line 633.

Tested with h5committest and with --with-default-api-version=v16 on platypus.
2015-03-08 12:06:02 -05:00
Scot Breitenfeld
ca0a4d24b6 [svn-r26373] Fix for HDFFV-7959:
H5Rdereference should check for default (HADDR_UNDEF) value and not continue processing and return so that ret value can be checked and handled properly 

Tested: jam (gnu)
2015-03-05 16:42:42 -05:00
Allen Byrne
5be5a4d832 [svn-r26365] HDFFV-8520: Add plugin control APIs.
Update windows WiX packaging.

h5committested
2015-03-05 11:09:22 -05:00
Dana Robinson
5b294640c0 [svn-r26350] Merge of r26273-26348 from the trunk.
Tested on: h5committest
2015-03-03 19:27:40 -05:00
Neil Fortner
79771d3fac [svn-r26346] Add more test cases, refactor test code to reduce code duplication. Minor
fixes in src.
Note make check still fails in h5ls test.

Tested: ummon
2015-03-03 12:32:22 -05:00
Dana Robinson
d8e3d8e908 [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.
- Adds 'F' suffixes for most float constants.

- A few constants MUST be of type double. These now receive the long
  double L suffix and are then cast to double. I do this via a new
  H5_DOUBLE() macro which was added to H5private.h.

Fixes: HDFFV-9148

Tested on: h5committest
2015-03-01 13:48:54 -05:00
Larry Knox
ac290b5e45 [svn-r26331] Revert checking r 26327&8, which added new code and test that fails on solaris and macs.
Tested h5committest + emu and quail.
2015-02-28 12:00:03 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little space,
and was not scalable to a general scheme for library size reduction. We've
decided to remove the feature while we investigate a more general scheme for
decreasing the library size.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Dana Robinson
7b7f0eafc5 [svn-r26328] Fixed a typo in tmisc.c. 2015-02-27 06:05:02 -05:00
Dana Robinson
c16d230101 [svn-r26327] Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.
Intended for use with filter plugins, particularly on Windows, where
C runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

tested on: jam (minor, localized change)
2015-02-26 22:33:25 -05:00
Neil Fortner
952d00e7f0 [svn-r26306] Merge r26296 through 26304 from trunk to vds branch.
It should no longer be necessary to use --enable-using-memchecker
make check fails due to an issue with h5ls apparently unrelated to the merge

Tested: ummon
2015-02-25 17:06:18 -05:00
Mohamad Chaarawi
c4044e0c85 [svn-r26303] remove files with .clog2 extension generated by MPE when doing make clean. 2015-02-25 13:48:31 -05:00
Quincey Koziol
0ce8fddc73 [svn-r26301] Description:
Bring Neil's fix for error in H5S_extent_copy() back to the trunk.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:29:30 -05:00
Quincey Koziol
2dae075569 [svn-r26300] Description:
Add H5Sis_regular_hyperslab() and H5Sget_regular_hyperslab() API routines,
along with tests.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:05:16 -05:00
Neil Fortner
2ca5b16a9f [svn-r26296] Merge r26050 through 26295 from trunk to vds branch.
Tested: ummon
2015-02-24 16:53:56 -05:00
Neil Fortner
2811133914 [svn-r26293] Implement patching of virtual dataspace extent in mapping dataspaces when
opening virtual dataset.  Add tests for this.

Tested: ummon
2015-02-24 14:54:48 -05:00
Allen Byrne
8e48921d90 [svn-r26283] Correct test folder handling (merge from trunk) 2015-02-23 11:54:39 -05:00
Allen Byrne
c5da9e3270 [svn-r26282] Update source file list and test list 2015-02-23 11:20:53 -05:00
Dana Robinson
c07d803659 [svn-r26274] Merge of r26096 to r26271 from trunk.
Tested on: jam - serial: C++/Fortran
                 parallel: Fortran
2015-02-22 07:16:30 -05:00
Elena Pourmal
7881deb15e [svn-r26268] Added VDS example.
I ran bin/reconfigure on jam and it modified test/Makefile.in. May be Neil fixed Makefile.am,
but didn't run reconfigure?

Tested on jam.
2015-02-21 22:26:08 -05:00
Neil Fortner
88b7d8d34c [svn-r26261] Commit working but incomplete prototype. Does not perform I/O.
Tested: ummon
2015-02-20 16:53:35 -05:00
Quincey Koziol
c52835f4c1 [svn-r26258] Description:
Remove LDOUBLE_TO_INTEGER_WORKS macro/define from configure/library/tests,
since it was added to support non-standard behavior on SGI IRIX & HP-UX, which
we don't support any longer.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-02-20 15:52:39 -05:00
Quincey Koziol
707965be8a [svn-r26257] Description:
Remove the LDOUBLE_TO_INTEGER_ACCURATE macro, since it was added to work
around non-standard behavior on SGI IRIX, which we are no longer supporting.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest not required on this branch)
2015-02-20 14:19:15 -05:00
Dana Robinson
a7f70203b4 [svn-r26225] Removes broken open() call work-around that was specific to the now
unsupported Code Warrior compiler. Also removes the H5_NO_SHARED_WRITING
symbol from the pubconf file.

Fixes: HDFFV-9080

Tested on: jam only, after bin/reconfigure
           (all platforms should see no source changes)
2015-02-19 00:24:09 -05:00
Allen Byrne
73bb11dda3 [svn-r26208] Update cmake minimums 2015-02-18 11:56:22 -05:00
Neil Fortner
a5460b731d [svn-r26199] INCOMPLETE, UNWORKING CODE
Fix doubled vds.c
2015-02-17 16:12:58 -05:00
Neil Fortner
1199ab1f48 [svn-r26198] INCOMPLETE, UNWORKING CODE
Commit progress through 1610 CST 2/17/15
2015-02-17 16:11:22 -05:00
Scot Breitenfeld
b28b5fade9 [svn-r26188] Merged autotools fixes into the trunk:
HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
2015-02-16 12:17:49 -05:00
Mohamad Chaarawi
74fbb9e327 [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.

tested with h5committest.
2015-02-16 11:17:03 -05:00
Dana Robinson
7590687d4b [svn-r26143] Merged r26096-26142 from trunk.
Tested on: jam w/ Fortran and C++
2015-02-07 01:14:12 -05:00
Allen Byrne
fc93c6fe70 [svn-r26106] Disable flush1/flush2 test under debug VFD on Windows. 2015-02-02 12:01:15 -05:00
Dana Robinson
e2240d544e [svn-r26097] Removed configure and Makefile.in files from version control.
Developers will now have to run bin/reconfigure (deprecated, will be removed
soon) or autogen.sh after checking out code.

Part of: HDFFV-9120

Tested on: jam with Fortran and C++
2015-02-02 02:50:25 -05:00
Dana Robinson
cd1d1d41df [svn-r26096] Merged r26024-26095 from trunk.
Tested on: jam with Fortran and C++
2015-02-02 01:46:40 -05:00
Allen Byrne
e05c75ea4e [svn-r26074] fix test destination 2015-01-29 12:58:27 -05:00
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
4d34a0c6ad [svn-r26051] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory:

aclocal_cxx.m4 (for C++ tests)
aclocal_fc.m4 (for Fortran tests)

tested: jam
2015-01-27 12:17:09 -05:00
Allen Byrne
eb3900554e [svn-r26036] HDFFV-8736: Patch H5PL.c and test for cygwin plugin support.
Tested: local linux and cygwin
2015-01-26 13:03:18 -05:00
Dana Robinson
699b27ee4e [svn-r26028] Removed code from configure.ac that #defined (H5)_NO_SHARED_WRITING under
CodeWarrior as a work-around to broken open() functionality (it's not clear
which version). The only effect of this #define was to cause test_file_close()
in test/tfile.c to be skipped.

Fixes HDFFV-9080

Tested on: jam

We don't have CodeWarrior, so I just ensured the deletion didn't adversely
affect a typical build.
2015-01-26 05:06:53 -05:00
Mohamad Chaarawi
a24e3e5c86 [svn-r25994] revert adding the has_mpi_atomicity feature flag and use the has_mpi
flag instead.
2015-01-21 13:57:55 -05:00
Allen Byrne
21ef17f951 [svn-r25990] Add VFD flush2 depends on flush1 property to test 2015-01-21 09:31:46 -05:00
Allen Byrne
aafac8d770 [svn-r25986] HDFFV-9060: Changed test folder to use different test folders for VFDs and regular. Needed to set srcdir env var and specify working folder to the folders where all the reference files were copied.
Tested: local linux
2015-01-20 14:44:28 -05:00
Mohamad Chaarawi
aac2bb6182 [svn-r25984] change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN to
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. Will add a new
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS with the new avoid_truncate patch
coming later.

tested h5committest
2015-01-20 12:17:05 -05:00
Allen Byrne
671006a10d [svn-r25953] Comment out printf statement as it caused system resource issues on Windows. Test now executes in 1/10 of time.
Tested: local linux and Windows
2015-01-05 16:32:43 -05:00
Quincey Koziol
89e2c8822d [svn-r25766] Description:
Revert r25273, 25283 & 25439 (the hyperslab improvement changes).  They
are buggy and it's taking me a long time to correct the problem.  I'll check
in a revised form of the changes when I've got them straightened out.

Tested on:
    Mac OSX 10.10.0 (amazon) w/gcc 4.9.x, C++, FORTRAN
    Linux 2.6.x (jam) w/parallel
2014-11-03 15:13:25 -05:00
Mohamad Chaarawi
6735f59f7d [svn-r25750] use MPI_File_get_size() instead of stat when retrieving the file size for the MPIO driver. 2014-10-28 11:59:36 -05:00
Mohamad Chaarawi
26400c392b [svn-r25659] fix filename generation with prefix for perf test.
tested h5commitest, jam & platypus parallel.
2014-10-02 10:56:09 -05:00
Allen Byrne
148097511c [svn-r25607] Add 10 sec timeout to VFD - flush2 tests instead of default 20 min. 2014-09-22 13:46:21 -05:00
Mohamad Chaarawi
88fb6b1374 [svn-r25531] remove use of C99 PRI that failed on windows in dtypes.c
fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
2014-08-11 14:13:45 -05:00
Mohamad Chaarawi
2a5454616a [svn-r25527] fix printf format warnings in dtypes test. 2014-08-11 09:19:43 -05:00
Mohamad Chaarawi
beb6f83cfd [svn-r25500] fix HDFFV-8888 - H5Ldelete_by_idx fails on non-existent group name.
tested Jam. minor change.
2014-07-31 14:26:19 -05:00
Quincey Koziol
33ea1ada24 [svn-r25496] Description:
Merge 64-bit ID changes from branch to trunk.  (Plus a few minor cleanups
that aren't on the branch)

Tested on:
    Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN
    (h5committested on branch already for a week)
2014-07-30 15:55:14 -05:00
Mohamad Chaarawi
bd66cdd5d6 [svn-r25468] some code refactoring to align trunk with VOL branch.
tested with h5committest.
2014-07-22 14:54:51 -05:00
Albert Cheng
f1f7b15e50 [svn-r25465] BUg fix: HDFFV-8881
testfrome.c has incorrectly exit code (using -1). Fixed by replacing them
with C defined EXIT_FAILURE. Verified by temporary decreaing MAXNUMTESTS
to introduce failure in testhdf to see the changed code did work.
Also replaced all other correctly coded exit codes with the C defined
EXIT_SUCCESS and EXIT_FAILURE. This would help portability for non-Unix
systems.

Tested: h5committest.
2014-07-22 14:06:18 -05:00
Quincey Koziol
61a411b02f [svn-r25450] Description:
Initial tweaks to align with VOL branch.

Tested on:
    Mac OSX/64 10.9.3 (amazon) w/gcc 4.9
    (h5committest not required, too small)
2014-07-21 11:05:04 -05:00
Mohamad Chaarawi
92cc75bfae [svn-r25401] add serial and parallel regression tests for zero dset read/write bug. 2014-07-09 14:01:25 -05:00
Mohamad Chaarawi
06ef71a37f [svn-r25397] - remove configure checks for MPI_File_get_size and Big
MPI_File_set_size as they are supported by most MPI implementations.
- fix bug in t_mpi.c (HDFFV-8856)
2014-07-07 13:22:48 -05:00
Allen Byrne
28ec2d2693 [svn-r25357] Change default timeout to 1200 seconds or 20 mins
adjust up for certain tests.
2014-06-25 09:15:13 -05:00
Allen Byrne
e90941e86a [svn-r25343] Add more vfd tests to smaller timeout limits 2014-06-23 16:57:13 -05:00
Allen Byrne
9c4e646c1a [svn-r25310] Add max time for VFD objcopy test 2014-06-18 08:39:37 -05:00
Quincey Koziol
ec408ef083 [svn-r25283] Description:
Correct error in new hyperslab selection test to use the right # of
dimensions for start/stride/count/block arrays.  Also, switch H5Sselect_select
to H5Smodify_select.

Tested on:
    MacOSX/64 10.9.3 (amazon) w/gcc 4.9.1, OpenMPI, C++, FORTRAN & threadsafe
    (Too minor to require h5committest)
2014-06-13 22:23:54 -05:00
Quincey Koziol
4ccb865c70 [svn-r25273] Description:
Bring in Chao/Neil/my changes to optimize hyperslab selection operations
further, along with 3 new public API routines: H5Scombine_hyperslab(),
H5Sselect_select() and H5Scombine_select(), along with many minor cleanups to
the code and fixing a few compiler warnings.

Tested on:
    Mac OSX/64 10.9.3 w/gcc 4.9.x and parallel w/OpenMPI
    (h5commttest forthcoming)
2014-06-13 01:23:57 -05:00
Allen Byrne
d74b7fb7b8 [svn-r25261] limit vfd flush1 test time 2014-06-11 14:23:00 -05:00
Allen Byrne
21474f8eee [svn-r25188] Implement change to cmake_ext_mod config folder
Tested: local linux
2014-05-14 14:50:28 -05:00
Larry Knox
c6e3e68297 [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll back fix for removing rpaths from l
ib files.  The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co
nfigure option was invoked.
Added instead configure variable hardcode_into_lib=no.  This removes rpath from lib files on Linux
and solaris machines.

Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
2014-04-25 16:59:53 -05:00
Dana Robinson
7309bb5ab8 [svn-r25113] Fixed Subversion EOL and executable attributes. No code changes. 2014-04-25 16:27:37 -05:00
Quincey Koziol
95e0006dc2 [svn-r25097] Description:
Make progress toward moving from DXPL IDs to property list structures
within the library.  Also move the signature location code from the H5F
package to the H5FD package, where it's a better fit.  Also, clean up some
more compiler warnings along the way.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-25 09:32:17 -05:00
Quincey Koziol
3bdb116942 [svn-r25092] Description:
More migration to using H5F_io_info_t pointers and away from using
property list IDs internally.  Also, clean up some compiler warnings in the
cache code.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-24 11:30:24 -05:00
Quincey Koziol
7b6eae2ddf [svn-r25084] Description:
Begin process of migrating from using property list IDs internally to the
library to using the internal generic property list data structure.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-23 11:30:25 -05:00
Quincey Koziol
3de25ee226 [svn-r24998] Description:
Check in Neil's changes for correctly handling case where library is
reinitialized through a deprecated routine.

Tested on:
    Linux 2.4.x/32 (jam)
2014-04-09 00:08:21 -05:00
Quincey Koziol
c1163e0399 [svn-r24995] Description:
Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls.

Tested on:
    Linux/32 2.4.x (jam) w/gcc
2014-04-08 23:16:53 -05:00
Dana Robinson
5ae7ad342d [svn-r24993] Purpose:
Adds write tracking to the core VFD, which can be configured
via the H5Pset/get_core_write_tracking() API call. When enabled
and writing to the backing store is enabled, this feature will
track writes and only write out the changed bytes on flush/close.

Tested on:
    32-bit LE linux (jam) w/ Fortran and C++
    64-bit BE linux (ostrich)
    64-bit Darwin 12.5.0 (kite)

All were tested using the core VFD w/ paging on (core_paged
in the VFD list). Make check-vfd was also tested on jam.
2014-04-08 22:35:16 -05:00
Allen Byrne
6739a7f7ac [svn-r24950] Add missing prefix 2014-04-03 08:56:51 -05:00
Allen Byrne
98bbf4a36a [svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32

Tested: local linux CMake
2014-04-02 13:35:01 -05:00
Dana Robinson
d01ee66666 [svn-r24937] Adds an H5free_memory() function to the library for use with
functions that return library-allocated memory. The test and tool
code were modified to use this new function where it's appropriate.

Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551

Tested on:
    64-bit Windows 7 w/ VS2012
    32-bit LE linux w/ parallel and fortran (jam)
    32-bit LE linux w/ fortran and C++ (jam)
2014-03-31 18:35:09 -05:00
Allen Byrne
c6fe8c70b2 [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS instead of INCLUDES. Update automake to 1.14.1
h5committest
2014-03-31 12:07:05 -05:00
Quincey Koziol
f97d63cb95 [svn-r24869] Description:
Clean up more compiler warnings, plus merge a few Coverity bug fixes from
the hdf5_1_8_coverity branch back to the trunk:

r20877:
Purpose: Fix coverity issue 1723

Description:
Modified test_generate in hl/test_image to close file "f" before exit, even if
an error occurs.

r20879:
Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go
futher if call fails as well as empty.

r20881:
Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether
FLAG_PRINTED is TRUE.  But it had just been set to FALSE.  I took out the
condition check in the print statement.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel
    (too minor to require h5committest)
2014-03-23 01:27:57 -05:00
Quincey Koziol
2e4302818a [svn-r24864] Description:
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
2014-03-21 18:02:24 -05:00
Allen Byrne
03d10edd23 [svn-r24824] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:21:46 -05:00
Quincey Koziol
164b4c7534 [svn-r24804] Description:
Brought changes from Coverity branch back to trunk, and cleaned up misc.
other warnings & formatting issues:

r20833:
Fixed Coverity 667 and 668 with real integer overflow tests this time.

r20834:
Use HDstrncpy and HDstrncat. --gh 

r20835:
Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159

r20836:
Fixed coverity 585 by casting output of fgetc() to a char.

r20837:
Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-03-15 23:44:13 -05:00
Quincey Koziol
288c7760a4 [svn-r24803] Description:
Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
src/H5private.h to src/H5public.h.  Wrap typedef of hsize_t and hssize_t
in DIAG_OFF(long-long) macros.

    Clean up a bunch of "macro '-' is unused" warnings.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/gcc 4.8.2, C++, FORTRAN, parallel
    (too minor to require h5committest)
2014-03-15 22:13:52 -05:00
Allen Byrne
f5689224b5 [svn-r24789] Bump up the minimum cmake version 2014-03-13 10:05:09 -05:00
Allen Byrne
6c5e74942d [svn-r24782] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
2014-03-11 17:07:13 -05:00
Allen Byrne
a3292a77ce [svn-r24781] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Remove INCLUDE_DIRECTORIES in src for target level includes.
Change ADD_DEFINITIONS package debug defines into CMake option.
Remove -DNDEBUG
2014-03-11 16:14:57 -05:00
Quincey Koziol
1e36b5a348 [svn-r24726] Description:
Revert some earlier usage of strncpy, which was incorrect.

    Bring Coverity changes from branch back to trunk:

r20821:
    Use HDstrncpy. --gh
    (Fixed already, with strdup)

r20822:
    (Not merged, incorrect use of HDstrncpy())

r20823:
    (Not merged, incorrect use of HDstrncpy())

r20824:
    Maintenance: Bug fix: addressed CID 666.
    Value stored at *expression_len should be used in the call to
        HD5packFstring to avoid overflow (and unnecessary arithmetic
        calculation and casting) 

r20825:
    Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
    Undo revision 20818, as that issue has already been fixed in the 1.8 branch
        and trunk (but not coverity branch)

r20827:
    (Not merged, incorrect use of HDstrncpy())
    
r20828:
    Use HDstrncpy. --gh
    (Corrected use of strncpy())

r20829:
    Check return of H5Lget_val(print_udata->fid, path, targbuf,
        linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
        Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
        &filename, &objname) was successful and allow print. Otherwise filename
        and objname are not created. (init those to NULL)

r20830:
    resolved coverity issues 939, 940, 941, 944, and 947.

    all were complaints about use of sprintf, and in all cases, the
    buffers used were large enough for all eventualities.

    Resolved issue by replacing calls to sprintf with calls
    to snprintf.

r20831:
    Maintenance: Addressed CID 852
    Replaced sprintf with snprintf

r20832:
    Purpose: Fix valgrind issues with hl/examples/ex_image2

    Description:
    Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
    Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
    (too minor to require h5committest)
2014-02-20 16:29:26 -05:00
Mohamad Chaarawi
863ff882b6 [svn-r24709] rename H5V to H5VM since H5V is needed in the fastforward project for
view objects.  The addition of view objects in the fastforward project
is expected to be brough into the trunk sometimes in the future, which
is why we need to make this change.

Tested Manually on Jam and Ostrich.
Tested with h5commitest - Koala with intel compilers failed, but nothing had to do with those changes.
error on Koala: error while loading shared libraries: libirng.so
2014-02-13 17:12:46 -05:00
Scot Breitenfeld
ee10548723 [svn-r24681] Description:
Fix for HDF5/HDFFV-8620 H5Rget_name with NULL name parameter fails.
The name parameter now excepts NULL, in which case the length of then
name is returned.


Tested: jam (intel and gnu)
2014-02-04 10:11:20 -05:00
Allen Byrne
2f8c7fbd5e [svn-r24659] Restore dsets test to cmake process 2014-01-28 17:20:41 -05:00
Albert Cheng
50bd3521af [svn-r24652] HDFFV-8572: test/testhdf5.c main() should not return number of errors
Solution: testhdf5 now exits EXIT_SUCCESS(0) if no errors, else
EXIT_FAILURE(1).

Tested: Jam only since it is a trivial fix.
2014-01-27 17:33:34 -05:00
Allen Byrne
2f86aa7551 [svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to not add extra lines.
Tested: cmake and autotools local linux
2014-01-27 09:26:21 -05:00
Quincey Koziol
0a506a625b [svn-r24476] Description:
Remove duplicate "intent" flags from top & shared file structures, leaving
    them only in the shared file structure.

Tested on:
    Mac OSX/64 10.9.0 (amazon) w/gcc 4.8, both parallel & serial
    (too minor to require h5committest)
2013-11-30 00:51:42 -05:00
Dana Robinson
3a976e0aa7 [svn-r24416] Fixed some compiler warnings in the dsets test.
Tested on:
    32-bit LE linux (jam)

(These are just minor casting changes in the tests, hence the minimal
testing.)
2013-11-07 16:19:53 -05:00
Allen Byrne
819b8099e2 [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autools, and h5committest
2013-11-01 16:15:37 -05:00
Dana Robinson
e6cace9ee4 [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.

Tested on:
    32-bit LE linux (jam) 
        * with C++, Fortran
        * with thread safety on

    These are minor changes (almost entirely renaming foo functions
    to HDfoo) that don't change functionality.  This should not
    require a full commit test.
2013-10-30 23:20:36 -05:00
Raymond Lu
277ee2f7ee [svn-r24360] Jira issue 8528: H5Fget_obj_ids overfilled the list of object IDs by one. This is the second round of checkin after
receiving review comments from people. I put the safeguard in both H5F_get_objects and H5F_get_objects_cb to prevent 
overfill the list.

tested with h5committest.
2013-10-25 14:26:08 -05:00
Dana Robinson
b7a4e1a44e [svn-r24358] Changed the big test so that it runs using the h5_fileaccess() fapl.
The previous behavior was to execute a sec2, stdio, and family
test everytime it ran, which was very inefficient under check-vfd.

Tested on:
    32- and 64-bit LE linux (jam and koala)
    64-bit BE linux (ostrich)
    64-bit OS-X 10.6 (fred)
2013-10-24 23:57:01 -05:00
Larry Knox
06aa7b6641 [svn-r24285] Eliminate several "passing argument ... with different width due to prototype" warnings by casting constants to size_t where expected by string functions.
Tested on jam, koala,ostrich and platypus with h5committest.
2013-10-10 16:57:04 -05:00
Quincey Koziol
5f2a34b462 [svn-r24256] Description:
Clean up warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor for h5committest)
2013-10-04 14:28:22 -05:00
Albert Cheng
7fcd636cb3 [svn-r24234] Bug: tfile.c was failing in the ADA AIX system.
The reason was typo in the index variable in the newly added test_get_obj_ids().

Solution: fixed the typo.

Tested: AIX machine. (Did not run h5committest because the fix is in a remote
machine and the fix is quite obvious.)
2013-09-30 18:11:13 -05:00
Albert Cheng
bbd9ad0b27 [svn-r24214] Put in proper error message if unexpected switch values happened.
Tested: h5committest.
2013-09-28 15:40:01 -05:00
Raymond Lu
421e7549a5 [svn-r24210] Jira issue 8528: H5Fget_obj_ids overfilled the list of object IDs by one. I moved the safeguard in H5F_get_objects_cb
to the beginning of the function to prevent overfill the list.  I added a new test case for this problem and fix in tfile.c.

Tested with h5committest.
2013-09-27 15:15:52 -05:00
Albert Cheng
ebc0b44fe1 [svn-r24202] Bug fix: HDFFV-8271 Big.c error in address generated by random number.
Description:
There is a bug in the current big.c tests. In a nut-shell,
the writing part randomly picks 50 locations and write 4KB
from that location. Random location range is from byte 0
to end of dataset. There is the problem--if the random location
is greater than (end of dataset - 4KB), then error.

Solution:
Adjust the random number to be at least 4KB less than the end of the
dataset. That allows it write 4KB more from the generated starting
position.

Tested: h5comittest plus jam serial build and test.
2013-09-26 01:51:10 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
Allen Byrne
0653325f0d [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.
Add more usage info for UserMacros.
Add new option information about the Plugin default path.

Tested: local linux, jam
2013-09-19 11:38:08 -05:00
Quincey Koziol
5b876c929f [svn-r24101] Description:
Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

r20813:
Remove the dead code as listed for coverity bug #1722. h5committested.

r20814:
Issue 69: Check return value and throw error if negative return. Also free datatype id on error

r20815:
Use HDstrncpy. --gh

r20816:
Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

r20817:
Use HDstrncpy and HDstrncat. --gh

r20818:
Purpose: Fix valgrind issues with h5jam

Description:
Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
that they may still not be freed in case of error, due to the widespread use of
exit().

r20819:
Issue 80: change loop to use int as loop index.

r20820:
Maintenance: Fixed the bug found by coverity CID 788
There were two problems with this function:
    1) it tried to unnecessary free NULL pointer
    2) it tried to allocate c_name buffer that is done by H5Pget_class_name


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
Allen Byrne
bf1c137c0c [svn-r24097] Correct indentation 2013-09-04 14:58:45 -05:00
Allen Byrne
7e0bc29012 [svn-r24056] Move make_executable commands back from tests file 2013-08-22 13:41:25 -05:00
Allen Byrne
ff00749dfc [svn-r24055] Move make_executable commands back from tests file 2013-08-22 13:16:27 -05:00
Quincey Koziol
482a9c28e7 [svn-r24030] Description:
Clean up more compiler warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN
    (too minor to require h5committest)
2013-08-19 17:13:15 -05:00
Allen Byrne
c502d81a8c [svn-r24029] Move TESTS to seperate file to allow easier editing by all developers.
Tested: local linux
2013-08-19 16:49:44 -05:00
Quincey Koziol
308c378ccd [svn-r24020] Description:
Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 15:05:27 -05:00
Quincey Koziol
453f95c192 [svn-r24011] Description:
Clean up a few warnings

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-15 08:24:28 -05:00
Larry Knox
5dcd9c2dfc [svn-r23984] Merged 2 23932 from reduced_warnings branch:
Changes applied to eliminate several compiler warnings in the test directory in
files:
dt_arith.c
filter_fail.c
big.c
dynlib2.c
dynlib3.c
Also an HDassert(0 && "Unknown type"); statement was added to all 29 combination
s of
case OTHER:
default:
See crucible review HDF5-145 for more details.

Tested with h5committest.
2013-08-09 15:42:27 -05:00
Allen Byrne
a8c227e175 [svn-r23812] Added the HD prefix to the system functions used in the links.c file.
Tested: local linux
2013-06-24 15:02:42 -05:00
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
Quincey Koziol
424a41f878 [svn-r23713] Description:
Clean up warnings, switch library code to use Standard C/POSIX wrapper
macros, remove internal calls to API routines, update checkapi and checkposix
scripts.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    Big-Endian Linux/64 (ostrich)
2013-05-21 12:30:54 -05:00
Quincey Koziol
d38fe20df6 [svn-r23695] Description:
Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!)

    Merge changes from Coverity branch back to trunk:

r20684:
Fix for coverity bug #1721 which was due to the fix for coverity bug #943.

r20685:
Use HDstrncpy. --gh

r20761:
Purpose: Fix valgrind issues

Description:
Free image_data and data as appropriate in test_image.

r20762:
Purpose: Fix coverity issue 600

Description:
Add check for return value of H5O_close in H5Ocopy.  Also cleaned up various
warnings.

r20763:
Purpose: Fix valgrind issues with h5stat

Description:
Modified h5stat to free "iter" before exit, and free "hand" before exit if
parse_command_line exits directly.

r20764:
fixed coverity issues:
69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80

r20765:
Fixed coverity bug 668

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1.

I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program.

r20766:
Fixed coverity bug 667

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program.


Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    (h5committest upcoming)
2013-05-11 10:59:48 -05:00
Allen Byrne
fb396557fc [svn-r23691] Fix valgrind leak by closing fapl
Tested: local linux
2013-05-09 09:56:18 -05:00
Raymond Lu
90ccb5c3c3 [svn-r23685] Issue 8380 H5Zunregister caused seg fault. I simplied the iteration process over datasets, groups, and files as Quincey suggested. I also removed H5I_search that I introduced in last commit but didn't actually used it.
Tested on jam and koala - simple change.
2013-05-08 11:36:58 -05:00
Raymond Lu
8ec42ced80 [svn-r23675] Issue 8380 - H5Zunregister caused seg fault. This is the followup commit. Quincey
reviewed my previous commit and suggested me to use H5I_iterate to iterate through
all opened objects in H5Z_unregister.  I changed it in this commit.

Tested with h5committest.
2013-05-06 15:51:26 -05:00
Joel Plutchak
30f904dbe9 [svn-r23667] Removed H5E call. 2013-05-03 10:39:44 -05:00
Joel Plutchak
7d205bba0a [svn-r23665] Added test cases to expose potential fill value issues. 2013-05-02 14:19:06 -05:00
Raymond Lu
bada3f7a86 [svn-r23656] Issue 8380 H5Zunregister caused seg fault: I added some protection measures:
1. If any opened object uses the filter, let it fail.
  2. Flush all opened files to push any cached data to files.

Tested with h5committest.
2013-04-29 14:23:04 -05:00
Quincey Koziol
8277409a9b [svn-r23549] Description:
More misc. cleanups, but main change is to make an "extern" header file
for the plugin interface.

Tested on:
    Mac OSX/64 10.8.3 (amazon)
2013-04-04 15:57:59 -05:00
Allen Byrne
12616e370c [svn-r23547] Windows plugins will always be "dll"'s.
CMake also uses ";" as a separator - escape it

Tested: windows
2013-04-04 10:41:15 -05:00
Allen Byrne
a259cbdda7 [svn-r23546] Correct typo 2013-04-04 10:04:16 -05:00
Raymond Lu
68b0945687 [svn-r23540] I took out the "const" symbol from H5PL_get_plugin_type and H5PL_get_plugin_info functions.
Tested on jam - simple change.
2013-04-03 15:53:13 -05:00
Raymond Lu
86c0d2aa05 [svn-r23536] I corrected the copyright information and added some comment in H5Pocpl.c.
Tested on jam - no code change.
2013-04-03 14:15:13 -05:00
Raymond Lu
97caaff719 [svn-r23533] I changed the operation in dynlib2.c from math operations pow and sqrt to simpler multiplication and division
to avoid potential rounding problem in math operations.

Tested on jam - simple change.
2013-04-03 11:30:46 -05:00
Quincey Koziol
b4331b2ff3 [svn-r23529] Description:
Stop aliasing property to indicate internal collective metadata operations
with property to perform collective raw data operations from the application.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/paralllel
2013-04-02 21:50:50 -05:00
Albert Cheng
7ee9828c26 [svn-r23526] Bug fix: Mac system has dynamic library name in the form of libxyz.dylib. Changed test_plugin.in
to copy library file names in the form of libdynlib{123].*.

Another problem: Even when copy failed in copying the libray files (was in the form of *.so*),
the test still passed.  That was because .libs was included in $HDF5_PLUGIN_PATH and the needed
plug in libraries were generated there.
Fixed by copying the plug in library files to separate directories and seetup HDF5_PLUGIN_PATH
to include them but NOT .libs.

Tested: used desycommittest (duck, emu, jam, koala, ostrich) plus cmakehdf5 in jam.
The cmakehdf5 in jam reported a failure in 
Test #594: H5REPART-h5repart_test ....................................***Failed
Since this failure could not be caused by my change in test_plugin.sh, I reported it to Allen
and proceed to check this in.
2013-04-02 16:26:14 -05:00
Allen Byrne
26785f6af5 [svn-r23524] Use two plugin folders for testing plugin Path 2013-04-02 14:12:06 -05:00
Allen Byrne
91831f41ad [svn-r23520] Add new plugin library to build list for test.
Tested: local linux, windows
2013-04-02 11:27:46 -05:00
Raymond Lu
b8c258a970 [svn-r23519] I used H5Gcreate instead of H5Gcreate2 in plugin.c. I corrected it and added some real operation in the dummy filter library dynlib3.c.
Tested on jam and koala.
2013-04-02 11:12:20 -05:00
Albert Cheng
fc4c7a05f6 [svn-r23517] Rewrirte part of the script that copy the libdynlib libraries and check
for result.

h5committested. (Cmake in Duck has errors but the error are not related to
this change.
2013-04-02 00:07:20 -05:00
Raymond Lu
075334af96 [svn-r23514] I forgot to add the new file dynlib3.c in last commit. 2013-04-01 18:30:08 -05:00
Raymond Lu
72e84fcd82 [svn-r23513] I added a test case in plugin.c for testing using filter for groups and created a dummy filter library for this test case.
Tested on jam and koala.
2013-04-01 18:28:48 -05:00
Larry Knox
e679eed61b [svn-r23511] Replaced install-data-local with install-exec-hook in test/Makefile.am.
tested with h5committest
2013-04-01 17:45:02 -05:00
Raymond Lu
ed621aae38 [svn-r23494] I added another filter library dynlib2.c for plugin.c test. The test script moves the libdynlib2.so to /tmp then runs
plugin.c.

Tested on jam and koala.
2013-03-29 15:59:15 -05:00
Allen Byrne
5e5e9e3987 [svn-r23493] Correct improper addition 2013-03-29 15:46:48 -05:00
Albert Cheng
59bb6d185e [svn-r23492] Bug fix:
Test was not checking error result. It basically return succeess to make check
all the time.

Fixed it so that it does check the return code of the test (plugin) and set
nerror accordingly.  It then exit 1 if there is any error detected.

Test: use the desy committest to pass on jam, koala, ostrich, duck and emu.
Also hand test by "rm test/.lib/libdynlib1* to verify the test script can
indeed response to errors properly.
2013-03-29 15:22:40 -05:00
Allen Byrne
c1c11c021b [svn-r23491] Add test_plugin.sh to list of cleanup files 2013-03-29 14:51:49 -05:00
Raymond Lu
3374ffecf8 [svn-r23482] I changed the plugin library to be built as shared library only when configure enables shared. libtool will install the shared plugin library. I put a remove command in test/Makefile.am to delete the unnecessary plugin library.
Tested on jam, koala, and emu.
2013-03-28 15:14:11 -05:00
Allen Byrne
9138b343aa [svn-r23480] Reposition conditional and libtool commands. 2013-03-28 12:17:19 -05:00