Skip to content

Commit

Permalink
feat(test): add test target
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonasiv committed Dec 1, 2021
1 parent 551b925 commit 475bc44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ cmake_minimum_required(VERSION 2.6)
SET (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/.orogen/config")
INCLUDE(auv_controlBase)

if (ROCK_TEST_ENABLED)
enable_testing()
find_package(Rock REQUIRED)
include(RockRuby)
rock_ruby_test(test WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test)
endif()

# FIND_PACKAGE(KDL)
# FIND_PACKAGE(OCL)

2 changes: 2 additions & 0 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
<depend package="base/orogen/types"/>
<depend package="control/motor_controller"/>
<depend package="base/logging"/>

<test_depend package="tools/orocos.rb" />
</package>

0 comments on commit 475bc44

Please sign in to comment.