Skip to content

Commit fc1dc8b

Browse files
committed
[roottest] Skip h2root on mac beta and mark as WILL_FAIL.
- If the known error message is encountered, the test will be skipped. - If the test passes unexpectedly, the WILL_FAIL will signal this.
1 parent 691ad34 commit fc1dc8b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

roottest/root/hist/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ if(fortran AND CMAKE_Fortran_COMPILER AND NOT CMAKE_Fortran_COMPILER_ID STREQUAL
1111
COMMAND ${CMAKE_COMMAND} -E env h2root mb4i1.hbook
1212
COPY_TO_BUILDDIR mb4i1.hbook
1313
OUTREF h2root.ref)
14+
15+
# Mask the known failure due to a read error in the file
16+
if(CMAKE_SYSTEM_NAME MATCHES "Darwin" AND CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 25.4)
17+
set_tests_properties(roottest-root-hist-h2root PROPERTIES
18+
SKIP_REGULAR_EXPRESSION "Error cannot open input file: mb4i1\.hbook"
19+
WILL_FAIL True)
20+
endif()
1421
endif()
1522

1623
ROOTTEST_ADD_TESTDIRS()

0 commit comments

Comments
 (0)