Skip to content
Snippets Groups Projects
Commit ed173213 authored by Axel Naumann's avatar Axel Naumann
Browse files

[rdf,test] Suppress Apple M1 failures due to lack of JIT exceptions.

parent 2c784fd2
Branches
Tags
No related merge requests found
......@@ -71,14 +71,16 @@ ROOT_EXECUTABLE(guitest guitest.cxx LIBRARIES RIO Gui Gpad Hist)
#ROOT_ADD_TEST(test-hsimple COMMAND hsimple)
#---invalid pointer checks---------------------------------------------------------------------
ROOT_ADD_TEST(test-check-nullptr
COMMAND ${ROOT_root_CMD} -b -q -l -e "int*ptr=(int*)0" -e "*ptr"
PASSREGEX "dereference null pointer")
if(NOT MSVC OR win_broken_tests)
ROOT_ADD_TEST(test-check-invalidptr
COMMAND ${ROOT_root_CMD} -b -q -l -e "int*ptr=(int*)1" -e "*ptr"
PASSREGEX "invalid memory address")
if(NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES arm64) OR M1_BROKEN_TESTS)
ROOT_ADD_TEST(test-check-nullptr
COMMAND ${ROOT_root_CMD} -b -q -l -e "int*ptr=(int*)0" -e "*ptr"
PASSREGEX "dereference null pointer")
if(NOT MSVC OR win_broken_tests)
ROOT_ADD_TEST(test-check-invalidptr
COMMAND ${ROOT_root_CMD} -b -q -l -e "int*ptr=(int*)1" -e "*ptr"
PASSREGEX "invalid memory address")
endif()
endif()
#--minexam-------------------------------------------------------------------------------------
......
......@@ -25,7 +25,9 @@ if(NOT MSVC OR win_broken_tests)
ROOT_GENERATE_DICTIONARY(MaxSlotHelperDict MaxSlotHelper.h LINKDEF MaxSlotHelperLinkDef.h OPTIONS -inlineInputHeader)
ROOT_ADD_GTEST(dataframe_simple dataframe_simple.cxx MaxSlotHelperDict.cxx LIBRARIES ROOTDataFrame)
target_include_directories(dataframe_simple PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
ROOT_ADD_GTEST(dataframe_snapshot dataframe_snapshot.cxx LIBRARIES ROOTDataFrame)
if(NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES arm64) OR M1_BROKEN_TESTS)
ROOT_ADD_GTEST(dataframe_snapshot dataframe_snapshot.cxx LIBRARIES ROOTDataFrame)
endif()
ROOT_ADD_GTEST(dataframe_helpers dataframe_helpers.cxx LIBRARIES ROOTDataFrame)
ROOT_ADD_GTEST(dataframe_vecops dataframe_vecops.cxx LIBRARIES ROOTDataFrame)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment