Commit Graph

3140 Commits

Author SHA1 Message Date
Allen Byrne
c1dc24c143 Change H5PLsize() signature 2017-04-24 15:31:28 -05:00
Allen Byrne
c2a9c33444 Revert HDFFV-9655 2017-04-24 15:25:36 -05:00
Allen Byrne
6fac0de158 Revert HDFFV-9655 by disabling test and not using new function. 2017-04-24 15:10:58 -05:00
Allen Byrne
220388e735 Fix path to actual executable location 2017-04-24 10:50:06 -05:00
Allen Byrne
0e1633c26d Windows ahs one more directory level 2017-04-24 09:03:46 -05:00
lrknox
ebb7bc7fad Comment out failing plugin test until fixed (unexpected .libs in plugin test directory path with '@'). 2017-04-22 15:21:36 -05:00
Larry Knox
3750e8ac7c Merge pull request #449 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '7bd516f2ead21e8470cc25c0b664ad6b56c723a0':
  Our best effort to build dynamic plugin tests and not install them with "make install".  It seems the install-exec-hook doesn't remove the last to be installed.
  Add targets for plugin test libraries to avoid linking to external libs.
2017-04-21 15:32:13 -05:00
lrknox
7bd516f2ea Our best effort to build dynamic plugin tests and not install them with
"make install".  It seems the install-exec-hook doesn't remove the last
to be installed.
2017-04-21 14:32:45 -05:00
Allen Byrne
aeb1500897 Merge remote-tracking branch 'origin/develop' into
bugfix/HDFFV-9655-plugin-path-relative
2017-04-21 10:41:50 -05:00
Allen Byrne
ae1144f882 HDFFV-9655 fix compile and test 2017-04-21 10:02:43 -05:00
lrknox
6ef69b7b17 Add targets for plugin test libraries to avoid linking to external libs. 2017-04-20 16:51:21 -05:00
Dana Robinson
5ed622b9ca The cache_image test shows a skipped message about EoC in parallel. 2017-04-20 16:11:47 -04:00
Dana Robinson
d594cb2cc6 Added code to disable the evict-on-close feature in
the parallel library.
2017-04-19 18:28:21 -04:00
Allen Byrne
0b226bd28b HDFFV-10170 undo patch 2017-04-18 11:04:22 -05:00
Allen Byrne
9b234d74bb Add plugin options for libs 2017-04-18 10:38:14 -05:00
Allen Byrne
e718e2ab31 HDFFV-10170 fix command syntax 2017-04-17 13:51:45 -05:00
Allen Byrne
afcede5368 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '5f7822fac4673cdb9e8ed60d104566c9df43303f':
  Express test mods to test/cache.c
2017-04-17 12:34:10 -05:00
mainzer
4651eb738d Express test mods to test/cache.c
Modified test/cache.c to skip the smoke checks with paged aggregation
for all express test levels other than 0

Change to src/H5PL.c seems to be the result of autogen.sh.  As it
seems to be correct, I am checking it in.

Tested serial and parallel (debug only) on jelly.
2017-04-14 23:44:23 -05:00
Allen Byrne
9363223fb6 HDFFV-10170 chnage test libs to noinst type 2017-04-13 13:37:56 -05:00
Vailin Choi
3d1b227a67 Skip tests for page buffering in test/fheap.c for parallel build
Skip the two tests for page buffering in test/fheap.c because this feature is disabled in parallel.
Activate full testing when this feature is re-enabled in the future for parallel build.
2017-04-13 02:47:23 -05:00
Vailin Choi
7eda1e3c6a Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2821b8bd768138db6b5f917a5b7325f878f8f7d0':
  Fix URL name
  DAILYTEST-250 change test props to reduce timeout
2017-04-11 18:09:03 -05:00
Allen Byrne
a79ab2d39e DAILYTEST-250 change test props to reduce timeout 2017-04-11 12:57:19 -05:00
Vailin Choi
9742792f8c Fix for H5Dset_extent test failure with extensive array indexing (HDFFV-9771)
1) Calculate chunk index for extensive array index based on swizzled max chunks when unlim_dim > 0
2) Minor fixes to test/fheap.c that somehow were missed from last check in.  See pull request #396 review comments.
2017-04-11 11:59:27 -05:00
Quincey Koziol
da4b690977 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_hyperslab_updates 2017-04-11 08:40:00 -07:00
Vailin Choi
b3ff39585c Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '4a05d27c6fcef81612e005b6f6429ab362247492':
  HDFFV-10143 add missing javadoc param
  Add missing test status
  Fix CMake regex commands
2017-04-06 21:32:23 -05:00
Allen Byrne
177a8ba30e Add missing test status 2017-04-06 14:29:47 -05:00
Vailin Choi
ad2963de60 Modify test/fheap.c to run with various file space strategies and/or page buffering
Modify test/fheap.c to run with different combinations of file space strategies and page buffering
only when ExpressMode is 0 (HDF5TestExpress is 0).
Tested on ostrich, platypus, mayll, emu, osx1010test, quail, kite, kituo.
2017-04-05 15:43:00 -05:00
Allen Byrne
857f515325 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '60bb3fd1108e2006a79b008d031a0f68a1e6b393':
  Re-enabled fixed array index testing in the test_random_rank4_vl() test in test/set_extent. This was fixed some time ago, but the test was never re-enabled for that index type.
2017-04-05 09:41:32 -05:00
Dana Robinson
f060e05999 Re-enabled fixed array index testing in the test_random_rank4_vl() test
in test/set_extent. This was fixed some time ago, but the test was
never re-enabled for that index type.
2017-04-04 20:20:12 -04:00
Allen Byrne
c2941faa66 Fix typo deletion 2017-04-04 10:15:56 -05:00
Allen Byrne
cbdc1250ce HDFFV-10143 clean up format and function return 2017-04-04 09:53:42 -05:00
Allen Byrne
1f88a34fa7 Update with checks for index bounds 2017-04-03 12:34:17 -05:00
Allen Byrne
87e8da6600 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2412158ed8326a3f3d62fbd947e470667d0b5951':
  Add new file COPYING_LBNL_HDF5.
  Revert "Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries"
  Add LBNL license file and modify COPYING file accordingly.
  Omnibus checkin for several relatively minor modifications:
  Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries in this branch version of RELEASE.txt should be intended for the future 1.12.0 release.
  Fix HDFFV-8089 Description:     Some code within an "ifdef H5D_CHUNK_DEBUG" block was using outdated     data structure but not caught because the case of H5D_CHUNK_DEBUG being     defined was never tested.  It was commented out.     I defined H5D_CHUNK_DEBUG, tested, and commented out again. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-03 09:23:27 -05:00
