Skip to content

Commit

Permalink
Add missing foreach for VFD and Pasthrough runs (HDFGroup#4292)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored and lrknox committed Apr 1, 2024
1 parent a3fab85 commit 84a3801
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
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

0 comments on commit 84a3801

Please sign in to comment.