summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue with FAPL file locking setting inheriting test (#4053)jhendersonHDF2024-03-014-94/+184
| | | | | Fixes an issue where the HDF5_USE_FILE_LOCKING environment variable being set can interfere with the file locking setting that the test expects to be returned.
* Fix allocating too much memory in dset API test (#4041)mattjala2024-02-261-1/+1
|
* Improve performance of flushing single objects (#4017)Neil Fortner2024-02-233-1894/+396
| | | | | Improve performance of flushing a single object, and remove metadata cache flush markers
* Fix H5F_get_access_plist to copy file locking settings (#4030)jhendersonHDF2024-02-221-0/+196
| | | | | | H5F_get_access_plist previously did not copy over the file locking settings from a file into the new File Access Property List that it creates. This would make it difficult to match the file locking settings between an external file and its parent file.
* Test vlen sequence IO in API tests (#4027)mattjala2024-02-212-0/+485
|
* Remove oneapi return value warning. (#4028)H. Joe Lee2024-02-191-0/+1
|
* Add compound subset ops on attributes to API tests (#4005)mattjala2024-02-142-0/+269
| | | | * Add partial compound io on attributes to API tests
* Issue #1824: Replaced most remaining sprintf with safer snprint (#4003)Sean McBride2024-02-136-32/+29
|
* Fix build issue and some warnings in H5_api_dataset_test.c (#3998)jhendersonHDF2024-02-091-12/+5
|
* Sync API tests with vol-tests (#3940)mattjala2024-02-066-154/+1911
|
* Fix potential infinite loop in API test (#3960)mattjala2024-01-251-1/+1
|
* Remove cached datatype conversion path table entries on file close (#3942)jhendersonHDF2024-01-231-0/+190
| | | | | | | | | | | | | | | | | | | | Remove cached datatype conversion path table entries on file close When performing datatype conversions during I/O, the library checks to see whether it can re-use a cached datatype conversion pathway by performing comparisons between the source and destination datatypes of the current operation and the source and destination datatypes associated with each cached datatype conversion pathway. For variable-length and reference datatypes, a comparison is made between the VOL object for the file associated with these datatypes, which may change as a file is closed and reopened. In workflows involving a loop that opens a file, performs I/O on an object with a variable-length or reference datatype and then closes the file, this can lead to constant memory usage growth as the library compares the file VOL objects between the datatypes as different and adds a new cached conversion pathway entry on each iteration during I/O. This is now fixed by clearing out any cached conversion pathway entries for variable-length or reference datatypes associated with a particular file when that file is closed.
* Add the user test program in HDFFV-9174 for committed types. (#3937)vchoi-hdfgroup2024-01-231-0/+169
| | | Add the user test program for committed types in HDFFV-9174
* Replace off_t with HDoff_t internally (#3944)Dana Robinson2024-01-181-9/+9
| | | | | | off_t is a 32-bit signed value on Windows, so we should use HDoff_t (which is __int64 on Windows) internally instead. Also defines HDftell on Windows to be _ftelli64().
* Add H5Dread/write_multi to API tests (#3919)mattjala2024-01-062-0/+1541
|
* Use props for includes and remove global includes (#3921)Allen Byrne2024-01-041-3/+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
|