summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Work in progress for chunk cache with selection I/O improvement.vchoi-hdfgroup.org2024-01-021-7/+0
|
* Add 'warning density' computation to the warnhist script (#3910)Quincey Koziol2023-12-291-2/+2
| | | | | | | | | * Add 'warning density' computation to the warnhist script, along with several cleanups to it. Add "--enable-show-all-warnings" configure (and CMake) option to disable compiler diagnostic suppression (and therefore show all the otherwise suppressed compiler diagnostics), disabled by default. Clean up a buncn of misc. warnings. Signed-off-by: Quincey Koziol <qkoziol@amazon.com>
* Some changes to portal links when they could be found on docs.hdfgroup.org, ↵Lori Cooper2023-12-131-2/+2
| | | | | | | and changed the helpdesk link to help.hdfgroup.org (#3893) * Updated some portal links to go directly to docs.hdfgroup. * Fixed some portal and help desk links
* Fix configuration issue due to possibly empty CMake variable (#3869)jhendersonHDF2023-11-241-4/+4
|
* Fix segfault on user compound dtype conversion callback (#3842)mattjala2023-11-221-0/+125
| | | | | | * Fix segfault on user compound conversion * Check if lib conversion func is in use
* Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859)Allen Byrne2023-11-226-230/+304
|
* Add GitHub actions for testing VOL connectors (#3849)jhendersonHDF2023-11-153-68/+25
| | | | | | | | | | | | | | | | * Fix issue with HDF5_VOL_ALLOW_EXTERNAL CMake variable * Add initial API test workflow * Initialize parallel testing with MPI_THREAD_MULTIPLE when testing API * Add CMake variable to allow specifying a VOL connector's package name * Remove call to MPI_Init in serial API tests While previously necessary, it now interferes with VOL connectors that may need to be initialized with MPI_THREAD_MULTIPLE
* HDF5 API test updates (#3835)jhendersonHDF2023-11-1337-68890/+3328
| | | | | | | | | | | | | | | | | | | | | * HDF5 API test updates Removed test duplication from bringing API tests back into the library from external VOL tests repo Synced changes between API tests and library's tests Updated API tests CMake code to directly use and install testhdf5, testphdf5, etc. instead of creating duplicate binaries Added new h5_using_native_vol() test function to determine whether the VOL connector being used is (or the VOL connector stack being used resolves to) the native VOL connector * Remove duplicate variable
* Test and document path handling of H5Lcreate_* API (#3829)mattjala2023-11-111-0/+250
|
* Remove printf format warning on Windows oneAPI. (#3838)H. Joe Lee2023-11-101-1/+1
|
* Fix parallel driver check in h5_fixname_real (#3808)jhendersonHDF2023-10-311-5/+3
|
* Print some messages in parallel tests on MPI rank 0 only (#3785)jhendersonHDF2023-10-282-48/+64
| | | Avoids overly verbose output from all processes emitting progress, etc. info.
* Fix H5Pset_evict_on_close failing regardless of actual parallel use (#3761)Glenn Song2023-10-241-92/+0
| | | | | Allow H5Pset_evict_on_close to be called regardless of whether a parallel build of HDF5 is being used Fail during file opens if H5Pset_evict_on_close has been set to true on the given File Access Property List and the size of the MPI communicator being used is greater than 1
* Fix file names in tfile.c (#3743)Dana Robinson2023-10-222-5/+18
| | | | | | | | | | | Some tests in tfile.c use h5_fileaccess to get a VFD-dependent file name but use the scheme from testhdf5, reusing the FILE1 and FILE8 names. This leads to files like test1.h5.h5 which are unintended and not cleaned up. This changes the filename scheme for a few tests to work with h5test, resulting in more informative names and allowing the files to be cleaned up at the end of the test. The test files have also been added to the `make clean` target for the Autotools.
* Clean the flushrefresh test dir on Autotools (#3741)Dana Robinson2023-10-211-1/+1
| | | | The flushrefresh_test directory was not being cleaned up w/ `make clean` under the Autotools
* Add missing test files to distclean target (#3734)Dana Robinson2023-10-201-2/+5
| | | Cleans up new files in Autotools `make distclean` in the test directory
* Add new API function H5Pget_actual_select_io_mode() (#2974)Neil Fortner2023-10-201-267/+330
| | | This function allows the user to determine if the library performed selection I/O, vector I/O, or scalar (legacy) I/O during the last HDF5 operation performed with the provided DXPL. Expanded existing tests to check this functionality.
* Fix CMake VOL passthrough tests by copying files to correct directory (#3721)jhendersonHDF2023-10-191-3/+3
|
* Work around Theta system issue failure in links test (#3710)jhendersonHDF2023-10-181-35/+21
| | | | | | | | When the Subfiling VFD is enabled, the links test may try to initialize the Subfiling VFD and call MPI_Init_thread. On Theta, this appears to have an issue that will cause the links test to fail. Reworked the test to check for the same conditions in a more roundabout way that doesn't involved initializing the Subfiling VFD
* Correct ld in format strings in cmpd_dset.c (#3697)H. Joe Lee2023-10-181-2/+4
| | | | Removes clang warnings
* Restore floating-point suffixes in tests (#3698)Dana Robinson2023-10-171-6/+6
| | | | A prior commit removed too many F suffixes. This restores the suffixes for float variables.
* Fix unused variable in tselect.c (#3701)Dana Robinson2023-10-171-3/+5
|
* Fix a possible NULL pointer dereference in tests (#3676)Dana Robinson2023-10-161-126/+92
| | | | | The dtypes test could dereference a NULL pointer if a strdup call failed.
* Add more tests for selection I/O. (#3528)vchoi-hdfgroup2023-10-102-103/+1318
|
* Use real URLs and updated names for plugins (#3651)Allen Byrne2023-10-101-2/+2
| | | * synchronize TGZ naming convention/usage
* Fix several spelling/grammar issues (#3621)jhendersonHDF2023-10-0310-14/+14
|
* Fix Intel oneAPI icc warning (#3619)H. Joe Lee2023-09-301-2/+8
|
* Develop tools move (#3580)Allen Byrne2023-09-2660-68/+65
| | | Reorganizes the tools files to support the VOL tests
* Replaces HDgetenv with getenv (#3599)Scot Breitenfeld2023-09-2646-75/+75
|
* Use HDoff_t with lseek consistently (#3600)Dana Robinson2023-09-266-8/+8
| | | | | 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.
* Fix typo (givin->given) in test/testframe.c. (#3567)H. Joe Lee2023-09-221-1/+1
|
* Strip HD prefix from string/char C API calls (#3540)Dana Robinson2023-09-15144-3773/+3707
| | | | | | | | | | | | | | | | | | | | | * 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-145-46/+46
|
* removed C_INT32_T from Fortran APIs (#3537)Scot Breitenfeld2023-09-142-31/+31
|
* Consistent initialization of hid_t in the tests (#3521)Scot Breitenfeld2023-09-0893-4308/+4389
|
* Convert hbool_t --> bool in test (#3494)Dana Robinson2023-09-05132-11544/+11527
|
* Removed all the ranks printing out testing information (#3457)Scot Breitenfeld2023-09-012-6/+11
|
* Fix an issue with use of uninitialized memory in trefer_deprec.c test (#3422)jhendersonHDF2023-08-241-0/+1
|
* Implementation of the mpio driver with selection I/O. (#3222)vchoi-hdfgroup2023-08-071-4/+20
| | | | * This changes the default selection I/O to on for MPIO.
* Fix for the bug exposed from running test/set_extent.c when selection… (#3319)vchoi-hdfgroup2023-08-041-63/+124
| | | | | * Fix for the bug exposed from running test/set_extent.c when selection I/O is enabled. This is a fix from Neil. The test/set_extent.c is modified to test for selection I/O enabled.
* Fixes the last of the -Wextra-semi-stmt warnings (#3326)Sean McBride2023-08-0247-1384/+1394
| | | | | | | | | | | | | | | | | | | | | | | * Fixed extra semi warning by adjusting alternative macro definitions * Find-replace H5E_END_TRY; -> H5E_END_TRY * Made H5Epush_goto a do-while loop, fixed indentation * Made GOTOERROR and ERRMSG do-while loops * Made Hgoto_error and Hgoto_done do-while loops * Made vrfy_cint_type and vrfy_ctype do-while loops * Made TEST_TYPE_CONTIG and others do-while loops * Removed extraneous semi-colons * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update files to skip list and ignore_words_list (#3321)Larry Knox2023-08-021-1/+1
| | | | | * Update files to skip list and ignore_words_list for codespell to not check files generated by autotools. Autotools generate misspellings that can't be fixed in HDF5 code.
* Fix loading plugin fails with missing directory GH issue #3248 (#3315)Allen Byrne2023-08-021-0/+6
|
* Fix incorrect error check in H5Ofill.c for undefined fill values (#3312)jhendersonHDF2023-08-021-3/+32
|
* 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>
* Fixed more warnings about extra semicolons (#3249)Sean McBride2023-07-182-9/+9
| | | | | | | * Require semi-colon after H5_CHECK_OVERFLOW calls Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fix some warnings in developer builds (#3247)jhendersonHDF2023-07-184-10/+3
| | | | | * Fix some warnings in developer builds * Switch approach to Winline flag
* ROS3: (feature) Temporary security credentials (#3030)Jan-Willem Blokland2023-07-141-20/+22
| | | | | | | | | | - Implemented support for AWS temporary security credentials. For this kind of credentials also a session/security token should be included in the request by adding the x-amz-security-token header. Co-authored-by: Larry Knox <lrknox@hdfgroup.org> Co-authored-by: Jordan Henderson <jhenderson@hdfgroup.org> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Replace support.hdfgroup.org URLs for alternative COPYING file (#3228)Larry Knox2023-07-1225-23/+47
| | | | | | | | | * Replace support.hdfgroup.org URLs for alternative COPYING file locations in copyright headers with https://www.hdfgroup.org/licenses. Replace support.hdfgroup.org URL for alternative COPYING_LBNL_HDF5 with github URL. Tweak chkcopyright script for change from UICOPYRIGHTSTR to THGCOPYRIGHTSTR.
* Remove HD from HDmem* calls (#3211)Dana Robinson2023-06-29104-1741/+1739
|