Commit Graph

2816 Commits

Author SHA1 Message Date
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