Skip to content

Commit 9f5b347

Browse files
authored
Merge pull request #225 from jhendersonHDF/skip_granularbr_arm64win
Temporarily skip a BITROUND test on ARM64 Windows
2 parents a68108e + 6c27e5d commit 9f5b347

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

BITROUND/config/cmake/binex/example/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ if (H5PL_BUILD_TESTING)
111111
set_tests_properties (H5DUMP-${testname} PROPERTIES
112112
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
113113
DEPENDS ${testname})
114+
# This test currently fails on ARM64 Windows and needs more investigation
115+
if ("H5DUMP-${testname}" MATCHES "H5DUMP-h5ex_d_granularbr" AND MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
116+
if (CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64|AARCH64" OR CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64")
117+
set_tests_properties (H5DUMP-${testname} PROPERTIES DISABLED TRUE)
118+
endif ()
119+
endif ()
114120
set (last_test "H5DUMP-${testname}")
115121
endif ()
116122
endmacro ()

BITROUND/example/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ if (H5PL_BUILD_TESTING)
116116
set_tests_properties (H5DUMP-${testname} PROPERTIES
117117
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
118118
DEPENDS ${testname})
119+
# This test currently fails on ARM64 Windows and needs more investigation
120+
if ("H5DUMP-${testname}" MATCHES "H5DUMP-h5ex_d_granularbr" AND MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
121+
if (CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64|AARCH64" OR CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64")
122+
set_tests_properties (H5DUMP-${testname} PROPERTIES DISABLED TRUE)
123+
endif ()
124+
endif ()
119125
set (last_test "H5DUMP-${testname}")
120126
endif ()
121127
endmacro ()

config/cmake/binex/example/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ if (H5PL_BUILD_TESTING)
202202
set_tests_properties (H5DUMP-${testname} PROPERTIES
203203
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
204204
DEPENDS ${testname})
205+
# This test currently fails on ARM64 Windows and needs more investigation
206+
if ("H5DUMP-${testname}" MATCHES "H5DUMP-h5ex_d_granularbr" AND MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
207+
if (CMAKE_SYSTEM_PROCESSOR MATCHES "ARM64|AARCH64" OR CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64")
208+
set_tests_properties (H5DUMP-${testname} PROPERTIES DISABLED TRUE)
209+
endif ()
210+
endif ()
205211
set (last_test "H5DUMP-${testname}")
206212
endif ()
207213
endmacro ()

0 commit comments

Comments
 (0)