mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
chore(test): remove dead test code
- remove the StateMachine test: CMake did not build it, and it used an API that no longer exists - remove memory_resources/runner.cxx: no target uses it - remove the mqConfig declaration (never defined) and the SDK_TESTSUITE_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR macros (unused, test/sdk does not exist) - remove the unused boost/process includes from the device tests, and the compile definition that selected their header Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,10 +16,6 @@ if(FairLogger_VERSION VERSION_LESS 1.9.0 AND FairLogger_VERSION VERSION_GREATER_
|
||||
LIST(APPEND definitions FAIR_MIN_SEVERITY=trace)
|
||||
endif()
|
||||
|
||||
if(FAIRMQ_BOOST_PROCESS_V1_HEADER)
|
||||
LIST(APPEND definitions FAIRMQ_BOOST_PROCESS_V1_HEADER)
|
||||
endif()
|
||||
|
||||
if(definitions)
|
||||
set(definitions DEFINITIONS ${definitions})
|
||||
endif()
|
||||
@@ -63,7 +59,6 @@ add_testhelper(runTestDevice
|
||||
|
||||
set(RUN_TEST_DEVICE "${CMAKE_BINARY_DIR}/test/testhelper_runTestDevice")
|
||||
set(FAIRMQ_BIN_DIR ${CMAKE_BINARY_DIR}/fairmq)
|
||||
set(SDK_TESTSUITE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/sdk)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/runner.cxx.in ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/TestEnvironment.h.in ${CMAKE_CURRENT_BINARY_DIR}/TestEnvironment.h)
|
||||
|
||||
@@ -250,17 +245,6 @@ add_testsuite(Properties
|
||||
${environment}
|
||||
)
|
||||
|
||||
# add_testsuite(StateMachine
|
||||
# SOURCES
|
||||
# ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
|
||||
# state_machine/_state_machine.cxx
|
||||
|
||||
# LINKS FairMQ
|
||||
# INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
# ${CMAKE_CURRENT_BINARY_DIR}
|
||||
# TIMEOUT 5
|
||||
# )
|
||||
|
||||
add_testsuite(Tools
|
||||
SOURCES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
|
||||
|
||||
Reference in New Issue
Block a user