Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing foreach for VFD and Pasthrough runs #4292

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/CMakePassthroughVOLTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ add_custom_target(HDF5_VOLTEST_LIB_files ALL COMMENT "Copying files needed by HD

macro (ADD_VOL_TEST volname volinfo resultcode)
#message(STATUS "volname=${volname} volinfo=${volinfo}")
foreach (h5_test ${H5_EXPRESS_TESTS})
if (NOT h5_test IN_LIST H5_VOL_SKIP_TESTS)
if (WIN32)
CHECK_VOL_TEST (${h5_test} ${volname} "${volinfo}" ${resultcode})
else ()
DO_VOL_TEST (${h5_test} ${volname} "${volinfo}" ${resultcode})
endif ()
endif ()
endforeach ()
foreach (h5_test ${H5_TESTS})
if (NOT h5_test IN_LIST H5_VOL_SKIP_TESTS)
if (WIN32)
Expand Down
9 changes: 9 additions & 0 deletions test/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,15 @@ add_custom_target(HDF5_VFDTEST_LIB_files ALL COMMENT "Copying files needed by HD
endmacro ()

macro (ADD_VFD_TEST vfdname resultcode)
foreach (h5_test ${H5_EXPRESS_TESTS})
if (NOT h5_test IN_LIST H5_VFD_SKIP_TESTS)
if (WIN32)
CHECK_VFD_TEST (${h5_test} ${vfdname} ${resultcode})
else ()
DO_VFD_TEST (${h5_test} ${vfdname} ${resultcode})
endif ()
endif ()
endforeach ()
foreach (h5_test ${H5_TESTS})
if (NOT h5_test IN_LIST H5_VFD_SKIP_TESTS)
if (WIN32)
Expand Down
Loading