Skip to content

Commit

Permalink
[cxxmodules] Exclude remaining tests
Browse files Browse the repository at this point in the history
Excluded tdf012_DefinesAndFiltersAsStrings, stressvector-interpreted,
         stressmathcore-interpreted when runtime_cxxmodules is On.
  • Loading branch information
yamaguchi1024 authored and vgvassilev committed May 11, 2018
1 parent d6d91e3 commit bea06e8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,13 @@ ROOT_ADD_TEST(test-stressspectrum-interpreted COMMAND ${ROOT_root_CMD} -b -q -l
FAILREGEX "FAILED|Error in" DEPENDS test-stressspectrum LABELS longtest)

#--stressVector------------------------------------------------------------------------------------
ROOT_EXECUTABLE(stressVector stressVector.cxx LIBRARIES Physics GenVector)
ROOT_ADD_TEST(test-stressvector COMMAND stressVector FAILREGEX "FAILED|Error in")
ROOT_ADD_TEST(test-stressvector-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressVector.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressvector)
# FIXME: Temporary workaround for runtime_cxxmodule
if(NOT FIXME_TEMPORARILY_EXCLUDED_FOR_RUNTIME_CXXMODULES)
ROOT_EXECUTABLE(stressVector stressVector.cxx LIBRARIES Physics GenVector)
ROOT_ADD_TEST(test-stressvector COMMAND stressVector FAILREGEX "FAILED|Error in")
ROOT_ADD_TEST(test-stressvector-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressVector.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressvector)
endif()

#--stressTMVA--------------------------------------------------------------------------------------
if(CUDA_FOUND)
Expand All @@ -174,6 +177,8 @@ if(ROOT_mathmore_FOUND)
endif()

#--stressMathCore----------------------------------------------------------------------------------
# FIXME: Temporary workaround for runtime_cxxmodule
if(NOT FIXME_TEMPORARILY_EXCLUDED_FOR_RUNTIME_CXXMODULES)
ROOT_STANDARD_LIBRARY_PACKAGE(TrackMathCoreDict
NO_SOURCES
NO_INSTALL_HEADERS
Expand All @@ -189,6 +194,7 @@ ROOT_EXECUTABLE(stressMathCore stressMathCore.cxx LIBRARIES MathCore Hist RIO Tr
ROOT_ADD_TEST(test-stressmathcore COMMAND stressMathCore FAILREGEX "FAILED|Error in")
ROOT_ADD_TEST(test-stressmathcore-interpreted COMMAND ${ROOT_root_CMD} -b -q -l ${CMAKE_CURRENT_SOURCE_DIR}/stressMathCore.cxx
FAILREGEX "FAILED|Error in" DEPENDS test-stressmathcore)
endif()

#--stressRooFit----------------------------------------------------------------------------------
if(ROOT_roofit_FOUND)
Expand Down
2 changes: 2 additions & 0 deletions tutorials/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ endif()
# FIXME: Temporary workaround for runtime_cxxmodule
if(FIXME_TEMPORARILY_EXCLUDED_FOR_RUNTIME_CXXMODULES)
set(runtime_cxxmodules_veto dataframe/tdf013_InspectAnalysis.C
dataframe/tdf012_DefinesAndFiltersAsStrings.C
fit/fithist.C
graphics/markerwarning.C
math/quasirandom.C
Expand Down Expand Up @@ -411,6 +412,7 @@ if(ROOT_python_FOUND)

if(FIXME_TEMPORARILY_EXCLUDED_FOR_RUNTIME_CXXMODULES)
set(runtime_cxxmodules_veto_py dataframe/tdf002_dataModel.py
dataframe/tdf012_DefinesAndFiltersAsStrings.py
math/tStudent.py)
list(REMOVE_ITEM pytutorials ${runtime_cxxmodules_veto_py})
endif()
Expand Down

0 comments on commit bea06e8

Please sign in to comment.