mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
test/cache_api: avoid false rpt_fcn pointer mismatch on Windows (#6274)
* test: avoid false function-pointer mismatch for rpt_fcn on Windows * test: relax rpt_fcn comparison for MinGW
This commit is contained in:
@@ -83,11 +83,11 @@ jobs:
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
ctest . --parallel 2 -C ${{ inputs.build_mode }} -E "cache_api|dt_arith|err_compat"
|
||||
ctest . --parallel 2 -C ${{ inputs.build_mode }} -E "dt_arith|err_compat"
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
|
||||
- name: Run Expected to Fail Tests
|
||||
run: |
|
||||
ctest . --parallel 2 -C ${{ inputs.build_mode }} -R "cache_api|dt_arith|err_compat"
|
||||
ctest . --parallel 2 -C ${{ inputs.build_mode }} -R "dt_arith|err_compat"
|
||||
working-directory: ${{ runner.workspace }}/build
|
||||
continue-on-error: true
|
||||
|
||||
@@ -4990,8 +4990,12 @@ resize_configs_are_equal(const H5C_auto_size_ctl_t *a, const H5C_auto_size_ctl_t
|
||||
{
|
||||
if (a->version != b->version)
|
||||
return (false);
|
||||
else if ((a->rpt_fcn == NULL) != (b->rpt_fcn == NULL))
|
||||
return (false);
|
||||
#ifndef H5_HAVE_MINGW
|
||||
else if (a->rpt_fcn != b->rpt_fcn)
|
||||
return (false);
|
||||
#endif
|
||||
else if (compare_init && (a->set_initial_size != b->set_initial_size))
|
||||
return (false);
|
||||
else if (compare_init && (a->initial_size != b->initial_size))
|
||||
|
||||
Reference in New Issue
Block a user