summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Hdf5 merge issue 488 v112 (#534)Larry Knox2021-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Snapshot version 1.12 release 1-3. Update version to 1.12.1-4. * First cut of the H5 public API documentation. (#80) * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch. * Full set of current H5F documentation. (#105) * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch. * Migrated documentation for SWMR functions. * Catching up on MDC functions. * Integrated the H5F MDC function documentation. * Added MDC and parallel H5F functions. * Slightly updated main page. * Added doxygen/dox/H5AC_cache_config_t.dox to MANIFEST. * Doxygen - added (mostly) beginner functions (#112) * Doxygen - added (mostly) beginner functions * Removed duplicate H5Pset_szip function * Add src/H5module.h to MANIFEST. * close #195. (#196) * Update HDF5PluginMacros.cmake * Update HDF5PluginMacros.cmake * Avoid aligned access for references by decoding into temporary buffer and then copying the result into the actual buffer. Update test to be more thorough with using compound datatype fields everywhere. (#206) * Modify temporary rpath for testing in java example scripts. (#230) * Fix undefined left shifting of negative numbers (#338) Undefined Bahavior Sanitizer errored here about left shifting negative numbers. * Fixes various warnings noticed on Windows (#425) * Fixes various warnings noticed on Windows - Adds a prototype for our implementation of vasprintf - Return type of H5_get_utf16_str() is now non-const - Fixes possible uninitialized return type in Wremove_utf8 - Better isolation of fork() code in accum.c:test_swmr_write_big() - Better isolation of non-zlib code in dsets.c:test_filter_delete() - Removed unused variable in trefer.c:test_reference_cmpnd_obj() * Fixes clang-format issues * Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429) * Automatically applied clang-tidy readability-avoid-const-params-in-decls fixes Removes useless const declarations. * Fixed most readability-non-const-parameter warnings These changes were made automatically by clang-tidy, but I manually reverted the changes related to the H5Z_func_t signature. * Reformat source with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Added C++11 override keyword where appropriate (#433) Added H5_OVERRIDE macro for compatibility with both C++11 and older. * Various clang tidy warning fixes (#448) * Fixed clang-tidy bugprone-reserved-identifier warnings * Fixed clang-tidy bugprone-assert-side-effect warnings * Fixed clang-tidy bugprone-copy-constructor-init warning * Fixed clang-tidy readability-redundant-preprocessor warning For error_test.c the removed code was already dead, because it was in the else of an `#if H5_USE_16_API` block. Based on H5Location.h, I think p_get_ref_obj_type was meant to be in `#ifndef DOXYGEN_SHOULD_SKIP_THIS` and an `#endif` was missing. Similarly, in the header, getObjTypeByIdx is only in H5_NO_DEPRECATED_SYMBOLS, not DOXYGEN_SHOULD_SKIP_THIS. * Fixed clang-tidy readability-redundant-string-init warnings * Fixed some clang-tidy performance-type-promotion-in-math-fn warnings * Fixed clang-tidy performance-unnecessary-value-param warnings * Reformat source with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Removed checks/workarounds for pre-C++89 compatibility (#449) After 30+ years, just assume that the following exist: - extension-less includes - namespaces - std:: - static_cast - bool * Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451) * Fixed all clang-tidy bugprone-suspicious-string-compare warnings This change was generated entirely by clang-tidy itself. * Reformat code with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Remove 2 functions incorrectly merged from develop in a cherry-pick merge of PR #451. * Purge the buffer used in type conversion. (#263) Some of the uniniitialized bits in the buffer may get carried through all the way to disk, creating a risk for leaks. We observed an msan error during the floating point output conversion. Due to the encoding certain bits could remain untouched during the conversion. In this draft we zero initialize the dbuf used by every convertor. * Fixed HDFFV-10480 (CVE-2018-11206) and HDFFV-11159 (CVE-2018-14033) (#405) * Fixed HDFFV-10480 (CVE-2018-11206) and HDFFV-11159 (CVE-2018-14033) Description Checked against buffer size to prevent segfault, in case of data corruption. + HDFFV-11159 CVE-2018-14033 Buffer over-read in H5O_layout_decode + HDFFV-10480 CVE-2018-11206 Buffer over-read in H5O_fill_new[/old]_decode Platforms tested: Linux/64 (jelly) * Accidentally left in another occurrence of the previous patch from user after a more correct fix was applied, that is the check now accounted for the previous advance of the buffer pointer. Removed it. * Typo * Fixed format issues. * Added test. * Changed arguments to ADD_H5_TEST * Fixing arguments to ADD_H5_TEST again. * Fixing arguments again. * Took out the CMake changes until Allen can help. * Added files: tCVE_2018_11206_fill_old.h5 tCVE_2018_11206_fill_new.h5 * Revert "Took out the CMake changes until Allen can help." This reverts commit c21324d6e0044994c5cd24b0671e7d1dd41096cc. * Revert "Fixing arguments again." This reverts commit 5832a70674339e4b524749adde5a181f8c3a446a. * Revert "Fixing arguments to ADD_H5_TEST again." This reverts commit b45de823c22ce83a388d46466ef7c04b66ff05ed. * Revert "Changed arguments to ADD_H5_TEST" This reverts commit 16719824f57e52158451ddd261788c0dcaa3ec55. * Added first argument to ADD_H5_TEST for HDFFV-10480 fix. * Changed argument 0 to 1 * Revert "Changed argument 0 to 1" This reverts commit b343d6613ba681b43248dd5820e96389984ebcf7. * Revert "Added first argument to ADD_H5_TEST for HDFFV-10480 fix." This reverts commit b8a0f9a9e8ec8e6c6ff38d33195d63edff76a563. * Added first argument and corrected the second. * Updated fixes for HDFFV-10480 and HDFFV-11159/HDFFV-11049 * Improved error messages. * Added description of the current HDF5 branches; added a draft of contribution policy. (#445) * Added description of the current HDF5 branches. * Removed capitalization in from Develop, Release, Feature to reflect the real naming schema * Added a draft of contributions guidance document. * Fixed typos. * Fixed section title. * Fixed typo. * Fixed typos and formatting. * Fixed many typos and simplified the text (e.g., removed testing instructions and left pointers to where to find them, etc.) * Fixed a typo. Please enter the commit message for your changes. Lines starting * Added contributing.md file and rearranged doc entries in alphabetical order. * ddressed Gerd's review comments; found and fixed more typos. * Addressed comments from Larry and Scot. * Fix CMake error message location. (#478) Print error message if Perl is not found. * Committing clang-format changes Co-authored-by: Gerd Heber <gheber@hdfgroup.org> Co-authored-by: bljhdf <58825073+bljhdf@users.noreply.github.com> Co-authored-by: H. Joe Lee <hyoklee@hdfgroup.org> Co-authored-by: Quincey Koziol <quincey@koziol.cc> Co-authored-by: Sean McBride <sean@rogue-research.com> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com> Co-authored-by: Yu Feng <rainwoodman@gmail.com> Co-authored-by: bmribler <39579120+bmribler@users.noreply.github.com> Co-authored-by: epourmal <epourmal@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update URL in source file Copyright headers for web copy of COPYINGLarry Knox2021-02-201-1/+1
| | | | file - src and test directories.
* Correct TARGET variable and CMake config file locationAllen Byrne2020-11-121-2/+2
|
* OESS-98 add CMake option to build plugins project within hdf5Allen Byrne2020-10-161-1/+1
|
* Add clang-format changes from develop.Allen Byrne2020-09-281-0/+7
|
* Align contents of CMake and autotools testfile cleanup lists.Quincey Koziol2020-05-041-81/+43
|
* Mostly whitespace in testpar, addl changes for tmp dirAllen Byrne2019-08-151-5/+5
|
* HDFFV-10879 fix test varnameAllen Byrne2019-08-141-1/+1
|
* Remove old codeAllen Byrne2019-08-131-5/+0
|
* Correct error test spelling and useAllen Byrne2019-08-131-4/+37
|
* Add option to explicitly disable extra testsAllen Byrne2019-08-071-0/+2
|
* HDFFV-10529 Update CMake tests to use test fixturesAllen Byrne2019-07-231-105/+61
|
* HDFFV-10845 use of TARGETFILE disables auto emulatorAllen Byrne2019-07-171-21/+31
|
* HDFFV-10845 fix configure check and PATHsAllen Byrne2019-07-171-2/+2
|
* HDFFV-10805 Fix test of library libinfoAllen Byrne2019-06-191-6/+13
|
* HDFFV-10805 Add option to only build shared targetsAllen Byrne2019-06-181-367/+44
| | | | | HDFFV-10805 Add ONLY_SHARED_LIBS option and prefer shared over static HDFFV-10803 Update FindSZIP.cmake find module Remove unneeded modules and update java modules
* Fix for HDFFV-10800 H5Ocopy failure:Vailin Choi2019-06-121-0/+1
| | | | | The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format version bounds array for fill value message, should be version 3 not 2.
* ESE-97 add vol_plugin test to CMake buildsAllen Byrne2019-04-251-0/+19
|
* Fix CMake errorsAllen Byrne2019-04-181-20/+32
|
* Merge pull request #1600 in HDFFV/hdf5 from ↵Ray Lu2019-04-181-0/+128
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~SONGYULU/hdf5_ray:HDFFV-10658-performance-drop-from-1-8 to develop * commit 'b5ef82a1786605ae86502bc82086047720b7d4ca': (21 commits) Moving the handling of null prefix into H5_combine_path. Changing the prefix of external file and VDS from empty string to null for performance improvement. Improving the condition checking of empty string. Replacing string operation strdup with assignment for empty string. Adding back links_env.out which I accidentally removed in my previous commit. Taking out two unnecessary diff output files. Taking out unnecessary diff files for output. Adding some comments. Some coding style changes. Adding the standard output files for the external_env.c and vds_env.c tests. Small correction for my previous commit. Forgot to add external_common.c and external_common.h. Updated CMake for the splitting of external.c and vds.c. Minor fix: removal of unnecessary enum values. Minor fixes: updating the test vds_env.c according to the set up of vds.c. Left out this file in previous commit. 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 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. HDFFV-10658: I left out this file in my previous commit. HDFFV-10658: 1. moving HDgetenv to dataset initialization stage to reduce the overhead; 2. restoring the retrieval of three vol properties to H5P_get instead of using API context to prepare for Quincey's upcoming refactoring work. ...
| * Adding the standard output files for the external_env.c and vds_env.c tests.Songyu Lu2019-04-111-2/+24
| |
| * Small correction for my previous commit.Songyu Lu2019-04-111-2/+2
| |
| * Updated CMake for the splitting of external.c and vds.c.Songyu Lu2019-04-101-0/+106
| |
* | HDFFV-10741 - remove SKIP_ERRSTK_TESTS optionAllen Byrne2019-04-151-15/+19
| |
* | Renamed the HDF5_TEST_VOL option to HDF5_TEST_PASSTHROUGH_VOL.Dana Robinson2019-04-111-2/+2
|/
* HDFFV-10703 macro vars need quotesAllen Byrne2019-02-151-2/+2
|
* HDFFV-10703 Update CMake commands to latest standardAllen Byrne2019-02-151-20/+20
|
* Skip testing of cache_image testAllen Byrne2019-02-141-0/+2
|
* TRILAB-111 fixes for parallel testingAllen Byrne2019-02-131-52/+45
|
* Refactor out timeout valuesAllen Byrne2019-02-061-10/+10
|
* Added test file for CMakeBinh-Minh Ribler2019-01-261-0/+1
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Vailin Choi2019-01-021-0/+3
|\ | | | | | | | | | | | | | | develop Resolve conflicts: Conflicts: test/Makefile.am
| * Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-271-0/+10
| |\
| * | Fix some CMake listingsJacob Smith2018-12-211-0/+1
| | |
| * | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-0/+4
| |\ \
| * \ \ Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-36/+81
| |\ \ \
| * | | | Stash work on object header reduction code and tests.Jacob Smith2018-09-111-0/+2
| | | | | | | | | | | | | | | | | | | | CMake stuff is not verified.
* | | | | Fix for HDFFV-10659: The library abort with "infinite loop closing library"Vailin Choi2018-12-281-1/+20
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | HDFFV-10656 Add CHECK_VOL support to CMakeAllen Byrne2018-12-201-0/+10
| |_|/ |/| |
* | | HDFFV-10632 - split stderr and stdout in cmakeAllen Byrne2018-12-031-0/+4
| |/ |/|
* | HDFFV-10605 Only test plugins if SHARED enabledAllen Byrne2018-11-061-17/+19
| |
* | VOL FEATUREDana Robinson2018-10-101-7/+8
| |
* | CMake changes for SKIPPED and flush testsAllen Byrne2018-09-241-12/+54
|/
* TRILABS-137 Convert tcheck_version script to cmake testsAllen Byrne2018-07-181-2/+17
|
* TRILAB-31 Working locallyAllen Byrne2018-07-161-26/+87
|
* Merge pull request #1043 in HDFFV/hdf5 from ↵Dana Robinson2018-05-311-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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-151-3/+3
| |\
| * \ Merge branch 'develop' into h5do_direct_chunk_hl_to_srcDana Robinson2018-04-301-0/+1
| |\ \
| * | | First stage of moving H5DOread/write_chunk() to src/ and makingDana Robinson2018-04-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix MPI on Windows by adding MPI include folderAllen Byrne2018-05-091-1/+1
| |_|/ |/| |