Commit be856aab authored by Steven Murray's avatar Steven Murray
Browse files

Added libcastortapereactorunittests.so

parent d47fd69e
......@@ -25,6 +25,7 @@ include_directories(${CMAKE_SOURCE_DIR}/tapeserver)
# Rules to build the reactor code that is common to both rmcd and tapeserverd
################################################################################
set (REACTOR_SRC_FILES
DummyPollEventHandler.cpp
DummyZMQReactor.cpp
PollEventHandler.cpp
PollReactor.cpp
......@@ -33,3 +34,10 @@ set (REACTOR_SRC_FILES
ZMQReactor.cpp)
add_library (castortapereactor ${REACTOR_SRC_FILES})
target_link_libraries (castortapereactor)
add_library (castortapereactorunittests SHARED
PollReactorImplTest.cpp
ZMQReactorTest.cpp)
target_link_libraries (castortapereactorunittests
castortapereactor)
......@@ -48,8 +48,6 @@ set_property(SOURCE
APPEND PROPERTY COMPILE_FLAGS -fno-strict-aliasing)
#add_executable(castorUnitTests
# castorUnitTests.cpp
# ../castor/server/DaemonTest.cpp
# ../castor/server/SmartCapTest.cpp
# ../castor/tape/reactor/PollReactorImplTest.cpp
# ../castor/tape/reactor/ZMQReactorTest.cpp
# ../castor/tape/tapeserver/daemon/AdminAcceptHandler.cpp
......
......@@ -10,6 +10,7 @@ target_link_libraries(unittests
castorlogunittests
castormessagesunittests
castorserverunittests
castortapereactorunittests
ctacommon
ctacommonunittests
CTAObjectStore
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment