summaryrefslogtreecommitdiffstats
path: root/tools/test
Commit message (Collapse)AuthorAgeFilesLines
* Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859)Allen Byrne2023-11-2219-58/+508
|
* Add extra space in comments for consistency (#3852)H. Joe Lee2023-11-141-2/+2
| | | | | * Add extra space in comments for consistency * uncomment tfloatsattrs test
* Add helpful text to h5clear (#3754)bmribler2023-10-232-4/+18
| | | | | | | Added text to the usage of h5clear to explain that this tool is not for fixing corrupted files but simply for helping in the inspection of the damage.. Fixed expected output for testing the modified usage.
* Clean up onion VFD files in tools `make clean` (#3739)Dana Robinson2023-10-212-3/+2
| | | | Cleans up h5dump and h5diff *.onion files in the Autotools when runing `make clean`.
* Test scripts now execute in-source with creation of tmp dir (#3723)Allen Byrne2023-10-2035-42/+49
| | | | | | Fixes a few issues created in #3580: * Fixes a problem where committed tools test files were deleted when cleaning after an in-source build * Fixes issues with test file paths in Autotools tools test scripts
* Sync changes that are only in 1.14 branch (#3704)jhendersonHDF2023-10-181-1/+1
|
* Fix several spelling/grammar issues (#3621)jhendersonHDF2023-10-034-4/+4
|
* Remove unnecessary assignment in test generator (#3603)Dana Robinson2023-09-271-1/+0
| | | | | | | Fixes what looks like a copy/paste/modify error in the format convert test file generator, where an array element is assigned one value and them immediately overwritten by another value. Fixes Coverity issue 1542285
* Develop tools move (#3580)Allen Byrne2023-09-261037-2117/+61918
| | | Reorganizes the tools files to support the VOL tests
* Replaces HDgetenv with getenv (#3599)Scot Breitenfeld2023-09-261-2/+2
|
* Use HDoff_t with lseek consistently (#3600)Dana Robinson2023-09-262-5/+5
| | | | | lseek on Windows uses __int64 for both the offset and return type instead of off_t like most POSIX systems. This changes ensures we use HDoff_t (which is typdef'd correctly on Windows) w/ lseek.
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-1519-183/+183
| | | | | | | | | | | | | | | | | | | | | * Strip HD prefix from string/char C API calls * HD(f)(put|get)(s|c) * HDstr* * HDv*printf * HD(s)(print|scan)f * HDperror But NOT: * HDstrcase* * HDvasprintf * HDstrtok_r * HDstrndup As those are not C99 and have portability work-around implementations. They will be handled later. * Fix th5_system.c screwup
* Remove HD prefix from math functions (#3538)Dana Robinson2023-09-141-18/+18
|
* hbool_t/TRUE/FALSE --> bool/true/false in tools (#3491)Dana Robinson2023-09-0512-159/+155
|
* Fix ph5diff tests for MPIEXEC_MAX_NUMPROCS=1 (#3407)jhendersonHDF2023-08-221-3/+5
|
* Another round of fixing -Wextra-semi-stmt warnings (#3264)Sean McBride2023-07-241-2/+2
| | | Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* removed the use of encoded single apostrophe (#3261)Scot Breitenfeld2023-07-202-2/+2
| | | | | | * removed the use of encoded single apostrophe, and fix H5Dread_chunk from write to read * updated sanitizer paragraph * fixed brief description for H5Fget_info
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-297-28/+28
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-2920-227/+1
| | | | * Removes Programmer: and Date: fields * Fixes a few Modifications: fields leftover from previous work
* Remove HD from C std lib file ops (#3206)Dana Robinson2023-06-297-53/+53
| | | | | | | | | * HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-291-2/+2
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-298-32/+32
| | | | | * HDatexit * HDexit * HD_exit
* Remove HD from protected POSIX calls (#3203)Dana Robinson2023-06-291-14/+14
| | | | | | | | | | | These calls are non-C99 but protected by ifdefs and have no Windows equivalents: * HDalarm * HDasprintf * HDclock_gettime * HDfcntl * HDgethostname * HDgetrusage * HDsymlink
* Remove HD from memory allocate/free calls (#3195)Dana Robinson2023-06-2814-293/+293
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Rename HDsystem() to system() (#3197)Dana Robinson2023-06-281-2/+2
| | | | system() is only used in the iopipe test and the things it calls (which are POSIX-y) are protected by an ifdef.
* Add note about HDF5_VOL_CONNECTOR to tools usage (#3159)mattjala2023-06-2811-0/+33
|
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-2822-587/+584
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-284-516/+516
| | | | | * Change HDassert to assert * Fix bin/make_err
* Many fixes to various compiler warnings (#3124)Sean McBride2023-06-1911-47/+59
| | | | | | | | | | | * Fixed various -Wmissing-variable-declarations by adding static keyword * In a few cases, renamed the variable suffix from _g to _s. * Fixed some -Wmissing-variable-declarations by using different declaration macros * Fixed various -Wconditional-uninitialized warnings by just initializing variable to zero * Fixed various -Wcomma warnings * Fixed clang -Wstrict-prototypes warnings * Fixed various -Wunused-variable warnings * Updated some casts to fix the only 3 -Wcast-qual warnings * Fixed the only -Wsometimes-uninitialized warning
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-1611-63/+63
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Add h5copy help test and verify consistency (#2902)Allen Byrne2023-05-177-3/+175
| | | * Add autotools test for help
* Add no subsets option to h5diff like h5dump #2688 (#2756)Allen Byrne2023-04-1810-0/+20
|
* Comment cleanup (#2689)Quincey Koziol2023-04-118-66/+2
| | | * Clean up content and redundant logging in comments.
* Remove dead code hidden behind #ifdef LATER (#2686)Dana Robinson2023-04-101-20/+0
|
* Make sure that ONLY_SHARED_LIBS option is correctly set (#2544)Allen Byrne2023-03-1310-31/+21
|
* Check for overflow when calculating on-disk attribute data size (#2459)Egbert Eich2023-03-022-0/+10
| | | | | | | | | | | | | | | | | * Remove duplicate code Signed-off-by: Egbert Eich <eich@suse.com> * Add test case for CVE-2021-37501 Bogus sizes in this test case causes the on-disk data size calculation in H5O__attr_decode() to overflow so that the calculated size becomes 0. This causes the read to overflow and h5dump to segfault. This test case was crafted, the test file was not directly generated by HDF5. Test case from: https://github.com/ST4RF4LL/Something_Found/blob/main/HDF5_v1.13.0_h5dump_heap_overflow.md
* Play nice with existing plugin paths (#2394)Quincey Koziol2023-01-064-4/+4
| | | | | | | | | | | | | | | | | | | * Correct concurrency bugs when running tests, along with a bugfix & small warning cleanup. * Committing clang-format changes * Allow spaces (and tabs) in VOL connector info string from environment variable. * Parse connector name from HDF5_PLUGIN_PATH environment variable better * Correct H5VLquery_optional to use H5VL routine instead of H5I. Also add an error message to the failure return value from not finding a plugin. * Play nice with existing plugin paths Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal> Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
* H5F_LIBVER_LATEST changes for move to 1.15 (#2288)Allen Byrne2022-12-212-8/+9
| | | | | | | | | | | | | | | * H5F_LIBVER_LATEST changes for move to 1.15 * Add new default api check * Format fixes * Fix default configure * fix lib version tests * Fix another version variable * Add 1.14 doc link
* Add aarch64 toolchain and change dump test to long opt (#2271)Allen Byrne2022-12-011-1/+1
|
* Update copyright headers (#2184)Larry Knox2022-11-0178-78/+10
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Update develop branch version to 1.13.4-1 (#2189)Larry Knox2022-10-261-7/+7
| | | | | | * Updated version to 1.13.4-1 after creating hdf5_1_13_3 branch for 1.13.3 release. Added new version to exceptions in lines 74-5 of src/H5.c
* Update CMake code to 3.18 minimum version (#2080)Allen Byrne2022-09-0315-22/+17
| | | | | * Update CMake code to 3.18 minimum version * Updated release note
* Removes cmake_ext_mod (files moved to cmake) (#2041)Dana Robinson2022-08-1916-89/+89
| | | | At one time this content was a git submodule shared between several projects but that time has long passed.
* Fixes codespell issues (#2032)Dana Robinson2022-08-171-1/+1
| | | | | * Fixes codespell issues * Fixed another typo
* Update version to 1.13.3-1 after creating hdf5_1_13_2 branch for 1.13.2 (#2004)Larry Knox2022-08-121-7/+7
| | | | release. Added new version to exceptions in line 75 of src/H5.c.
* Revert "Increment version to 1.13.3-1 after creating hdf5_1_13_2 branch for ↵Larry Knox2022-08-121-7/+7
| | | | | | | | release" This reverts commit c58558e872d529da6eda327183ca2d14cfa91b95. H5TEST-tcheck_version-release failed.
* Increment version to 1.13.3-1 after creating hdf5_1_13_2 branch for releaseLarry Knox2022-08-121-7/+7
| | | | of HDF5 1.13.2.
* Fix typos found in the rest of the hdf5 code-base (#1985)luzpaz2022-08-104-5/+5
| | | | | | | | | | | * Fix typos found in the rest of the hdf5 code-base * Typo in tool.cmake * Revert "Typo in tool.cmake" This reverts commit 06b8403d99757c7d20f1eed530cf317c3d84de4b. * Fix clang-format styling
* Fix CMake macro code commands (#1989)Allen Byrne2022-08-101-3/+0
|
* Revert for older cmake versions (#1974)Allen Byrne2022-08-085-141/+0
| | | | | * Revert for older cmake versions * Remove unneeded clear/clean tests because of changes to test macro