aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Antener <antener_a@gmx.ch>2015-02-22 14:54:32 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-02-28 18:25:36 +0100
commita54849eeffde2cfefd5b8274fc2d7ef2da4e92e6 (patch)
treeadc0aae1f911df81998bb7c81b821fb5236f07c3 /CMakeLists.txt
parentcbbc660b88917fd0c4cf3fe54ca5c769775e7ae9 (diff)
downloadpx4-firmware-a54849eeffde2cfefd5b8274fc2d7ef2da4e92e6.tar.gz
px4-firmware-a54849eeffde2cfefd5b8274fc2d7ef2da4e92e6.tar.bz2
px4-firmware-a54849eeffde2cfefd5b8274fc2d7ef2da4e92e6.zip
adding previous integration demo tests
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f015e5618..ca8e11488 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,6 +134,7 @@ include_directories(
src/
src/lib
${EIGEN_INCLUDE_DIRS}
+ integrationtests
)
## generate multiplatform wrapper headers
@@ -320,3 +321,10 @@ install(TARGETS ${PROJECT_NAME}
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
+
+if(CATKIN_ENABLE_TESTING)
+ find_package(rostest REQUIRED)
+ add_rostest(integrationtests/integrationtests.launch)
+endif()
+
+