Allen Byrne
1eb4693aa8 HDFFV-10143 surround will fail with try block 2017-03-30 17:11:50 -05:00
Allen Byrne
8e66383393 HDFFV-10143 typo cleanup 2017-03-30 17:03:08 -05:00
Allen Byrne
e40a33f74d HDFFV-10143 typo removed 2017-03-30 16:55:33 -05:00
Allen Byrne
b46aa5aff7 Fix code error and use H5PL_MAX_PATH_NUM in test 2017-03-30 16:48:10 -05:00
Allen Byrne
51412aa48c HDFFV-10143 Cleanup due to comments 2017-03-30 15:03:31 -05:00
Allen Byrne
e51c624ac0 HDFFV-10143 remove debugging output 2017-03-30 14:47:38 -05:00
Allen Byrne
d29548351f HDFFV-10143 change h5PLget to use buffer like H5Iget_name 2017-03-30 14:40:03 -05:00
Allen Byrne
af4d79cbb6 HDFFV-10143 change put to replace and add const 2017-03-30 13:22:43 -05:00
Allen Byrne
1dee0d4627 HDFFV-10143 Fix initial issues from review 2017-03-30 12:15:25 -05:00
Allen Byrne
bb80ae9854 HDFFV-10143 add APIs to manipulate plugin path table 2017-03-28 13:35:49 -05:00
mainzer
afd8f64c29 Omnibus checkin for several relatively minor modifications:
1) Added code test/page_buffer.c to verify that page buffering is
   disabled in parallel builds.

2) Added code to test/cache_image.c to verify correct interaction
   between evict on close and cache image -- in particular management
   of a file containing a cache image containing dirty metadata that
   has been opened R/O.  Also fix for the bug exposed.

3) Added code to testpar/t_cache_image.c to verify expected procedure
   for reading cache images, and also supporting stats collection code
   needed for the test.

4) Repair of an overactive sanity check in H5C__reconstruct_cache_contents().

5) Other minor tidies in passing.

Tested serial and parallel, debug and production on Jelly.
2017-03-28 11:21:40 -05:00
Quincey Koziol
37de3f30e4 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_hyperslab_updates 2017-03-27 20:29:44 -07:00
Quincey Koziol
8859a5a270 Checkpoint normalization against incoming hyperslab / selection / dataspace
improvements.
2017-03-27 20:25:06 -07:00
lrknox
b461f1818b Run all scripts using signal files between processes in their own directories to avoid accidental deletion of the signal files. 2017-03-21 22:58:41 -05:00
lrknox
42141478f2 Run swmr tests in their own subdirectory of test to avoid signal
file deletion by other tests.
2017-03-17 17:24:21 -05:00
lrknox
98567db192 output_filter.sh:
Comment added to address HDFFV-8270.  The sample ontput in the
        file's comments are not up-to-date with the scripts in the file
        that remove output unique to certain systems when running test
        scripts.  This output doesn't match expected output files for
        the tests, causing them to fail.  Ther output_filter.sh file
        removes such output.  Currently we don't have access to these
        systems to update the comments.

testflushrefresh.sh.in:
        flushrefresh and other SWMR tests have been failing
        occasionally but regularly since bringing them to the develop
        branch.  The logs and debugging point to unexpected deletion of
        signal files as the point of failure, and John Mainzer suggests
        that two such tests running simultaneously in the same directory
        may lead to the operating system deleting the other test's
        signal file. Running the flushrefresh test in its own directory
        seems to solve the problem.
2017-03-15 12:49:19 -05:00
Quincey Koziol
ecfdadfb1e Correct double sourcedir name on copied datafiles. 2017-03-14 20:58:21 -07:00
Quincey Koziol
0313cbb91d Final merge of page buffering branch to develop 2017-03-13 21:30:37 -07:00
Quincey Koziol
4fad103187 Bring changes to I/O parameters from page_buffering branch. 2017-03-13 08:21:28 -07:00
Quincey Koziol
0b78740ff4 Merge in reentrency changes to "make space in cache" from page_buffering branch. 2017-03-13 07:45:42 -07:00
Quincey Koziol
c4a36e0bb3 Minor cleanups and bring over "prefetched dirty" fixes for entries loaded from
a cache image.
2017-03-12 01:57:19 -08:00
Allen Byrne
71fa3dc480 Fix alignment 2017-03-08 11:51:17 -06:00
Allen Byrne
12b87f0f84 Fix vds tests
java wrong call
vds test - missing checks and if content
2017-03-07 10:06:38 -06:00
Allen Byrne
0df90f9f79 Merge pull request #321 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f4dd30f41ccee7bcd97fba065573c5201cbcc743':
  Update CMake formatting
  Update CMake files and formatting
  HDFFV-10120 verify nozlib checking with tools tests
  cmake non-code typo
2017-03-02 12:11:19 -06:00
Quincey Koziol
a04bf9bf7f Merge pull request #319 in HDFFV/hdf5 from merge_page_buffering_07 to develop
* commit '5df52404bc6f6323ebf064b3d82b8e683de96eba':
  Misc. small cleanups to sync against incoming page buffering changes.
2017-03-02 11:25:40 -06:00
Dana Robinson
acdd8463bf Added "flush" and "refresh" to testflushrefresh.sh error output so
it's easier to see where errors in the script occur.
2017-03-02 10:45:41 -05:00
Quincey Koziol
5df52404bc Misc. small cleanups to sync against incoming page buffering changes. 2017-03-02 06:24:46 -08:00
Allen Byrne
2562ec3a4b Update CMake files and formatting 2017-03-01 14:47:53 -06:00
Allen Byrne
cae5e0ad07 cmake non-code typo 2017-03-01 09:58:59 -06:00
Quincey Koziol
cf93261099 Correct issues from pull request reviews. 2017-02-28 08:41:57 -08:00
Quincey Koziol
5db402afbb Corrected version of 4b5e05c084:
Fix some more signed -> unsigned value issues with cache data structures,
    also misc. style cleanups.  All to align w/incoming page_buffering changes.
2017-02-27 21:45:55 -08:00
Quincey Koziol
e5fb4191de Revert "Fix some more signed -> unsigned value issues with cache data structures, also"
This reverts commit 4b5e05c084.
2017-02-27 21:23:44 -08:00
Quincey Koziol
4b5e05c084 Fix some more signed -> unsigned value issues with cache data structures, also
misc. style cleanups.  All to align w/incoming page_buffering changes.
2017-02-22 23:21:41 -08:00
Quincey Koziol
101fa7af8e Cleanups and normalizations against incoming page_buffering changes. 2017-02-19 18:28:52 -08:00
Allen Byrne
220cf7d326 Revert whitespace 2017-02-13 14:16:24 -06:00
Allen Byrne
960f694197 Close file before trying to remove it 2017-02-13 14:11:13 -06:00
Dana Robinson
d875f7f3e6 Minor warning fixes. 2017-02-09 11:44:38 -05:00
Dana Robinson
46ede7f039 Deleted an extraneous remove() call from a test function
that might be causing the flushrefresh test to fail.
2017-02-08 14:49:25 -05:00
Dana Robinson
bb354058c0 Added #ifdef QAK macros around log VFD calls in SWMR acceptance
tests.
2017-02-08 11:29:04 -05:00
Allen Byrne
c699bbc8bf HDFFV-10125 cache_common file already in test lib 2017-02-02 16:30:23 -06:00
Allen Byrne
2b383bb8ff HDFFV-10124 Using cache_common.h contains other include files 2017-02-02 11:55:01 -06:00
Allen Byrne
21d48c1d1f Fix Windows static only cache test checking 2017-01-31 09:26:44 -06:00
Quincey Koziol
a9808853d5 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_06 2017-01-28 23:27:08 -08:00
Quincey Koziol
3ad18072eb Add missing files 2017-01-28 23:21:22 -08:00
Quincey Koziol
1949d5756d Cache image feature and testing 2017-01-28 23:19:37 -08:00
Quincey Koziol
5a776edb81 Bring change to use array of metadata cache entry classes for H5C_create
instead of array of class names from cache image branch.
2017-01-27 23:18:47 -08:00
Quincey Koziol
349f41d974 Switch list lengths to unsigned integers (to align better w/cache image merge) 2017-01-27 20:35:14 -08:00
Dana Robinson
081955fdd1 Additional minor changes from revise_chunks->develop. 2017-01-27 16:46:09 -05:00
Dana Robinson
2cac1c0637 Moved remaining SWMR-related test files to develop. 2017-01-26 14:34:12 -05:00
Allen Byrne
6b9a7cece4 Disable SHARED cache test on windows 2017-01-24 09:28:11 -06:00
Allen Byrne
556ff06975 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bd85e57904f1f943774bb99ea5e8b0d074db0edb':
  tools/test/h5diff/testh5diff.sh.in:          Add code to delete copies of test .h5 files copied from          tools/testfiles/vds to tools/test/h5diff/testfiles when running          "make check" for an in-source build.
2017-01-13 10:57:26 -06:00
lrknox
8452976de5 tools/test/h5diff/testh5diff.sh.in:
Add code to delete copies of test .h5 files copied from
         tools/testfiles/vds to tools/test/h5diff/testfiles when running
         "make check" for an in-source build.

    tools/test/misc/testh5repart.sh.in:
         Change the name of the temporary test directory from "testfiles"
         which is also used for 2 h5mkgrp test files under source control to
         "testrepart" to avoid deleting source controlled files when running
         "make check" in the source directory.

    Fix test scripts that remove source-controlled files during "make check" when run in-source.
    Fix test scripts that don't remove test files because they add files to test directories but don't remove them if the build directories are the same as the source directory.

    Fix any test source file or Makefile.am files for tests that leave data files are removed by neither "make check" nor "make distclean".
2017-01-12 22:20:11 -06:00
Allen Byrne
1bca531a73 Remove duplicate command 2017-01-12 09:04:10 -06:00
Allen Byrne
244faaa0d0 HDFFV-10094: upgrade cmake command conventions
Also converted tests to use macros
2017-01-11 14:02:34 -06:00
Allen Byrne
e1bcae8a6a Update cmake min version and cmake command convention 2017-01-10 17:10:03 -06:00
Quincey Koziol
8d4c84eae2 Bring changes to metadata cache "get entry status" call and new
"child serialized / unserialized" messages and support from the cache image
branch.
2017-01-06 11:37:17 -08:00
Quincey Koziol
7568dcaf15 Add "image up to date" flag / parameter to metadata cache entry status calls. 2017-01-06 07:51:40 -08:00
Quincey Koziol
afd7e5b476 Bring file shutdown code from cache image branch 2017-01-04 21:36:14 -08:00
Quincey Koziol
e73a32b852 Remove 'const' from cache client pre_serialize callback, to reduce warnings,
and correspondingly remove 'const' from some internal routines.  Also rename
some H5MF* routines to reflect their static/package usage.
2017-01-03 08:28:05 -08:00
Dana Robinson
105b6f0f65 Merge pull request #227 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
flush1/2 fix w/ non-SWMR VFDs + code overhaul

* commit 'fcb7e204b568efb785f47153172147b83da5418a':
  Updated the flush1/2 test to not be a mess and to handle non-SWMR-enabled VFDs.
2016-12-31 07:20:09 -06:00
Dana Robinson
fcb7e204b5 Updated the flush1/2 test to not be a mess and to handle
non-SWMR-enabled VFDs.
2016-12-30 14:41:37 -05:00
Dana Robinson
3908d10f93 Merge pull request #226 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
Added a missing "vfd check" test file for use in scripts (should have been brought from revise_chunks).

* commit 'e41a15b7f07dc39b7d68f4635965d0b8b440d299':
  Added a missing test file needed for the flushrefresh script.
