Add unit tests for commands

This commit is contained in:
Alexey Rybalchenko
2019-09-27 17:06:32 +02:00
committed by Dennis Klein
parent 1c1509af3e
commit 7502f4b424
2 changed files with 212 additions and 0 deletions

View File

@@ -316,3 +316,20 @@ if(BUILD_SDK)
)
endif()
endif()
if(BUILD_SDK_COMMANDS)
add_testsuite(Commands
SOURCES
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
commands/_commands.cxx
LINKS
Commands
StateMachine
Tools
INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
TIMEOUT 30
${definitions}
)
endif()