Added top-level nosetests. Assumes certain additions to catkin.
This commit is contained in:
parent
e21fc0d56d
commit
64b78ea3b1
|
@ -3,6 +3,11 @@ project(ros)
|
|||
find_package(catkin)
|
||||
find_package(Boost COMPONENTS thread)
|
||||
|
||||
# Must call catkin_export_python() early, to ensure that things like
|
||||
# rosunit are symlinked into build/bin, and can be found by things like
|
||||
# add_gtest(), which is called from within lower-level CMakeLists.txts.
|
||||
catkin_export_python()
|
||||
|
||||
foreach(subdir
|
||||
core/roslib
|
||||
tools/rosbash
|
||||
|
@ -11,10 +16,17 @@ foreach(subdir
|
|||
add_subdirectory(${subdir})
|
||||
endforeach()
|
||||
|
||||
|
||||
install(PROGRAMS
|
||||
bin/rosrun
|
||||
DESTINATION bin
|
||||
)
|
||||
|
||||
catkin_export_python()
|
||||
# nosetests are declared here to make them visible to the build system
|
||||
# (e.g., for Jenkins to invoke) but keep them from polluting the pristine
|
||||
# Python packages.
|
||||
add_nosetests(core/roslib/test)
|
||||
add_nosetests(tools/rosmake/test)
|
||||
add_nosetests(tools/rosunit/test)
|
||||
add_nosetests(tools/rosclean/test)
|
||||
add_nosetests(tools/roscreate/test)
|
||||
|
||||
|
|
Loading…
Reference in New Issue