2016-12-30 10:37:58 -06:00
Dana Robinson
e41a15b7f0 Added a missing test file needed for the flushrefresh script. 2016-12-30 10:06:07 -05:00
Quincey Koziol
0610c41c75 Bring support for doubly-linked list of all entries in cache from incoming
cache image branch.
2016-12-30 02:22:48 -08:00
Quincey Koziol
da2f1610d1 More normalizations against incoming cache image branch. 2016-12-29 02:40:26 -08:00
Quincey Koziol
eefddf2813 Bring new/updated tests from revise+chunks branch: flush1/flush2 update and
flushrefresh test.  (Also refactor of message send / wait code)
2016-12-19 20:44:54 -08:00
Quincey Koziol
f8cfbee05e Merge SWMR-related testing to existing tests. 2016-12-18 02:19:26 -08:00
Quincey Koziol
fc482f126f Bring over tweak for missing environment variable. 2016-12-18 00:59:36 -08:00
Quincey Koziol
104253575d Update CMake configuration files with SWMR accumulator changes. 2016-12-18 00:58:46 -08:00
Quincey Koziol
f01ee3c004 Add missing accumulator test. 2016-12-18 00:42:15 -08:00
Quincey Koziol
b772be716d Merge SWMR-oriented accumulator tests from revise_chunks to develop. 2016-12-18 00:41:13 -08:00
Quincey Koziol
feb9d1f676 Bring over changes from revise_chunks that cleanup recent SWMR changes from
code review feedback.
2016-12-11 00:28:05 -08:00
Dana Robinson
cc6eb939f4 Merge pull request #191 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_h5fs_fix to develop
Final fix for evict-on-close issues with new-style groups.

* commit '02879bc4b2ba161dc259bf28a71e7a99b44be0e3':
  Updated the H5FS cache code to grab the correct tag and modified the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
  Changed the name of H5MF_alloc_close() to H5MF__alloc_close() to make the FUNC_ENTER macro happy.
  Reverted the freespace test. The TAG macros in H5MF_get_freespace() make the changes unnecessary.
  Added missing TAG macros to H5MF_get_freespace().
  Updated the freespace test so functions take a common, tagged dxpl so the test will work with the new H5FS tag changes.
  Updated the cache_tagging test so it correctly analyzes the new fractal heap free space manager behavior.
  Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG gets set on the dxpl correctly. Also restored the TAG macro to H5FS__cache_hdr_pre_serialize() since otherwise the tag won't be initialized.
  First cut at fixing the tagging issue with the free space managers. * Converted the tag macros to regular ones so the parent's tag   is used via the dxpl.
2016-12-10 08:09:40 -06:00
Dana Robinson
02879bc4b2 Updated the H5FS cache code to grab the correct tag and modified
the freespace test to use dxpls that have been tagged with
the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id.
The library code now expects the owner of the free space manager
to tag it so the owner-less free space managers in the freespace
tag had to be tagged with *something* to avoid cache errors.
2016-12-07 21:16:12 -05:00
Dana Robinson
16a5c7c8f3 Merge branch 'develop' into eoc_h5fs_fix 2016-12-07 17:21:07 -05:00
Allen Byrne
fa6488d785 Reduce timeout as normal run time on windows is less then 10 min 2016-12-05 09:40:57 -06:00
Quincey Koziol
64a339183f Bring SWMR support in to the main development branch. (Finally!) More tests
and the tool and API wrappers will be coming in over the weekend.
2016-12-02 08:07:04 -08:00
Dana Robinson
3186fd93dc Reverted the freespace test. The TAG macros in H5MF_get_freespace()
make the changes unnecessary.
2016-11-30 03:26:34 -05:00
Dana Robinson
6744963c61 Updated the freespace test so functions take a common, tagged
dxpl so the test will work with the new H5FS tag changes.
2016-11-30 02:38:34 -05:00
Dana Robinson
916eaa4ab8 Updated the cache_tagging test so it correctly analyzes
the new fractal heap free space manager behavior.

Also converted the debug output of the cache_tagging
test to use the revised H5AC_dump_cache() function.
2016-11-30 02:20:09 -05:00
Dana Robinson
a046ac31d2 First cut at fixing the tagging issue with the free space managers.
* Converted the tag macros to regular ones so the parent's tag
  is used via the dxpl.

* Updated the tag sanity check logic so for free space managers.

* Turned new-style group checks back on in test/evict_on_close.c
2016-11-29 23:53:52 -05:00
Dana Robinson
63bcd73f1f Merge pull request #179 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Fix for some evict-on-close issues revealed by Valgrind.

* commit 'd3dbe9d90ee71b231b3264e1d62d3efbae3242ef':
  Tentative fix for valgrind issues related to EoC.
2016-11-29 20:22:47 -06:00
Dana Robinson
d3dbe9d90e Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-29 15:06:37 -05:00
Dana Robinson
30bd7247d8 Merge branch 'develop' into expanded_eoc_test 2016-11-29 12:52:46 -05:00
Quincey Koziol
b092dbcdfd Bring over another batch (hopefully the last) of non-SWMR "normalization"
changes from the revise_chunks branch.
2016-11-28 16:34:36 -08:00
Dana Robinson
978e83fb5b Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:01:10 -05:00
Dana Robinson
4ddc4a602f Merge pull request #171 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fix for tfile.c valgrind issues.

* commit '191cc19ae0a2feb72d2171a0808fdc71a3b862dd':
  Added vlen reclaim functions to a test in tfile.c that leaks memory.
2016-11-28 09:37:23 -06:00
Dana Robinson
d79c73320e Updated the evict-on-close test to create a large number of subgroups
in a containing group. This will ensure that many cache entries will
be used, making a better test of EoC functionality.
2016-11-27 23:42:08 -05:00
Dana Robinson
2c3d02e6e5 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-26 13:11:08 -05:00
Dana Robinson
a8d1aff235 Tentative fix for valgrind issues related to EoC.
Adds /*out*/ parameters to H5O_close() and H5F_try_close() so
that H5D/G_close() will know when H5O_close() has triggered a
file close and thus the file struct is not reliable.

Also removes the H5F_CLOSING() macro and related which were
formerly used to check if the file was closing.
2016-11-26 10:47:32 -05:00
Dana Robinson
191cc19ae0 Added vlen reclaim functions to a test in tfile.c
that leaks memory.
2016-11-23 16:45:47 -05:00
Dana Robinson
b0321f7e7d Merge pull request #170 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fixed a few memory issues in the tests.

* commit 'e2863ca880a6983558d3ba3e5219164a57287f04':
  Fixed a few memory problems in test/cache_logging.c and test/h5test.c (which show up in test/vfd.c).
