Skip to content
Snippets Groups Projects
Commit e6edad3c authored by Miroslav Saur's avatar Miroslav Saur
Browse files

Merge branch 'rm-disable-tests-cuda' into '2024-patches'

Disable all tests for cuda platforms

See merge request !3542
parents 1a89b0f0 41dd8475
No related branches found
No related tags found
5 merge requests!4232Run5: rebase, restructure run5 code, add back examples,!3689Draft: Enlarging mass windows for B2cc lines,!3669Draft: Update References for: LHCb!4624 based on lhcb-2024-patches-mr/879,!3554Synchronize master branch with 2024-patches,!3542Disable all tests for cuda platforms
Pipeline #7612588 passed with warnings
......@@ -44,9 +44,9 @@ if (BINARY_TAG MATCHES ".*cuda.*")
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(hlt1conf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${hlt1conf_tests})
if(test MATCHES "allen")
#message(STATUS "Disabling ${test}")
if(test MATCHES "")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
......@@ -32,7 +32,4 @@ from Moore.qmtest.exclusions import remove_known_warnings
countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0},
stdout=remove_known_warnings(stdout))
</text></argument>
<argument name="unsupported_platforms"><set>
<text>(gcc|clang)[0-9]{2}(\+cuda[0-9]{2}_[0-9])?(\+dd4hep)?-.*</text>
</set></argument>
</extension>
......@@ -29,7 +29,4 @@ countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0},
stdout=remove_known_warnings(stdout))
</text></argument>
<argument name="unsupported_platforms"><set>
<text>(gcc|clang)[0-9]{2}(\+cuda[0-9]{2}_[0-9])?(\+dd4hep)?-.*</text>
</set></argument>
</extension>
......@@ -155,3 +155,15 @@ if(BUILD_TESTING AND NOT USE_DD4HEP)
)
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(hlt2conf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${hlt2conf_tests})
if(test MATCHES "")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
......@@ -42,3 +42,15 @@ else()
DISABLED TRUE
)
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(moore_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${moore_tests})
if(test MATCHES "")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
......@@ -28,19 +28,6 @@ if(BINARY_TAG MATCHES "san$")
endforeach()
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(recoconf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${recoconf_tests})
if(test MATCHES "allen")
#message(STATUS "Disabling ${test}")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
if(BUILD_TESTING AND USE_DD4HEP)
# Disable some tests that are not yet dd4hep ready
set_property(
......@@ -71,3 +58,15 @@ if(BUILD_TESTING AND NOT USE_DD4HEP)
DISABLED TRUE
)
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(recoconf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${recoconf_tests})
if(test MATCHES "")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment