summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Remove programmer/date from comments (#3210)Dana Robinson2023-06-29152-3894/+0
| | | | * 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-2927-157/+157
| | | | | | | | | * HDfclose * HDferror * HDfeof * HDfflush * HDfopen * HDfread * HDfwrite
* Remove HD from strto* calls (#3204)Dana Robinson2023-06-293-7/+7
| | | | | | | | * HDstrtod * HDstrtol * HDstrtoll * HDstrtoul * HDstrtoull * HDstrtoumax
* Rename HDexit() and related to exit(), etc. (#3202)Dana Robinson2023-06-2963-335/+335
| | | | | * HDatexit * HDexit * HD_exit
* Remove some "Programmer" comments (#3209)Dana Robinson2023-06-2917-65/+24
| | | | | | | | | | These are meaningless noise. Removes the "Programmer" lines on comment start lines: /* Programmer: John Smith These complicate my sed script that will rip out the rest of the comments.
* Rename HDato*() to ato*() (#3201)Dana Robinson2023-06-2915-42/+42
|
* Remove HD from protected POSIX calls (#3203)Dana Robinson2023-06-293-5/+5
| | | | | | | | | | | 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-28122-3191/+3188
| | | | | | * HDcalloc * HDfree * HDmalloc * HDrealloc
* Remove HD from HDposix_memalign() (#3196)Dana Robinson2023-06-281-2/+2
| | | | The posix_memalign call is only used in the direct VFD, which can only be built if posix_memalign() is available.
* Rename HD(f)printf() to (f)printf() (#3194)Dana Robinson2023-06-28136-10982/+10743
|
* Rename HDassert() to assert() (#3191)Dana Robinson2023-06-2858-1508/+1498
| | | | | * Change HDassert to assert * Fix bin/make_err
* Rename HDpipe() to pipe() (#3192)Dana Robinson2023-06-281-25/+25
| | | Pipe is POSIX but implemented in Microsoft's CRT
* Rename HDqsort() to qsort() (#3193)Dana Robinson2023-06-285-14/+14
| | | | | | | | | * Rename HDqsort() to qsort() * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Remove HD from fork/exec*/wait* (#3190)Dana Robinson2023-06-287-59/+59
| | | | These are not C99 but are hidden behind ifdefs and are highly unlikely to ever have non-POSIX equivalents.
* Remove HDva_(arg|copy|end|start) (#3184)Dana Robinson2023-06-284-14/+14
|
* Remove dead code behind #ifdef OLD_WAY (#3163)Dana Robinson2023-06-211-37/+3
|
* Many fixes to various compiler warnings (#3124)Sean McBride2023-06-1976-561/+576
| | | | | | | | | | | * 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
* Remove HD prefix from network calls (#3142)Dana Robinson2023-06-161-5/+5
| | | HDsocket(), etc. Only affects the mirror VFD and its test code.
* Many clang -Wextra-semi-stmt fixes (#2537)Sean McBride2023-06-1688-1696/+1696
| | | | | * Adds semicolons to function-like macros * Adds a do..while(0) loop to some macros * Removes semicolons when inappropriate, especially H5E_TRY_BEGIN/END
* Revert long double checks (#3133)Dana Robinson2023-06-151-3/+112
| | | | | | | * Revert "Remove long double conversion work-arounds (#3097)" This reverts commit 1e1dac1dac58fa18f6b7788346d1ba7d3315b0f9. * Update comments to reflect newer systems
* Fix function name in comment in ros3 VFD (#3131)H. Joe Lee2023-06-151-4/+1
|
* Fix spelling issues flagged by codespell (#3130)Dana Robinson2023-06-153-3/+3
|
* Fix a misc warning in test/vol.c (#3112)Dana Robinson2023-06-131-5/+6
| | | | The compiler complains about using integers instead of size_t for some sizes.
* Remove long double conversion work-arounds (#3097)Dana Robinson2023-06-121-112/+3
| | | | | | | | | | | | | | | | | | | | | Several options and public symbols that were provided to paper over non-standard long double conversions between signed/unsigned long and long long values were removed from the Autotools and CMake. These were added twenty years ago, when C99 and 64-bit platforms were less common and are no longer needed. Autotools: --enable-dconv-accuracy CMake: HDF5_WANT_DATA_ACCURACY H5pubconf.h symbols: H5_WANT_DATA_ACCURACY H5_LDOUBLE_TO_LONG_SPECIAL H5_LONG_TO_LDOUBLE_SPECIAL H5_LDOUBLE_TO_LLONG_ACCURATE H5_LLONG_TO_LDOUBLE_CORRECT H5_DISABLE_SOME_LDOUBLE_CONV
* Remove code paths where long long < 8 bytes (#3098)Dana Robinson2023-06-122-31/+4
| | | | | The C99 standard says that a long long is 8+ bytes. This change removes a few parts of the code where we assume that a long long could be less than that.
* Address memory issues when copying empty enums (#3088)Dana Robinson2023-06-121-476/+508
| | | | | | | | | | When copying an empty enum type (including implicitly, as when an enum is contained in a compound type), the library would allocate 0-size blocks of memory and attempt to memcpy 0 bytes from NULL pointers, which are undefined behavior. In debug mode, the library would raise an assert in H5MM. The library now avoid undefined memory operations when copying empty enum types and a test that copies empty enums has been added.
* Convert H5F haddr_t macros to H5 (#3039)Dana Robinson2023-06-0511-155/+155
| | | | | | | | | | | | | | | | | | | | | | Several macros for handling haddr_t values exist in H5Fprivate.h and have H5F prefixes, even though they have nothing to do with a particular file (e.g., H5F_addr_lt()). These macros have been moved to H5private.h and renamed to have an H5 prefix. Affected macros: H5F_addr_overflow H5F_addr_defined H5F_addr_eq H5F_addr_ne H5F_addr_lt H5F_addr_le H5F_addr_gt H5F_addr_ge H5F_addr_cmp H5F_addr_overlap H5F_addr_pow2 was unused and removed instead of converted.
* Only pass efc pointer to H5F__efc_open (#3026)Dana Robinson2023-05-301-325/+325
| | | | The H5F__efc_open() API call only needs the efc pointer, so there is no need to pass the entire file struct in.
* API test updates (#3018)jhendersonHDF2023-05-2624-3640/+3413
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove macros from api tests (#2929) * Remove macros and undefined callbacks (#2959) * Remove remaining macros from H5_api_tests_disabled.h (#2968) * Put some vol capability checks in testpar tests and remove remaining warnings (#2995) * API tests datatype generation cleanup * Clean up API tests' random datatype generation and fix bug with enum datatype generation * Init parallel API tests with MPI_THREAD_MULTIPLE * HDF5 API tests - Check VOL connector registration * Determine whether a VOL connector failed to load before running API tests * Cleanup some usages of H5VL_CAP_FLAG_CREATION_ORDER in API tests * Remove some now-unused macros from H5_api_tests_disabled.h * Enable HDF5 API tests by default * Implement CMake option to install HDF5 API tests * Check for invalid AAPL from H5Acreate * Enable building of VOL connectors alongside HDF5 in CMake * Prepend CMake VOL URL option indices with 0s so they come in order * Don't turn on API tests by default yet * Document VOL connector FetchContent functionality * Add release note for API test updates * Only install testing library if API tests are installed * Fix grammar
* Suppress vfd.c test warning (#3014)Dana Robinson2023-05-251-8/+13
|