2016-11-23 12:58:12 -06:00
Dana Robinson
e2863ca880 Fixed a few memory problems in test/cache_logging.c and
test/h5test.c (which show up in test/vfd.c).
2016-11-22 20:55:03 -05:00
Allen Byrne
c2e60909e3 Add test to memcheck ignore and increase cache test timeout 2016-11-22 15:04:34 -06:00
Quincey Koziol
3b0c2b24da Bring over support for retrying metadata cache entry loads, along with all the
supporting metadata cache callback changes, etc.
2016-11-20 04:24:57 -08:00
Quincey Koziol
eba0ff43c9 Remove 'clear' callback from metadata cache client interface, using the
new 'entry cleaned' notify action innstead.
2016-11-17 17:48:21 -08:00
Quincey Koziol
be27e1ad79 Remove explicit support within the metadata cache for tracked compressed
entries, they are now completely handled in the clients.
2016-11-17 12:58:04 -08:00
Quincey Koziol
d4591ff54d Bring over new 'notify' metadata cache client callback actions for when an
entry is cleaned / dirtied or its [flush dependency] child entry is cleaned /
dirtied.
2016-11-12 14:01:30 -08:00
Quincey Koziol
d183e9a1a2 Merge pull request #155 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_05 to develop
* commit '1c6924f18bd8fdad63c4f191c00605092c17fa6e':
  Refactor H5O code to clean up message allocation, align cache deserialize code with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 13:01:58 -06:00
Quincey Koziol
1c6924f18b Refactor H5O code to clean up message allocation, align cache deserialize code
with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 01:05:47 -08:00
Quincey Koziol
80ac4343cd Align w/minor cleanups in revise_chunks branch. 2016-11-11 23:14:58 -08:00
Quincey Koziol
9504d3f337 Switch to new, more scalable, metadata cache entry tagging. 2016-11-06 23:14:10 -08:00
Quincey Koziol
bb6cb6adb0 Code style and warning cleanups, from revise_chunks branch. 2016-11-06 12:08:19 -08:00
Quincey Koziol
0d12ce44b2 Add cache logging test. 2016-11-03 23:27:10 -07:00
Frank Willmore
b2948d9f97 Merge pull request #100 in HDFFV/hdf5 from ~FRANK.WILLMORE/hdf5:HDFFV-8882-replace-numeric-exit-code-with to develop
* commit '526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850':
  Changes to be committed: 	modified:   bittests.c 	modified:   cmpd_dset.c 	modified:   dsets.c 	modified:   dt_arith.c 	modified:   dtypes.c 	modified:   extend.c 	modified:   fillval.c 	modified:   filter_fail.c 	modified:   flush1.c 	modified:   gen_cross.c 	modified:   hyperslab.c 	modified:   istore.c 	modified:   links.c 	modified:   links_env.c 	modified:   objcopy.c 	modified:   plugin.c 	modified:   tcheck_version.c 	modified:   unlink.c 	modified:   unregister.c
2016-11-03 16:28:29 -05:00
Quincey Koziol
7ac8215cbf Merge pull request #123 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'b2878dec04c120e4e3cdf00e943283e359862c84':
  Move cache debugging routines into separate module.
  Change file memory type for extending to default, and correct error in backward compatibility for multi VFD.
  Warning and whitespace cleanup.
  Improvements to the log VFD, for helping with SWMR debugging.
  Minor code cleanups.
  Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping in tools code.
2016-11-03 16:15:26 -05:00
Quincey Koziol
84787e3085 Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping
in tools code.
2016-11-03 08:46:53 -07:00
Dana Robinson
30f5f7d9f9 Removed commented-out lines that clean up test files. 2016-11-03 11:31:02 -04:00
Dana Robinson
c41321a9f7 Added a test for old- and new-style groups under evict-on-close. 2016-10-29 21:12:07 -04:00
Dana Robinson
de3abdf5d7 Evict-on-close now works with groups.
test/evict_on_close.c has been updated to generate
groups but does not yet check EoC works correctly.
2016-10-28 15:58:18 -04:00
Frank.Willmore
526bcc242d Changes to be committed:
modified:   bittests.c
	modified:   cmpd_dset.c
	modified:   dsets.c
	modified:   dt_arith.c
	modified:   dtypes.c
	modified:   extend.c
	modified:   fillval.c
	modified:   filter_fail.c
	modified:   flush1.c
	modified:   gen_cross.c
	modified:   hyperslab.c
	modified:   istore.c
	modified:   links.c
	modified:   links_env.c
	modified:   objcopy.c
	modified:   plugin.c
	modified:   tcheck_version.c
	modified:   unlink.c
	modified:   unregister.c

Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
2016-10-25 09:53:44 -05:00
Dana Robinson
5309971949 Fixed Windows dsets.c test failure.
A 'static' keyword was removed from an array that needs it on Windows
during a warning removal overhaul. Replacing it fixes the error.

Tested on: 64-bit Windows 7 w/ VS 2015
2016-10-14 15:45:38 -04:00
Dana Robinson
9d4cbecb2f Revert "Fixed Windows test failures."
This reverts commit f1dcda5c8e.
2016-10-14 15:42:55 -04:00
derobins
f1dcda5c8e Fixed Windows test failures.
Replaced a static keyword that was deleted during a warnings overhaul.

Tested on 64-bit Visual Studio 2015
2016-10-14 15:32:27 -04:00
Dana Robinson
dd47e42313 Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.c 2016-10-01 07:23:57 -04:00
Dana Robinson
77e7c43bf0 Merge branch 'develop' into evict_on_close 2016-09-30 04:31:59 -04:00
Dana Robinson
31b033e214 Added full implementation of EoC cache test. 2016-09-30 04:26:39 -04:00
Dana Robinson
a2fe6f7db9 Added code to create the test file for all chunk index and layout types. 2016-09-30 03:24:44 -04:00
Quincey Koziol
5a78801830 Clean up hardcoded constants and check return values better. (Comments from
group code review)
2016-09-29 13:17:55 -07:00
Quincey Koziol
1853868fdc Description:
Cleanups from Dana's review.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/C++ & FORTRAN
    (h5committest forthcoming)
