summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Delay checking if decoded message's "shareable" flag is appropriate forNeil Fortner2019-01-093-0/+18
| | | | | | | | | | | | | | 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. Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since space for it was removed.
* Merge pull request #1449 in HDFFV/hdf5 from ↵Larry Knox2019-01-082-14/+14
|\ | | | | | | | | | | | | ~JAKE.SMITH/hdf5:dset_ohdr_minimize_110 to hdf5_1_10 * commit '00f835f6403728c3caf298636522e526996010a2': Fix fapl passed into h5_fixname() calls in minimized tests. Fix creation of duplicate, unclosed FAPL. Fix wrong statement-string after TEST_ERROR macro (refactoring mistake).
| * Fix fapl passed into h5_fixname() calls in minimized tests.Jacob Smith2019-01-072-14/+14
| | | | | | | | | | Fix creation of duplicate, unclosed FAPL. Fix wrong statement-string after TEST_ERROR macro (refactoring mistake).
* | Merge pull request #1442 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to ↵Vailin Choi2019-01-076-16/+267
|\ \ | |/ |/| | | | | | | | | | | | | | | hdf5_1_10 * commit '1a50622733c14d89b3fd8c6bab684af9205a3b96': Fix for daily test failure: too many arguments to function 'H5Gopen1'. Fix the git merge leftover in RELEASE.txt. Fix the git merge leftovers in RELEASE.txt. Fix for HDFFV-10659: The library aborts 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.
| * Fix for daily test failure: too many arguments to function 'H5Gopen1'.vchoi2019-01-071-1/+1
| |
| * Fix for HDFFV-10659: The library aborts with "infinite loop closing library"Vailin Choi2019-01-066-16/+267
| | | | | | | | | | | | | | | | 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.
* | Merged the rest of the parallel flush test code.Dana Robinson2019-01-071-1/+1
|/
* Merge branch 'hdf5_1_10' of ↵Binh-Minh Ribler2019-01-0410-1431/+2536
|\ | | | | | | https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10
| * Remove "bad" statements from end of TEST_ERROR.Jacob Smith2019-01-041-18/+18
| | | | | | | | Formerly arguments to FAIL_PUTS_ERROR.
| * Add semicolon at end of TEST_ERROR() invocation for consistency.Jacob Smith2019-01-041-1/+1
| |
| * Merge branch 'hdf5_1_10' of ↵Jacob Smith2019-01-041-175/+1356
| |\ | | | | | | | | | https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize_110
| | * Merge pull request #1380 in HDFFV/hdf5 from ↵Binh-Minh Ribler2019-01-021-175/+1356
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10 This is merged now so it can be tested. * commit '74a3710a996fca5ed7fcb4dd8919a7a8521de1de': Revised per review. Description: Changed H5EA_iterate and H5FA_iterate as suggested. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test) Addressed HDFFV-10661 Description: - Fixed a bug triggered by tests in chunk_info.c. The returned value from a callback function was not checked in H5EA_iterate(), H5FA_iterate(), and H5D__none_idx_iterate(). This oversight caused a callback function to continue iterating even though it's supposed to stop. Vailin confirmed. - Addressed review comments and made various improvements on the tests. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
| * | | Change FAIL_PUTS_ERROR to TEST_ERROR.Jacob Smith2019-01-041-17/+17
| | | | | | | | | | | | | | | | Remove VOL-related merge cruft.
| * | | Change H5Dcreate() to H5Dcreate2().Jacob Smith2019-01-032-20/+20
| | | | | | | | | | | | | | | | Fix return value (int -> void).
| * | | Change H5Acreate to H5Acreate2Jacob Smith2019-01-021-1/+1
| | | |
| * | | Incoporate minimized dataset headers code and tests.Jacob Smith2018-12-3110-1430/+2531
| |/ /
| * | HDFFV-10632 separate stderr and stdout in testsAllen Byrne2018-12-131-0/+4
| | |
* | | Fixed CVE division-by-zero issuesBinh-Minh Ribler2019-01-041-4/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Fixed HDFFV-10577 and similar issues found in H5Dchunk.c. All the occurrences are in: H5D__create_chunk_map_single H5D__create_chunk_file_map_hyper H5D__chunk_allocate H5D__chunk_update_old_edge_chunks H5D__chunk_prune_by_extent H5D__chunk_copy_cb H5D__chunk_collective_fill Also updated RELEASE.txt for the chunk query functions and removed some blank lines in chunk_info.c. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
* | Addressed HDFFV-10661Binh-Minh Ribler2018-12-151-175/+1356
|/ | | | | | | | | | | | | Description: - Fixed a bug triggered by tests in chunk_info.c. The returned value from a callback function was not checked in H5EA_iterate(), H5FA_iterate(), and H5D__none_idx_iterate(). This oversight caused a callback function to continue iterating even though it's supposed to stop. Vailin confirmed. - Addressed review comments and made various improvements on the tests. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
* Fixed typos.Binh-Minh Ribler2018-12-071-14/+3
| | | | | Platforms tested: Linux/64 (jelly)
* Merge pull request #1314 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to ↵Vailin Choi2018-11-134-160/+209
| | | | | | | | | develop * commit '51076d40617aa6f0236809c2c919cc6921b3bbc1': Fixed exit() to HDexit() in use_append_chunk.c and use_append_mchunks.c 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 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.
* Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)Allen Byrne2018-11-082-347/+13
|\ | | | | | | | | | | | | * commit 'ec72efcd4ddb17145323bf93c5cc28fc59695c55': Improved comments Removed an old comment line. Moved tests to another file
| * Improved commentsBinh-Minh Ribler2018-11-081-2/+6
| |
| * Removed an old comment line.Binh-Minh Ribler2018-11-081-1/+0
| |
| * Moved tests to another fileBinh-Minh Ribler2018-11-071-344/+7
| | | | | | | | | | | | | | | | Description: Moved the test function test_get_chunk_info from dsets.c to chunk_info.c because chunk_info.c was created for the purpose of testing chunk information. Platforms tested: Linux/64 (jelly)
* | TRILABS: Merge CMake changes from developAllen Byrne2018-11-072-24/+28
|/
* Updated new API functionsBinh-Minh Ribler2018-11-063-35/+414
| | | | | | | | | | | Description: - Addressed additional review comments - Moved the test function test_get_chunk_info from dsets.c to chunk_info.c because chunk_info.c was created for the purpose of testing chunk information. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* Updated new API functionsBinh-Minh Ribler2018-11-051-17/+77
| | | | | | | | | | | | | | Description: - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to handle dataset with no data. - Addressed other review comments - Note that additional tests will be added as we need to send users these functions asap for feedback. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* New API functionsBinh-Minh Ribler2018-10-291-1/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Added functions to query chunk information: H5Dget_num_chunks(dset_id, fspace_id, *nchunks) Gets the number of written chunks that intersect with the given dataspace. However, in this version, the intersection is not yet completed. Thus, the number of all written chunks will be returned. H5Dget_chunk_info_by_coord(dset_id, *coord, *filter_mask, *addr, *size) Given a chunk's coordinates, returns the chunk's filter, address, and size. H5Dget_chunk_info(dset_id, fspace_id, index, *coord, *filter_mask, *addr, *size) Given a chunk's index, returns the chunk's coordinates, filter, address, and size. The chunk belongs to a set of chunks that have nonempty intersection with the specified dataspace. However, in this version, the intersection is not yet completed, and the index is of all the written chunks. Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* HDFFV-10594, 10332, 10531Allen Byrne2018-09-262-13/+55
|
* Update system commands with HD prefix and whitespaceAllen Byrne2018-08-288-1899/+1387
|
* Add swmr tests, fix java scriptAllen Byrne2018-07-273-28/+492
|
* Fix for HDFFV-9277: update the ainfo message after removing an attribute.Vailin Choi2018-07-261-0/+94
|
* Apply Cygwin pathches from Marco Atzeri.Larry Knox2018-07-261-0/+2
| | | | Commit Joe Lee's typo corrections for src/H5MF.c.
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-269-41/+41
| | | | | | | | | 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
* Fix test_misc33() in test/tmisc.cVailin Choi2018-07-261-1/+1
| | | | Open the test file read-only so that it can be accessed for testing.
* fixed typo.Hyo-Kyung Lee2018-07-261-1/+1
|
* Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-06-141-18/+24
|\
| * Normalization with vol_integration branch.Dana Robinson2018-06-071-18/+24
| |
* | Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-06-0431-472/+2792
|\ \ | |/
| * Fix usage of compression lib in shared testsAllen Byrne2018-06-011-1/+18
| |
| * Merge pull request #1043 in HDFFV/hdf5 from ↵Dana Robinson2018-05-316-9/+2179
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:h5do_direct_chunk_hl_to_src to develop * commit '1da9c5545c013ebc540ba3044810889d4acfa5be': Restored some unused #defines to the deprecated section of H5Dpublic.h. Added deprecated symbol wrappers for the H5DOwrite/read_chunk wrappers. Updated commenting in the H5DO compat test. Stripped out most of the duplicated functionality in the H5DO compat test. * Added H5DO compatibility functions. * Changed the offset copy to use an array on the stack. * Yanked some unused #defines. * Fixed the error tests * Moved common functionality into helper functions Normalize with trunk prior to update merge Fixed a warning. Finished move of H5DOread/write_chunk calls to H5D. First stage of moving H5DOread/write_chunk() to src/ and making them H5D calls. * Moved H5DOread/write_chunk() to H5Dio.c and renamed to H5D*. * Moved the hl/test/test_dset_opt test to test/ and renamed to direct_chunk. * Moved the hl/test/dectris_hl_perf test to tools/test/perform and renamed to direct_write_perf. * Updated autotools and CMake files.
| | * Merge branch 'develop' into h5do_direct_chunk_hl_to_srcDana Robinson2018-05-152-99/+80
| | |\
| | * | * Fixed the error testsDana Robinson2018-05-022-3/+3
| | | | | | | | | | | | | | | | * Moved common functionality into helper functions
| | * | Merge branch 'develop' into h5do_direct_chunk_hl_to_srcDana Robinson2018-04-304-212/+231
| | |\ \
| | * | | First stage of moving H5DOread/write_chunk() to src/ and makingDana Robinson2018-04-304-6/+2176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | them H5D calls. * Moved H5DOread/write_chunk() to H5Dio.c and renamed to H5D*. * Moved the hl/test/test_dset_opt test to test/ and renamed to direct_chunk. * Moved the hl/test/dectris_hl_perf test to tools/test/perform and renamed to direct_write_perf. * Updated autotools and CMake files.
| * | | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Vailin Choi2018-05-313-158/+158
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e8ece625f223032db0d26cfffafc045e4ccdf37d': Normalize with vol_integration.
| | * | | | Normalize with vol_integration.Dana Robinson2018-05-293-158/+158
| | | | | |
| * | | | | (1) Made the change according to the pull request feedback.Vailin Choi2018-05-311-201/+1
| | | | | | | | | | | | | | | | | | | | | | | | (2) Removed the performance test form test/th5o.c: will decide on what needs to be done to show speedup via HDFFV-10463.
| * | | | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Vailin Choi2018-05-237-292/+273
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2b0fb7e3f1f7da5b23d430702493ed4fb7f87166': (21 commits) HDFFV-9739 only executes H5E tests in production Remove link flag from compile command fix typo Add release note Correct attribute location HDFFV-9739 fix copy testfiles command HDFFV-9739 remove obsolete test files HDFFV-9739 dup test file for concurrent tests HDFFV-9739 Fix autotools script HDFFV-9739 Change autotools test scripts Fix typo HDFFV-9739 Update test reference Update current windows test machines HDFFV-9739 Grab err number before API call HDFFV-9739 Add release note Adjust test names for concurrent tests Fix soversion HDFFV-9739 Fix copy name HDFFV-9739 factor out tests into separate JUnit Updated the threadsafety test to use error macros instead of asserts. ...