Skip to content
Snippets Groups Projects
Commit 224d5992 authored by Giuseppe Avolio's avatar Giuseppe Avolio
Browse files

Added unit test

parent 8014e08d
No related branches found
No related tags found
No related merge requests found
Pipeline #42314 failed with stage
......@@ -140,17 +140,19 @@ tdaq_add_executable(rc_example_app_rm
bin/rc_example_application_rm.cxx
LINK_LIBRARIES rc_ItemCtrl rc_CmdLine tdaq-common::ers osw rmgr)
# TODO: CPPUNIT
#
#tdaq_add_executable(rc_test_fsm
# test/test_fsm.cxx
# LINK_LIBRARIES )
tdaq_add_executable(rc_test_fsm
test/test_fsm.cxx
LINK_LIBRARIES CppUnit rc_FSMStates rc_FSMCommands rc_FSMRoot rc_FSMLeaf rc_RCCommands tdaq-common::ers)
tdaq_add_executable(rc_test_ctrl
test/test_rc_app.cxx
INCLUDE_DIRECTORIES tmgr
LINK_LIBRARIES rc_Commander ipc tdaq-common::ers Boost::program_options)
tdaq_add_executable(rc_test_cbk
test/test_callback.cxx
LINK_LIBRARIES rc_Commander ipc tdaq-common::ers Boost::program_options)
tdaq_add_library(rc_PyModules
src/Python/RCPyBindings
LINK_LIBRARIES Boost::python PythonLibs tdaq-common::ers ipc rc_RCCommands rc_FSMCommands rc_FSMStates rc_Commander)
......@@ -171,6 +173,16 @@ tdaq_add_jar(JRunControl
INCLUDE_JARS TestManager/newtestdal.jar ipc/ipc.jar Jers/ers.jar TDAQExtJars/external.jar
OUTPUT_NAME RunControl)
# FIXME: install python, generated IDL files, idl file, RunControl.jar
tdaq_add_python_files(python/rcpy.py)
add_test(NAME FSMTest COMMAND rc_test_fsm)
#create_javadoc(RunControl
# PACKAGES daq.rc
# SOURCEPATH jsrc
# WINDOWTITLE "RunControl"
# DOCTITLE "<h1>RunControl</h1>"
# AUTHOR TRUE
# USE TRUE
# VERSION TRUE
#)
\ No newline at end of file
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