2016-09-29 11:01:23 -07:00
Dana Robinson
ce11185fbb Fleshed out evict on close test that inspects cache. 2016-09-29 13:26:32 -04:00
Quincey Koziol
fa66428a6d Description:
Further warning cleanups: from 667 warnings to 503.
2016-09-27 10:29:16 -07:00
Dana Robinson
2638cbbbff Added the beginnings of a file generator to the test. 2016-09-24 02:54:27 -04:00
Dana Robinson
36fd53f70f Fixed typo 2016-09-24 02:54:00 -04:00
Dana Robinson
7f817fea7c Merge branch 'develop' into evict_on_close 2016-09-14 17:02:43 -04:00
Dana Robinson
c1c384878b Added missing evict on close test file line to test/CMakeLists.txt. 2016-09-14 16:50:29 -04:00
Allen Byrne
9bcb5305db Add longer timeout to cache tests - test has consistently exceeded
default timing.
2016-09-06 10:13:28 -05:00
Vailin Choi
c8af99f530 [svn-r30308] Fix for HDFFV-7991--error when copying dataset with attribute which is a compound datatype consisting of
a variable length string.
Tested on mayll, platypus, osx1010test, emu, kituo, kite, quail, moohan, ostrich.
2016-08-19 15:58:16 -05:00
Dana Robinson
c58ca9e28b [svn-r30306] Updated vfd test to be better about fapls and h5_reset().
Prevents the test from segfaulting in other sub-tests
when a previous test fails.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial + direct VFD (vfd test only)
           Also tested with a forced error to ensure
           that the test no longer segfaults and 
           confirmed that all test files are cleaned up.
2016-08-19 11:30:05 -05:00
Dana Robinson
6d7ac8aa15 [svn-r30297] Changed FAIL_STACK_ERROR to TEST_ERROR in test/vfd.c.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, vfd test only
2016-08-18 09:20:03 -05:00
Dana Robinson
9f163e69f5 [svn-r30295] Minor whitespace cleanup in h5test.c.
Tested on: 64-bit Ubuntu 16.04 LTS w/ gcc 5.4.0
           Autotools serial w/ make check-vfd
2016-08-17 13:59:45 -05:00
Quincey Koziol
e10e6721a6 [svn-r30292] Description:
Correct failure on older Windows compilers.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-16 09:02:21 -05:00
Quincey Koziol
f40381b0ea [svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-13 04:23:53 -05:00
Neil Fortner
7ee176d29b [svn-r30275] Rework test_mf_bug1 to work with multi and split drivers.
Tested: ummon
2016-08-09 16:36:01 -05:00
Neil Fortner
36c595e5ea [svn-r30268] Remove failure causing code in test/mf.c unintentionally added in r30264. 2016-08-08 15:37:56 -05:00
Neil Fortner
297268f238 [svn-r30264] Fixed an issue that could occur when using H5Pset_alignment where a block could
be unaligned, causing an assertion failure.

Tested: koala, ostrich, jelly (h5committest), ummon
2016-08-08 13:46:21 -05:00
Allen Byrne
7e49cb802a [svn-r30245] remove incorrect copy 2016-08-01 16:44:43 -05:00
Allen Byrne
21cafd9cf4 [svn-r30241] JAVA-1920: new filter for tests. 2016-08-01 13:19:06 -05:00
Allen Byrne
0e99aa203a [svn-r30240] JAVA-1920: Create a filter plugin test that has a filter which calls a HDF5 function. 2016-08-01 13:17:36 -05:00
Allen Byrne
bac4cf8e92 [svn-r30238] Follow-on to HDFFV-9928: remove unconditional call of time.h type headers. Also remove duplicated includes when h5private.h is used. 2016-08-01 12:38:34 -05:00
Allen Byrne
e55844b752 [svn-r30237] HDFFV-9939: Change cmake commands to reduce POST_BUILD custom commands. Fixes possible overruns on windows command lines. 2016-08-01 12:35:00 -05:00
Dana Robinson
e61ed09aab [svn-r30228] Changed a few printf calls to HDprintf in file_image.c.
Checked the return value of a read() call to clean up a warning.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, file_image test only
2016-07-29 21:02:10 -05:00
Dana Robinson
faea627254 [svn-r30224] Added HDprintf() macro that uses HDfprintf w/ stdout.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-07-27 11:56:42 -05:00
Quincey Koziol
4af66b09e0 [svn-r30219] Description:
More warning cleaups: down to 770 warnings (from ~940) in 134 files (from
148), with 28 unique kinds of warnings (from 31).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-22 17:43:18 -05:00
Quincey Koziol
d3b724f86a [svn-r30201] Description:
Switch test framework to dynamically allocate the testing array, and
expand the length of the description field.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-18 17:36:44 -05:00
Quincey Koziol
bb19817c9f [svn-r30189] Description:
Clean up more warnings: drop the warning count from ~1310 down to ~940,
with only 31 types of warnings in 148 files (down from 38 types in 167 files).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-17 19:18:42 -05:00
Dana Robinson
c8f4641507 [svn-r30184] Converted h5_fileaccess() to H5Pcreate() in the sec2 test.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, vfd test only w/ various VFDs
2016-07-14 08:55:50 -05:00
Dana Robinson
b2c8ac133c [svn-r30163] Changed a h5_fileaccess() call to H5Pcreate() in the core VFD test.
Since it only tests the core VFD, there's no need to get a
VFD-dependent fapl.

Tested on:

    64-bit Ubuntu Linux w/ gcc 5.3.1
    vfd test w/ all VFDs tested by make check-vfd
2016-07-09 01:43:11 -05:00
Quincey Koziol
ec2fbe0883 [svn-r30158] Description:
More warning cleanups.  This brings us down to ~1300 warnings in 167 files

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-07 13:54:11 -05:00
Vailin Choi
88476380be [svn-r30151] Fix daily test failures for checkin #30143 for HDFFV-9940.
Tested on osx1010test, moohan, emu, kituo.
2016-07-06 18:08:42 -05:00
Dana Robinson
130f8135ca [svn-r30148] Expanded core VFD test in vfd.c. Minor tidying to sec2 VFD test also.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-07-05 20:40:31 -05:00
Vailin Choi
af0829aa17 [svn-r30143] Fix for HDFFV-9940.
Tested on jam, osx1010test, moohan, platypus, emu, kite, kituo, mayll, ostrich, quail.
2016-07-03 23:06:34 -05:00
Dana Robinson
c15d93826b [svn-r30118] Sync with trunk. 2016-06-29 10:13:20 -05:00
Quincey Koziol
83724bd787 [svn-r30113] Description:
Clean up warnings (from 2774 -> 1560, with my standard debug build)

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:53:48 -05:00
Quincey Koziol
b8f809981b [svn-r30112] Description:
Move updated flush dependency code in metadata cache from revise_chunks
branch to trunk.  Also many of the cleanups from r30111 in the revise_chunks
branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:39:09 -05:00
Dana Robinson
3d13b7c6ee [svn-r30110] Added missing evict_on_close.c file to test/. 2016-06-27 16:04:52 -05:00
Dana Robinson
75aa26981b [svn-r30084] First pass at the evict-on-close feature.
The features is controlled via H5Pset/get_evict_on_close()
and is currently enabled by default (it will be disabled
by default in the final implementation).

There is a bug in the code where the eviction of tagged
metadata fails due to some of the metadata being dirty,
resulting in error return values and test failures.
2016-06-15 13:55:59 -05:00
Quincey Koziol
d3396a7953 [svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks
branch to trunk.  Also CMake support for h5format_convert and a bunch of
misc. cleanups.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-14 18:07:03 -05:00
Quincey Koziol
7a9e13afdb [svn-r30068] Description:
Bring metadata cache corking to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-13 12:49:39 -05:00
Quincey Koziol
03dafc5ebe [svn-r30020] Description:
Bring r29992 from revise_chunks branch to trunk:

Turn off error reporting for h5debug and hdf2gif.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & produciton
    (h5committest forthcoming)
2016-06-05 21:30:16 -05:00
Quincey Koziol
dd6c8994c0 [svn-r30017] Description:
Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from
revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production.
    (h5committest forthcoming)
2016-06-05 19:45:37 -05:00
Dana Robinson
fcaf9c483a [svn-r30002] Fixed some minor warnings in H5AC.c and H5C.c, cleaned up warnings
in the cache tests, and made some huge static arrays dynamic
in the cache tests.

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-06-01 12:02:30 -05:00
Quincey Koziol
cc95ed32fd [svn-r29978] Description:
Bring r29914 from revise_chunks branch to trunk:

Banished -Wformat= warnings from the library, tools, and tests.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 02:03:37 -05:00
Quincey Koziol
a6303ce04c [svn-r29975] Description:
Bring r29909 from revise_chunks to trunk:

Cleaned up "conflicts with C++ keyword" warnings.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 01:18:56 -05:00
Allen Byrne
29a5f10619 [svn-r29963] Fix plugin test executable link library 2016-05-24 15:16:40 -05:00
Dana Robinson
7924f465c2 [svn-r29959] Fixed some bad logic in the cache_api test that caused
EXIT_FAILURE to be returned from the test.

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-05-24 13:03:53 -05:00
Dana Robinson
dd85db8cd2 [svn-r29957] Changes to cache_api.c
- Cleaned up mixed tabs and spaces that mis-aligned brackets.
- Test functions now return hbool_t to match the global pass variable.
- Main now returns EXIT_SUCCESS/EXIT_FAILURE.
- The invalid_configs array is now allocated dynamically instead
  of statically. This reduces the frame size, removing some
  warnings and making it easier for platforms/compilers that
  have frame size issues (e.g.: zOS).

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-05-24 09:46:42 -05:00
Allen Byrne
2f1b517021 [svn-r29884] VDS correction for get_space_status, with test change.
Add new files for repack tests.
Add repack tests for VDS files.
2016-05-04 11:38:08 -05:00
Allen Byrne
ca8465513d [svn-r29882] Convert cache source files to library compatible by CMake and Windows 2016-05-04 11:29:52 -05:00
Allen Byrne
5e94747c52 [svn-r29881] Add include guards.
Remove unnecessary includes.
2016-05-04 11:18:11 -05:00
Allen Byrne
1bd3635781 [svn-r29880] Add HD to sleep function calls 2016-05-04 11:16:45 -05:00
Quincey Koziol
ac72823bc2 [svn-r29844] Description:
Minor rearrangements, to align with revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 22:18:00 -05:00
Quincey Koziol
bd33a9d6da [svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from
revise_chunks branch to the trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 01:10:38 -05:00
Quincey Koziol
b0980a5f54 [svn-r29776] Description:
Bring "file pointer patching" code & test from revise_chunks to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:50:00 -05:00
Quincey Koziol
b2d6d68d5d [svn-r29770] Description:
Bring 'none' chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-23 00:03:00 -05:00
Larry Knox
c63f96d6e7 [svn-r29755] test/ohdr.c apply fix for HDFFV-9713 to not open test file in source with write permission.
config/linux-gnulibc1   reapply filx for HDFFV-9439 which was partially removed, probably by merge from revise_chunks branch.

Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-20 15:53:47 -05:00
Quincey Koziol
5108468482 [svn-r29743] Description:
Close another FAPL in the test_missing_chunk() routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-19 09:25:49 -05:00
Quincey Koziol
f7aff7d5cf [svn-r29738] Description:
Bring "single" chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-18 23:21:12 -05:00
Quincey Koziol
6ce67650fb [svn-r29736] Description:
Close FAPL that was leaked in zero_dims test.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd
    (h5committest forthcoming)
2016-04-18 21:42:30 -05:00
Quincey Koziol
062055fe60 [svn-r29730] Description:
Add missing pre-generated files to list of test files to copy.

Tested on:
    Windows (Reported by Allen)
2016-04-18 09:56:48 -05:00
Quincey Koziol
36062736a5 [svn-r29722] Description:
Bring over more dataset tests from the revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-17 02:26:51 -05:00
Quincey Koziol
ce8905cc90 [svn-r29718] Description:
Bring changes from revise_chunks branch to trunk

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel, and production
    (h5committest forthcoming)
2016-04-16 03:50:45 -05:00
Quincey Koziol
81ef260f6b [svn-r29717] Description:
Correct chunk index computation for earrays and farrays, particularly when
copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size)
that require iterating over all chunks.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:42:48 -05:00
Quincey Koziol
a916ea97b8 [svn-r29716] Description:
Add missing testfiles from dsets.c to the 'clean' target.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:40:06 -05:00
Dana Robinson
57b7130acf [svn-r29698] Switched true and false to TRUE and FALSE in a function in
test/external.c.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial (external test only)
2016-04-14 16:26:41 -05:00
Dana Robinson
e5c94192d7 [svn-r29659] Added fixed array chunk indexing from revise_chunks.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ Java, Fortran, & C++
2016-04-07 13:21:47 -05:00
Quincey Koziol
5d46ad9b39 [svn-r29635] Description:
Bring support for earray and v2 B-trees from revise_chunks branch to
trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-05 02:12:56 -05:00
Quincey Koziol
4282c5f01f [svn-r29630] Description:
Minor style cleanups, from revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel and production
    (too minor to require h5committest)
2016-04-04 22:45:38 -05:00
Quincey Koziol
3cd705e56e [svn-r29612] Description:
Bring updated layout and EFL property comparisons and new "latest format"
flags from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-03 03:48:50 -05:00
Quincey Koziol
9d2178ab88 [svn-r29607] Description:
Bring "don't filter partial edge chunks" capability from revise_chunks
to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/debug, production & parallel
    (h5committest forthcoming)
2016-04-02 04:39:32 -05:00
Dana Robinson
9333a2e39c [svn-r29548] Minor normalization w/ trunk in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 22:58:43 -05:00
Dana Robinson
32f21214bb [svn-r29545] Minor normalization w/ trunk in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 19:38:03 -05:00
Dana Robinson
0dd0ffd5c1 [svn-r29421] Fix for HDFFV-9516.
Corrects a problem where H5Dget_access_plist() returns a dapl that
does not contain all dapl fields.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-15 12:43:34 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Larry Knox
273a4a0ba0 [svn-r29341] Correct path to source code in line 227.
Tested change on emu, moohan, platypus, and quail.
2016-03-08 07:39:57 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Allen Byrne
8538eedde3 [svn-r29234] Fix H5 LIB OPTIONS macro for correct ARGN support 2016-02-29 16:24:31 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Vailin Choi
337e62226c [svn-r29202] Fix for unknown message HDFFV-9697.
Tested on jam, ostrich, platypus, kite, quail, osx1010test, emu, mayll, moohan.
2016-02-24 16:30:35 -05:00
Dana Robinson
807187e2f2 [svn-r29183] Fixed missing reopen test call in tfile from HDFFV-8740 fix.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
2016-02-22 16:45:28 -05:00
Dana Robinson
19a8216bd5 [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configure
external dataset storage path behavior.

This check-in fixes a bug in the original check-in where the
external path stored in the file struct was not copied on reopen
causing subsequent dataset operations to fail.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
           autotools parallel (MPICH 3.1.4) w/ fortran
2016-02-22 16:40:03 -05:00
Dana Robinson
e43c97fdb2 [svn-r29132] Added new single-responsibility functions to h5test.c/h that can
replace functions like h5_clean_files() that also do things like
reset the error handler and close fapls.

Existing tests have not yet been updated to use these new
functions.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-16 23:30:49 -05:00
Dana Robinson
944e932662 [svn-r29119] Converted HDoff_t to off_t in test/external.c.
Fixes Windows errors.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           64-bit Windows 10 w/ VS2015
2016-02-15 14:22:03 -05:00
Dana Robinson
5655e5a91a [svn-r29084] Revert of:
r29069 and 72 (gheap cleanup)

r29041 and 43 (HDFFV-8740 external storage)

These cause problems in the daily tests. They will be
re-introduced when their respective problems have been
addressed.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (check-vfd) w/ Fortran and C++
           autotools parallel w/ Fortran
           CMake serial
2016-02-10 23:40:10 -05:00
Mohamad Chaarawi
63c90e5c67 [svn-r29081] - merge in the phdf5_metadata_opt/ branch with the collective metadata optimizations.
- rename H5AC_dxpl_id to H5AC_ind_read_dxpl_id and update all usage in the library

tested on bb-8 with parallel and serial.
2016-02-10 15:48:34 -05:00
Dana Robinson
be36958b77 [svn-r29072] test/gheap stack size cleanup.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools (also w/ Valgrind)
2016-02-08 23:18:53 -05:00
Dana Robinson
1a4e315a5d [svn-r29069] test/gheap cleanup prior to stack size fixes.
Tested on: Linux VM (minor changes)
2016-02-08 20:38:44 -05:00
Mohamad Chaarawi
48bebcc39e [svn-r29057] added dxpl type checking when debug mode is enabled (H5_DEBUG_BUILD)
tested on bb-8 with Serial and Parallel, debug and production builds.
2016-02-07 10:37:33 -05:00
Dana Robinson
57da3b7db6 [svn-r29043] Fixes to make relative external storage work on Windows. Part of HDFFV-8740.
- Fixed typo in Wsetenv().
- Changed HDoff_t back to off_t in test/external.c. The function signature is off_t so the types must match or you can get conversion errors.

Tested on 64-bit Windows 10 w/ VS 2015
2016-02-04 11:06:38 -05:00
Dana Robinson
c746447b0d [svn-r29041] Patch from Steffen Kiess that allows a relative path to be specified
for external dataset files set via H5Pset_external().

Resolves HDFFV-8740

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-04 10:35:17 -05:00
Dana Robinson
e9139733f2 [svn-r29035] Removed external links test from external storage test.
This test is duplicated more comprehensively in the links.c file so
there is no need to copy it over.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 09:36:28 -05:00
Dana Robinson
2b2b95814e [svn-r29034] Update the external test to use the default and latest file format.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 09:17:31 -05:00
Dana Robinson
e25aa5f97d [svn-r29030] Cleanup of test/externals before merging user patch.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 05:30:48 -05:00
Dana Robinson
8bbdc947c4 [svn-r28972] Removed option to clear file buffers from autotools, CMake, and library.
Buffers that will be written to disk will now always be cleared since
not doing this has huge security implications.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0, x86_64) gcc 5.2.1
           serial autotools
           parallel autotools (MPICH 3.1.4)
           serial CMake
2016-01-26 16:26:12 -05:00
Mohamad Chaarawi
91aeb766fa [svn-r28950] - remove META_FLUSH_COLLECTIVELY property for delayed sanity checks from metadata dxpls
- remove H5AC_ind_dxpl_id and use only H5AC_dxpl_id everywhere instead.
- remove flush_me_collectively flag from cache entries
- add a collective sanity check (MPI_Barrier) for every HDF5 API routine that could possibly touch the file. This is trigerred when the environment variable H5_COLL_API_SANITY_CHECK is set to a non 0 digit.

tested on BB-8 with serial and parallel.
2016-01-21 17:31:15 -05:00
Dana Robinson
2396a172ad [svn-r28861] Minor warning format string fix (HDFFV-9640).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel only (MPICH 3.1.4)
2016-01-12 07:28:39 -05:00
Quincey Koziol
887cf130ff [svn-r28843] Description:
Bump number of records for random update test again.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-08 09:08:00 -05:00