Songyu Lu
a58c01aac1
Small correction for my previous commit.
2019-04-11 10:19:45 -05:00
Songyu Lu
c0e05f0747
Forgot to add external_common.c and external_common.h.
2019-04-10 16:48:42 -05:00
Songyu Lu
417cd9da87
Updated CMake for the splitting of external.c and vds.c.
2019-04-10 16:02:28 -05:00
Songyu Lu
06002f8c22
Minor fixes: updating the test vds_env.c according to the set up of vds.c.
2019-04-10 10:21:38 -05:00
Songyu Lu
c0b13e078e
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~songyulu/hdf5_ray into HDFFV-10658-performance-drop-from-1-8
2019-04-09 18:11:06 -05:00
Songyu Lu
04d07d967a
Left out this file in previous commit.
2019-04-09 17:40:24 -05:00
Songyu Lu
477dda3c0d
HDFFV-10658 - setting and getting properties in API context:
...
1. switched to use the existing H5F_prefix_open_t for enum type;
2. put the common private function used by external.c and external_env.c into external_common.c
2019-04-09 16:20:19 -05:00
Vailin Choi
3ccc98e256
Modifications based on PR feedback:
...
(1) Add H5Sdeprec.c to src/CMakeLists.txt
(2) Add test for H5Sencode1.
2019-04-08 12:33:45 -05:00
Songyu Lu
d8ff8da46c
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~songyulu/hdf5_ray into HDFFV-10658-performance-drop-from-1-8
2019-04-08 11:17:59 -05:00
Vailin Choi
2886cd9e45
HDFFV-10365: Changes as described in the RFC: H5Sencode/H5Sdecode Format Change.
...
This also addresses HDFFV-10255: H5Sencode/decode performance issue.
2019-04-06 16:55:14 -05:00
Quincey Koziol
92f30fd3d9
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-04-06 16:20:55 -05:00
Vailin Choi
7fe665ebff
Fix for HDFFV-10271 hyperslab encoding incorrect length.
2019-04-05 11:34:58 -05:00
Quincey Koziol
ef7f3ef177
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-04-05 10:35:38 -05:00
Quincey Koziol
dde0a1c93a
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-04-04 16:45:34 -05:00
Vailin Choi
0073f19897
Set V112 as the latest format and extend the arrays of version bounds.
2019-04-04 16:29:37 -05:00
Songyu Lu
5e7cccb5a2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~songyulu/hdf5_ray into HDFFV-10658-performance-drop-from-1-8
2019-04-04 13:16:27 -05:00
Songyu Lu
50d9a397ab
This commit basically has the following changes:
...
1. restored the datatype, dataspace, and LCPL of the dataset for VOL connector back to the properties.
2. splitted external.c and vds.c because they called HDsetenv in the program, instead using shell scripts to set the environment variables.
3. changed H5CX_get_vds_prefix and H5CX_get_ext_file_prefix to use H5P_peek instead of H5P_get.
2019-04-04 11:03:05 -05:00
Quincey Koziol
fc945999d0
Merge remote-tracking branch 'origin/develop' into env_vol_load
2019-04-03 17:27:10 -05:00
Binh-Minh Ribler
d818edb110
Merge pull request #1610 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_fixbug:develop to develop
...
* commit 'fe104cc38ffbdb39d3e04da107d86ebfc7e8b622':
Test improvement Description Moved the new tests to a more appropriate test function. Platforms tested: Linux/64 (jelly)
Fixed HDFFV-10210 and HDFFV-10587 Description: - Added parameter validation (HDFFV-10210) - Added detection of division by zero (HDFFV-10587 - CVE-2018-17438) - Fixed typos in various tests Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
2019-03-23 21:10:30 -05:00
Quincey Koziol
7dce8523c1
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-03-23 11:50:48 -05:00
Dana Robinson
85e2214d55
Changes that show the right way to iterate over enums.
2019-03-21 10:18:16 -07:00
Binh-Minh Ribler
fe104cc38f
Test improvement
...
Description
Moved the new tests to a more appropriate test function.
Platforms tested:
Linux/64 (jelly)
2019-03-21 11:09:17 -05:00
Dana Robinson
97cdcc47e4
Used the H5_INC_ENUM macro to squash enum value increment warnings.
2019-03-21 01:15:09 -07:00
Quincey Koziol
962fb0ccb8
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-03-20 17:02:21 -05:00
Binh-Minh Ribler
222346f373
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
2019-03-20 14:07:40 -05:00
Binh-Minh Ribler
7add52ff4f
Fixed HDFFV-10210 and HDFFV-10587
...
Description:
- Added parameter validation (HDFFV-10210)
- Added detection of division by zero (HDFFV-10587 - CVE-2018-17438)
- Fixed typos in various tests
Platforms tested:
Linux/64 (jelly)
Linux/64 (platypus)
Darwin (osx1011test)
2019-03-20 14:03:48 -05:00
Allen Byrne
7a589a0a39
Fix CMake error in name
2019-03-19 14:47:08 -05:00
Quincey Koziol
cda6273737
Merge remote-tracking branch 'origin/develop' into merge_hyperslab_update_01
2019-03-16 23:01:18 -05:00
Quincey Koziol
9d86314f8b
Core changes to selection code from the hyperslab_updates branch.
2019-03-15 20:14:41 -05:00
Neil Fortner
c812a6c9ec
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
2019-03-15 10:20:25 -05:00
Jerome Soumagne
dc69df49e6
CMake: fix pthread linking to only be private
2019-03-13 13:54:35 -05:00
Quincey Koziol
deeb302747
Specify the default VOL connector to use with an environment variable.
...
This implicitly adds support for changing the VOL connector for command-line
tools or any application linked with the library.
Also, add 'make check-vol' support for all directories, clearing up necessary
issues in testing scripts, etc.
2019-03-09 21:41:38 -06:00
Neil Fortner
faec33960f
Fix issue with direct chunk write not updating the "last chunk" index
...
cache. Fix issues involving datasets being "no allocated" when they
contain cached raw data.
2019-03-06 16:57:42 -06:00
Allen Byrne
6e77a5800e
Correct varname
2019-02-26 10:40:40 -06:00
Quincey Koziol
d6663b95ac
Revise "management" VOL callbacks into 'info' and object 'wrap / retrieval'
...
classes.
2019-02-23 17:02:29 -06:00
Jerome Soumagne
342cad2a3d
Merge pull request #1569 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:topic_threadsafe to develop
...
* commit 'bcf5c400c06bf06820b25c37eceaa97245f15f1f':
Fix CMake H5_HAVE_THREADSAFE to set value in H5pubconf.h
2019-02-21 18:18:39 -06:00
Jerome Soumagne
bcf5c400c0
Fix CMake H5_HAVE_THREADSAFE to set value in H5pubconf.h
...
Add REQUIRED to find_package(Threads)
Link against thread library if static and not WIN32 platform
2019-02-21 16:39:37 -06:00
Dana Robinson
32ea4e72f1
Merge branch 'develop' into c_stdlib_posix_call_cleanup
2019-02-19 14:49:20 -08:00
Allen Byrne
67bc117efe
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '5ad3891d9b861593ebe25d540bed2d913eb83aba':
Remove ' ' (typo).
Code improvement
Removed an extra "using" statement
Adding documentation
More changes to align with incoming selection improvements.
Added C++ wrapper for H5Ovisit2
Adding a C++ wrapper
2019-02-17 09:42:00 -06:00
Allen Byrne
58e6e3e102
HDFFV-10703 macro vars need quotes
2019-02-15 16:04:06 -06:00
Allen Byrne
122b63a5a2
HDFFV-10703 Update CMake commands to latest standard
2019-02-15 15:48:24 -06:00
Quincey Koziol
e1046db0e6
Merge pull request #1548 in HDFFV/hdf5 from merge_hyperslab_updates_04 to develop
...
* commit '320eaf91b9adb36bb0fed9264d460e4a808200b7':
More changes to align with incoming selection improvements.
2019-02-15 14:12:16 -06:00
Quincey Koziol
320eaf91b9
More changes to align with incoming selection improvements.
2019-02-14 16:20:32 -06:00
Allen Byrne
35e9128c7e
Skip testing of cache_image test
2019-02-14 12:52:01 -06:00
Quincey Koziol
10cdff5ca4
Merge pull request #1540 in HDFFV/hdf5 from merge_hyperslab_changes_01 to develop
...
* commit 'fb5d1a37c11bca613175a48262a2147e99c9dede':
Align develop with incoming hyperslab_updates branch changes.
2019-02-13 18:13:18 -06:00
Allen Byrne
b95f05638c
TRILAB-111 fixes for parallel testing
2019-02-13 15:53:59 -06:00
Quincey Koziol
b5305b25a6
Align develop with incoming hyperslab_updates branch changes.
2019-02-12 21:51:15 -06:00
Allen Byrne
36e3d1600a
Refactor out timeout values
2019-02-06 16:41:58 -06:00
Binh-Minh Ribler
55d1931dc6
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
2019-01-26 11:59:45 -06:00
Binh-Minh Ribler
f522479035
Added test file for CMake
2019-01-26 11:58:52 -06:00
Dana Robinson
3fac85c00d
Fixed a bug identified by valgrind in the cork test.
2019-01-25 09:58:50 -08:00
Binh-Minh Ribler
0247f7b78d
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
2019-01-25 00:20:28 -06:00
Binh-Minh Ribler
51e0107d18
Added data file for test and updated MANIFEST
2019-01-25 00:19:16 -06:00
Binh-Minh Ribler
2fe69e7639
Merge pull request #1479 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_fixbug:develop to develop
...
HDFFV-10586 and HDFFV-10588
* commit '25cd1ab02b9ddaf58a4f5422f4ab4fde411e050a':
Added test for HDFFV-10588
Fixed HDFFV-10684
Fixed HDFFV-10586 and HDFFV-10588 Description: HDFFV-10586 CVE-2018-17434 Divide by zero inh5repack_filters Added a check for zero value HDFFV-10588 CVE-2018-17437 Memory leak in H5O_dtype_decode_helper This is actually an Invalid read issue. It was found that the attribute name length in an attribute message was corrupted, which caused the buffer pointer to be advanced too far and later caused an invalid read. Added a check to detect attribute name and its length mismatch. The fix is not perfect, but it'll reduce the chance of this issue when a name length is corrupted or the attribute name is corrupted. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
2019-01-24 17:07:57 -06:00
Binh-Minh Ribler
25cd1ab02b
Added test for HDFFV-10588
...
Platforms tested:
Linux/64 (jelly)
Linux/64 (platypus)
Darwin (osx1010test)
2019-01-24 09:42:19 -06:00
Dana Robinson
a4e63bb980
Fixed a memory issue flagged by valgrind in the direct_chunk test.
2019-01-16 21:37:07 -08:00
Quincey Koziol
47fb7c2ee6
Update usage for FAPLs, and reduce # of groups for smoke checks
2019-01-16 10:36:25 -06:00
Quincey Koziol
3a31d37abb
Work around compiler fussiness on platypus.
2019-01-11 10:11:31 -06:00
Quincey Koziol
4729d04d91
Delta reduction against hyperslab_updates branch.
2019-01-10 23:08:51 -06:00
Dana Robinson
536a32c59b
C and POSIX call cleanup
2019-01-10 17:51:42 -08:00
Jordan Henderson
294d9c2847
Merge pull request #1455 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
...
* commit '2d7eb9a4c3a841f7612b88f6b559792cb6143930':
Align behavior of H5Aget_name_by_idx with H5Aget_name when a NULL buffer is supplied
2019-01-08 20:32:46 -06:00
Ray Lu
44a67451be
Merge pull request #1450 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:TRILAB-98-dt_arith-and-cpp_testhdf5-tests to develop
...
* commit 'b02de315b93ac29d2483a91d526b110a25073505':
NNSA Tri-LabsTRILAB-98: Another two test cases out.
NNSA Tri-Labs TRILAB-98: Taking out a few more test cases.
NNSA Tri-Labs TRILAB-98 dt_arith and cpp_testhdf5 tests fail on sierra.llnl.gov: According to the group decision, simply provide a macro to disable some failing test cases on sierra (IBM power9 cpu). All failing cases involve long double data type.
2019-01-08 17:59:03 -06:00
Jordan Henderson
2d7eb9a4c3
Align behavior of H5Aget_name_by_idx with H5Aget_name when a NULL buffer is supplied
2019-01-08 15:52:30 -06:00
Songyu Lu
b02de315b9
NNSA Tri-LabsTRILAB-98: Another two test cases out.
2019-01-08 14:31:41 -06:00
Songyu Lu
2efc28cf63
NNSA Tri-Labs TRILAB-98: Taking out a few more test cases.
2019-01-08 12:45:01 -06:00
Songyu Lu
75c105a2a4
NNSA Tri-Labs TRILAB-98 dt_arith and cpp_testhdf5 tests fail on sierra.llnl.gov: According to the group decision, simply provide a macro to disable some failing test cases on sierra (IBM power9 cpu). All failing cases involve long double data type.
2019-01-07 20:28:37 -06:00
Neil Fortner
b043126e5e
Delay checking if decoded message's "shareable" flag is appropriate for
...
the message type until we've verified we understand the message type.
Reduce size of H5O_msg_class_g to *not* include space for
H5O_BOGUS_INVALID. Make bogus messages shareable. Add new bogus
message test with shareable messages to cover the formerly problematic
code. Re-run gen_bogus.c to add this test case and also to fix the
bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a
new message class being added in a previous commit. Added comment to
remind developers to run gen_bogus.c when adding a new message class.
2019-01-07 15:40:44 -06:00
Vailin Choi
e52e68c82f
Merge pull request #1445 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
...
* commit '982852c603c03a06ca24f219127f49616c7d42cb':
Fix for daily test failure: too many arguments to function 'H5Gopen1'
2019-01-07 14:15:05 -06:00
Jordan Henderson
0bc3d1567b
Merge pull request #1434 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
...
* commit 'fe6bed2ad722578d0b701e29d22f591923d2fe9f':
Fix TESTING_2 macro to align output with TESTING macro
2019-01-07 14:11:07 -06:00
Jordan Henderson
fe6bed2ad7
Fix TESTING_2 macro to align output with TESTING macro
...
Add more indentation to TESTING_2 macro
2019-01-07 14:08:34 -06:00
Vailin Choi
982852c603
Fix for daily test failure: too many arguments to function 'H5Gopen1'
2019-01-07 11:49:53 -06:00
Quincey Koziol
f0656a57dc
Remove incorrect comment.
2019-01-06 01:49:02 -06:00
Quincey Koziol
92300f954f
Corrected comment in src/H5VLint.c, fixed pass-through info size in
...
src/H5VLpassthru.c, switched to stashing VOL connector ID & info in
API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and
src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work
with 'check-vfd' (and 'check-vol' again).
2019-01-05 23:06:45 -06:00
Jordan Henderson
b0feaecdb9
Merge pull request #1425 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
...
* commit '659dd9bccf69f32bfdd01dc49410116ec5c1b0bb':
Align H5Lcreate_ud behavior with documentation for NULL udata pointer
2019-01-04 14:06:10 -06:00
Jacob Smith
f7115c3136
Remove "bad" statements at end of TEST_ERROR.
...
Formerly arguments to FAIL_PUTS_ERROR
2019-01-04 11:28:39 -06:00
Jacob Smith
a0c6e622e4
Add semicolon at end of TEST_ERROR() invocation for consistency.
2019-01-04 09:07:55 -06:00
Jacob Smith
763db8178e
Change FAIL_PUTS_ERROR to TEST_ERROR.
2019-01-03 23:02:20 -06:00
Jacob Smith
3b53747b3a
Update calls: H5Dcreate to H5Dcreate2, H5Acreate to H5Acreate2.
2019-01-03 14:44:57 -06:00
Jordan Henderson
659dd9bccf
Align H5Lcreate_ud behavior with documentation for NULL udata pointer
...
Add test for H5Lcreate_ud fix
2019-01-03 09:35:44 -06:00
Vailin Choi
d3dff6efe6
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
...
Resolve conflicts:
Conflicts:
test/Makefile.am
2019-01-02 13:23:54 -06:00
Jacob Smith
8324be7fad
fix wrong function name that is missed by correctional macro
2018-12-31 15:18:13 -06:00
Dana Robinson
b30a1fe44a
Merge pull request #1400 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:openmpi_tweaks to develop
...
* commit 'd6c2a96ac2f103d90b96d5b39814810e6a31ef99':
Updated the parallel install docs.
Eliminated the need for a separate script variable.
Added a helpful message to the flush script.
Added a shell script so we can run the parallel flush test on OpenMPI.
2018-12-31 13:33:31 -06:00
Dana Robinson
fba448b145
Merge pull request #1413 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:yay_plugins to develop
...
* commit '3ca19cca5395d79be69209f8d7d0a2b06834a648':
Flipped swapped testing strings.
Added test_vol_plugin.sh to the list of scripts to clean
Fixed a CMake build issue (CMake still doesn't run the VOL plugin tests)
Added more sub-tests to the VOL plugin test.
Added a simple test for registration of VOL connector plugins. Autotools only for right now, but this will be fleshed out in future work.
2018-12-31 10:28:25 -06:00
Dana Robinson
a3faa92653
Merge branch 'develop' into openmpi_tweaks
2018-12-30 22:24:42 -08:00
Vailin Choi
e035c7abdd
Changes based on feedback from pull request.
2018-12-31 00:11:45 -06:00
Vailin Choi
f808c108ed
Fix for HDFFV-10659: The library abort with "infinite loop closing library"
...
after deleting attributes in densed storage.
The fix: When deleting attribute nodes from the name index v2 B-tree,
if an attribute is found in the intermediate B-tree nodes, which may be
merged/redistributed in the process, we need to free the dynamically
allocated spaces for the intermediate decoded attribute.
2018-12-28 16:49:11 -06:00
Dana Robinson
3ca19cca53
Flipped swapped testing strings.
2018-12-28 12:56:49 -08:00
Jacob Smith
f54fb420d0
Merge branch 'develop' into dset_ohdr_minimize
2018-12-28 12:45:10 -06:00
Dana Robinson
75dd3c9cab
Merge branch 'develop' into yay_plugins
2018-12-27 22:20:09 -08:00
Dana Robinson
3a05e7109a
Added test_vol_plugin.sh to the list of scripts to clean
2018-12-27 21:42:51 -08:00
Jordan Henderson
fe30b71086
Merge pull request #1386 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
...
* commit 'b4fe787bb9fe4bfc4709a124df59dd987c9a09d2':
Add test for H5Arename NULL/empty attribute name fix
align H5Arename behavior with H5Arename_by_name
2018-12-27 23:05:20 -06:00
Dana Robinson
fafee5b8ae
Fixed a CMake build issue (CMake still doesn't run the VOL plugin
...
tests)
2018-12-27 19:56:21 -08:00
Dana Robinson
544ab1c78a
Added more sub-tests to the VOL plugin test.
2018-12-27 19:42:02 -08:00
Dana Robinson
621014be28
Added a simple test for registration of VOL connector plugins.
...
Autotools only for right now, but this will be fleshed out in future
work.
2018-12-27 15:50:04 -08:00
Jacob Smith
29497cc4e1
Merge branch 'develop' into dset_ohdr_minimize
2018-12-27 12:33:32 -06:00
Jacob Smith
b2afa88fa0
OHDR tests now accept h5_fileaccess() fapls.
...
Formatting, informative comments, and minor renaming.
2018-12-26 14:35:22 -06:00
Jacob Smith
cfdbb220d8
Fix some CMake listings
2018-12-21 16:18:05 -06:00
Jacob Smith
db9cc49a6b
Add error checking to the minimized dset header size calculation.
...
Update printf->HDprintf statements.
2018-12-21 15:47:49 -06:00
Allen Byrne
7d28a4295e
Merge pull request #1407 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
...
* commit '991996b25122ff010b9af1bbb6cc05be491ce038':
Remove unused CMake files
Update option text
Add reference file to list
HDFFV-10656 remove moved source
HDFFV-10656 Add CHECK_VOL support to CMake
2018-12-21 14:41:29 -06:00
Allen Byrne
7e8923957f
HDFFV-10656 Add CHECK_VOL support to CMake
2018-12-20 15:11:27 -06:00
Quincey Koziol
9e8cacaa55
Remove core VFD-specific property list call and regenerate encoded property
...
lists.
2018-12-20 11:52:09 -06:00
Jacob Smith
210ab50725
Fix mistake with H5E_BEGIN_TRY {...} H5E_END_TRY block containing ERROR-raising macros.
...
Formatting tweaks.
2018-12-20 11:12:53 -06:00
Dana Robinson
fe1a5b4279
Added a shell script so we can run the parallel flush test
...
on OpenMPI.
2018-12-20 03:03:16 -08:00
Quincey Koziol
f1d8d889b4
Correct core VFD to run with a 1MB increment instead of a 1 byte increment!
2018-12-19 17:16:45 -06:00
Jacob Smith
38de07aea3
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize
2018-12-19 15:14:51 -06:00
Jacob Smith
2b4e540fad
Add "compact" storage test to relative header size comparisons.
2018-12-19 14:57:38 -06:00
Quincey Koziol
b61ad0f7b6
Clear driver properties before returning them to application.
...
Move write_tracking and page_size properties to be inside the core VFD's
driver properties.
2018-12-18 22:30:12 -06:00
Jacob Smith
7541ed1fc7
Formatting adjustments.
2018-12-18 15:11:42 -06:00
Dana Robinson
bd096066c3
Merge pull request #1384 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:build_tweaks to develop
...
* commit 'fc64bafb143b1d259282913fdbf0ba9f1a0a8069':
Updates the autotools tests to also emit the VOL connector for each test.
2018-12-18 14:12:21 -06:00
Jacob Smith
99bc714c4b
Move H5Fset_dset_no_attrs_hint VOL operations to native.
...
Move minimzied object header tests from separate file to test/ohdr.c
Some formatting changes.
2018-12-18 13:42:03 -06:00
Jacob Smith
5efc08a06d
Merge branch 'develop' into dset_ohdr_minimize
2018-12-18 11:50:58 -06:00
Dana Robinson
bacabb3534
Merge pull request #1364 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5i_reference_removal to develop
...
* commit 'e21c1cf7c6ee6dba5dd5bfd1a525227ac1304b53':
Removed H5I_REFERENCE from the library. It has always been unused and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
2018-12-17 17:35:59 -06:00
Jordan Henderson
b4fe787bb9
Add test for H5Arename NULL/empty attribute name fix
...
Split checking of NULL vs. empty string arguments
2018-12-17 14:30:54 -06:00
Dana Robinson
fc64bafb14
Updates the autotools tests to also emit the VOL connector
...
for each test.
2018-12-16 12:41:55 -08:00
Jacob Smith
61350bf350
Re-format test/ohdr_mindset.c
...
Fix a few transcription errors in other test files.
2018-12-13 22:11:29 -06:00
Jacob Smith
8e4b34afd0
formatting adjustments
2018-12-13 19:40:33 -06:00
Quincey Koziol
833a4f73fd
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
2018-12-13 17:32:39 -06:00
Quincey Koziol
247a6afb7e
Fix plugin code from referencing invalid key ID value, and also switch from
...
strtok() to strtok_r() to avoid possible interference with / to application
use of strtok().
2018-12-13 17:31:00 -06:00
Jacob Smith
0a4834c264
Reformat to be more consistent with existing code.
...
Fix a few typos.
2018-12-13 14:02:29 -06:00
Jacob Smith
943b7f9c02
Merge branch 'develop' into dset_ohdr_minimize
2018-12-13 10:27:27 -06:00
Jordan Henderson
76c0d8c434
Add test for H5Aget_info(_by_name/_by_idx) NULL info pointer
2018-12-12 18:30:34 -06:00
Jacob Smith
ad6de59e4c
Merge branch 'develop' into dset_ohdr_minimize
2018-12-12 17:34:13 -06:00
Jacob Smith
911b8e8fc2
Merge branch 'dset_ohdr_minimize' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize
...
Incorporate a few housekeeping changes and one fix.
2018-12-12 17:27:27 -06:00
Jacob Smith
ea73325250
Merge branch 'develop' into dset_ohdr_minimize
2018-12-12 17:26:08 -06:00
Jacob Smith
c81e310214
Fix typo.
...
Fix CHECK of wrong ID (dset[2|3]_id).
2018-12-12 14:03:56 -06:00
hdftest
afdf3094cc
Merge pull request #1367 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
...
* commit 'deb7d2fb9714acc8222815328f71b0aae7e74275':
Use version 2 functions in test file to address compile errors for --with-default-api-version=v16 option.
2018-12-12 11:30:05 -06:00
Larry Knox
deb7d2fb97
Use version 2 functions in test file to address compile errors for
...
--with-default-api-version=v16 option.
2018-12-12 06:53:26 -06:00
Jacob Smith
496de6922f
change test file name and apply 'h5_fixname' to it
2018-12-11 17:45:12 -06:00
Dana Robinson
e21c1cf7c6
Removed H5I_REFERENCE from the library. It has always been unused
...
and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
2018-12-08 08:14:05 -08:00
Allen Byrne
ce625a617e
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '4643860aa940fb52da251f7023ec2e48d7d10f34':
HDFFV-10635: Some minor changes to the test case and the comments in the library.
HDFFV-10635: add a test case.
HDFFV-10635: Allowing to write the same variable-length element more than once.
2018-12-07 15:57:56 -06:00
Ray Lu
4643860aa9
Merge pull request #1348 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:bugfix/HDFFV-10635-hdf5-library-segmentation-fault to develop
...
* commit '3e8599591504c95d8a97100b9546174f6132dc97':
HDFFV-10635: Some minor changes to the test case and the comments in the library.
HDFFV-10635: add a test case.
HDFFV-10635: Allowing to write the same variable-length element more than once.
2018-12-07 14:58:43 -06:00
Songyu Lu
3e85995915
HDFFV-10635: Some minor changes to the test case and the comments in the library.
2018-12-06 17:36:34 -06:00
Allen Byrne
2998dbfc70
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit 'f2da47f732ded55837f6d008af46d0c448bec1f1':
Update to new callbacks in H5VL_class_t.
2018-12-06 08:14:34 -06:00
Songyu Lu
19a94503f3
HDFFV-10635: add a test case.
2018-12-05 16:48:47 -06:00
Jacob Smith
f1825f0d26
Sidestep and hide&flag minor issues causing test failures.
2018-12-05 16:39:39 -06:00
Quincey Koziol
592a223455
Update to new callbacks in H5VL_class_t.
2018-12-05 15:09:32 -06:00
Allen Byrne
307749cc71
Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
...
* commit '55e87e5b86aacbb37c57614cd2e869541291caad': (51 commits)
Correct Windows build.
Refactor allocating & releasing pass through wrapper objects.
Fix typo
Remove duplicated comment.
Add a couple of missing prototypes for static routines, along with updating a comment from VOL plugin -> connector.
Switch H5VL_class_value_t from unsigned to int, and add "invalid" ID value.
Correct "make check-vol" regression test target.
Switch H5VL_class_value_t from enum to unsigned integer
Add support for "make check-vol", along with a few minor cleanups, etc.
Refactor infrastructure for setting FAPL information from environment variables during testing, including connecting native, pass-through, and dynamically loaded VOL connectors. Also bring native and pass-through VOL connectors into alignment, removing the "H5VLnative_private.h" header.
Remove example VOL connector, since it's been superceded by the pass-through VOL connector in the src subdirectory.
Add pass-through VOL connector
Update API tracing info for VOL functions and regenerate trace macros for VOL API calls.
Added 'notify' callback for async requests; switched VOL class and info comparison to return comparison value as parameter, so they can return error values; "cancelled" -> "canceled"; switched order of 'wrap_object' and 'free_wrap_ctx' management callbacks.
Add using FAPL from h5_fileaccess() to more tests.
Remove unused test for unimplemented routine.
Switch loc_params to VOL callbacks to pass struct by pointer instead of by value.
Add info_to_str and str_to_info "management" callbacks for serializing and deserializing a connector's info object.
Revert some of the changes to support the original property list value of metadata read attempts.
Add VOL connector info to the flie access property list returned from H5Fget_access_plist(). Also, other misc. cleanups, etc.
...
2018-12-05 14:25:58 -06:00
Allen Byrne
e3e24a2989
HDFFV-10632 - split stderr and stdout in cmake
2018-12-03 09:35:59 -06:00
Quincey Koziol
50c4095c8c
Remove duplicated comment.
2018-11-30 14:18:14 -06:00
Quincey Koziol
047269139f
Add a couple of missing prototypes for static routines, along with updating
...
a comment from VOL plugin -> connector.
2018-11-30 14:12:32 -06:00
Quincey Koziol
8c606f586e
Correct "make check-vol" regression test target.
2018-11-28 22:54:46 -06:00
Quincey Koziol
f3ad03a538
Switch H5VL_class_value_t from enum to unsigned integer
2018-11-28 22:21:45 -06:00
Quincey Koziol
d442fe2d98
Add support for "make check-vol", along with a few minor cleanups, etc.
2018-11-28 19:07:30 -06:00
Quincey Koziol
6eabeabdaa
Refactor infrastructure for setting FAPL information from environment
...
variables during testing, including connecting native, pass-through, and
dynamically loaded VOL connectors. Also bring native and pass-through
VOL connectors into alignment, removing the "H5VLnative_private.h" header.
2018-11-28 17:38:03 -06:00
Quincey Koziol
3217ffa1ac
Add using FAPL from h5_fileaccess() to more tests.
2018-11-22 01:21:50 -06:00
Quincey Koziol
340b7a4fb8
Remove unused test for unimplemented routine.
2018-11-22 01:08:47 -06:00
Jacob Smith
1fed1a7be7
Incorporate minimized dset ohdr tests into extant suite.
2018-11-19 14:08:31 -06:00
Quincey Koziol
6c99961bb2
Revert some of the changes to support the original property list value of
...
metadata read attempts.
2018-11-18 00:57:09 -06:00
Quincey Koziol
59c28780d3
Add VOL connector info to the flie access property list returned from
...
H5Fget_access_plist(). Also, other misc. cleanups, etc.
2018-11-18 00:38:29 -06:00
Quincey Koziol
140f72b748
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into stackable_vol
2018-11-07 15:20:28 -06:00
Allen Byrne
79903575e6
HDFFV-10605 Only test plugins if SHARED enabled
2018-11-06 15:45:58 -06:00
Quincey Koziol
1daa7b830a
Switch driver | plugin => connector.
2018-11-04 01:27:23 -05:00
Quincey Koziol
deb75622ca
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into stackable_vol
2018-11-04 00:25:36 -05:00
Vailin Choi
51076d4061
Fixed exit() to HDexit() in use_append_chunk.c and use_append_mchunks.c
2018-11-01 15:00:40 -05:00
Vailin Choi
4f62c084f1
Fixed fprintf to HDfprintf in the following routines:
...
1) read_uc_file() in use_common.c
2) main() of use_append_chunk.c and use_append_mchunks.c
2018-11-01 12:03:34 -05:00
Quincey Koziol
a5cc4e272b
Refactor and standardize the link VOL callbacks. Also fix error stack for
...
testing.
2018-11-01 11:22:54 -05:00
Quincey Koziol
ef7c458d73
Update for change in error stack when opening a dataset.
2018-10-31 18:41:19 -05:00
Quincey Koziol
d66d5e01c0
Refactor and standarize file object callbacks, including some fixes on the
...
dataset callbacks.
2018-10-31 18:18:45 -05:00
Vailin Choi
d1d2cf776d
Fix for HDFFV-10554 use_append_chunks in swmr use case test failure
...
Fix the timing issue of the test by moving the open/close of the test file for the writer to
use_append_chunk.c and use_append_mchunks.c.
2018-10-30 16:53:09 -05:00
Quincey Koziol
8ee361f185
Move all callback-related routines into the callback source file, standardizing
...
their coding style
2018-10-28 01:31:28 -05:00
Quincey Koziol
6e84fd8327
Remove virtual dataset refresh code's direct use of native VOL plugin's ID.
2018-10-27 01:33:07 -05:00
Quincey Koziol
171deaa588
Checkpoint progress on stacking VOL plugins - all standalone regression tests
...
in the 'test' directory appear to be working.
2018-10-26 16:09:06 -05:00
Quincey Koziol
305997501d
Updates after merging changes from develop.
2018-10-26 00:54:29 -05:00
Quincey Koziol
4a32895724
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into stackable_vol
2018-10-25 18:32:13 -05:00
Quincey Koziol
0df6e44a6e
Squashed commit of private branch changes to support stackable VOL plugins.
...
modified: test/dsets.c
2018-10-24 23:52:47 -05:00
Dana Robinson
46c5b059f1
Split H5VLnative.h into public and private files and updated
2018-10-20 13:06:37 -07:00
Dana Robinson
2d6d5cad0c
Updates to the VOL ID and object API calls.
...
This brings the H5VL code in line with the H5I code regarding
naming, parameter order, etc.
Several public API calls were affected by this change.
These changed names to reflect their use with VOL drivers:
H5VLregister() --> H5VLregister_driver()
H5VLregister_by_name() --> H5VLregister_driver_by_name()
H5VLunregister() --> H5VLunregister_driver()
H5VLis_registered() --> H5VLis_driver_registered()
This call was renamed to match H5Iregister(). The order of the first
two parameters also reversed and the object pointer is now const.
H5VLobject_register() --> H5VLregister()
2018-10-17 02:06:28 -07:00
Dana Robinson
e962df1591
VOL FEATURE
2018-10-10 08:10:15 -07:00
Allen Byrne
8d7bdb7041
CMake changes for SKIPPED and flush tests
2018-09-24 14:38:46 -05:00
Dana Robinson
265652fe54
Normalization with vol_integration (property lists, file drivers,
...
other misc).
2018-09-21 12:12:05 -07:00
Jacob Smith
ff7d250093
Remove unused/redundant external file link test
2018-09-20 15:25:10 -05:00
Jacob Smith
9dec62e0ae
Modify MTIME size behavior to be closer to expectations (we hope).
...
Minor code cleanup.
2018-09-20 15:15:49 -05:00
Jacob Smith
5f8f703dec
Continued progress in implementing tests.
2018-09-20 14:16:26 -05:00
Dana Robinson
67a126c7ba
Normalization with vol_integration (test code and H5Xtest.c)
2018-09-20 10:40:51 -07:00
Dana Robinson
eb78fd8832
Develop normalization with vol_integration.
...
Mostly peripheral things like the tools and wrappers,
with just enough core library code to support that.
2018-09-18 22:57:37 -07:00
Jacob Smith
e1f3a10c52
Make questionable tests fail with TODOs
2018-09-14 15:24:00 -05:00
Jacob Smith
14c044f1b1
Change to use internal routines to get dcpl minimize setting.
...
Fix external file/link problem:
Include H5Fpkg.h to access file private variables directly.
2018-09-14 15:10:01 -05:00
Jacob Smith
6af06e74be
Add modtime dataset to explicitly not track
2018-09-14 13:55:56 -05:00
Jacob Smith
1e3efbcf52
Refactor file- and dataset-creation code for easier reading.
...
Add modification message test logic.
Minor formatting tweaks.
2018-09-14 13:34:34 -05:00
Jacob Smith
dbf6afee39
Remove redundant code and refactor
2018-09-12 15:40:26 -05:00
Jacob Smith
5beeb64c29
Add presumptive test for external links.
2018-09-12 15:38:32 -05:00
Jacob Smith
dde5666f42
Add additional tests (or placeholders for same).
...
Tests use h5_fixname().
Small changes.
2018-09-12 14:06:55 -05:00
Jacob Smith
7ef8d1d848
Add new test file
2018-09-11 16:45:33 -05:00
Jacob Smith
602dd3ac15
Stash work on object header reduction code and tests.
...
CMake stuff is not verified.
2018-09-11 16:37:14 -05:00
Allen Byrne
27af9a7922
HD prefix and whitespace
2018-08-28 10:54:54 -05:00
Vailin Choi
ad317226ea
Fix for HDFFV-9277: update the ainfo message after removing an attribute.
2018-07-20 11:21:50 -05:00
Larry Knox
64d8a67943
Merge pull request #1143 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
...
* commit '3c6654921000a8659276f1fcb32dd0ada1353558':
Apply Cygwin pathches from Marco Atzeri. Commit Joe Lee's typo corrections for src/H5MF.c.
2018-07-18 17:15:42 -05:00
Larry Knox
3c66549210
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop
2018-07-18 17:06:59 -05:00
Larry Knox
892252106a
Apply Cygwin pathches from Marco Atzeri.
...
Commit Joe Lee's typo corrections for src/H5MF.c.
2018-07-18 17:01:53 -05:00
Allen Byrne
e5156823bd
TRILABS-137 Convert tcheck_version script to cmake tests
2018-07-18 10:42:14 -05:00
Allen Byrne
47780cb4e0
TRILAB-31 Working locally
2018-07-16 13:01:53 -05:00
Larry Knox
0f6d0803ef
Merge pull request #1128 in HDFFV/hdf5 from HDFFV-10525-typo-in-vds.c to develop
...
* commit '863148d1fe0b6949708698ad9277dbdba8129e0c':
fixed typo.
2018-07-15 23:35:54 -05:00
Binh-Minh Ribler
ec31438afd
Fixed HDFFV-10404
...
Description:
Applied the typo fixes from user's report.
The previous pull request couldn't be merged because it was too old,
and it was too complicated for me to resolve conflicts.
Platform tested:
Linux/64 (jelly) - very minor
2018-07-13 13:40:22 -05:00
Larry Knox
08a8202eda
Vailin's fix for H5open fail when file doesn't have write permissions
...
for user in test_misc33(). The test file can be
opened read-only because the test doesn't write to it.
2018-07-12 14:31:02 -05:00
Hyo-Kyung Lee
863148d1fe
fixed typo.
2018-07-10 18:13:44 -05:00
hdftest
b193bc11c9
Revert "Merge pull request #1116 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to develop"
...
This reverts commit e9f476dad4
, reversing
changes made to 2ff00b1b93
.
2018-06-24 18:04:23 -05:00
M. Scot Breitenfeld
57f64b92d1
Merge branch 'develop' into hdf5_1_10.sync
2018-06-14 09:17:06 -05:00
Dana Robinson
91089de53f
Normalization with vol_integration branch.
2018-06-06 21:34:11 -07:00
M. Scot Breitenfeld
f484649347
Merge branch 'develop' into hdf5_1_10.sync
2018-06-04 14:41:12 -05:00
Allen Byrne
f5b0b1c607
Fix usage of compression lib in shared tests
2018-06-01 10:09:53 -05:00