Unknown CMake command: "add_rostest".
As title says, I am getting an error while running catkin_make on the ros_planning navigation package ( https://github.com/ros-planning/navig... ) I believe I am running into some kind of environment problem, but I cannot figure out what is wrong. rostest is added as a dependency in the package.xml, and the kinetic-devel branch of navigation has find_package(rostest) in its CMakeLists file.
OS: Elementary OS Loki Using ros kinetic
Base path: /home/zachk/Projects/ros
Source space: /home/zachk/Projects/ros/src
Build space: /home/zachk/Projects/ros/build
Devel space: /home/zachk/Projects/ros/devel
Install space: /home/zachk/Projects/ros/install
####
#### Running command: "make cmake_check_build_system" in "/home/zachk/Projects/ros/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/zachk/Projects/ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/zachk/Projects/ros/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.11
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 18 packages in topological order:
-- ~~ - navigation (metapackage)
-- ~~ - map_server
-- ~~ - tests
-- ~~ - amcl
-- ~~ - fake_localization
-- ~~ - robot_pose_ekf
-- ~~ - voxel_grid
-- ~~ - costmap_2d
-- ~~ - nav_core
-- ~~ - base_local_planner
-- ~~ - carrot_planner
-- ~~ - clear_costmap_recovery
-- ~~ - dwa_local_planner
-- ~~ - move_slow_and_clear
-- ~~ - navfn
-- ~~ - global_planner
-- ~~ - rotate_recovery
-- ~~ - move_base
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'navigation'
-- ==> add_subdirectory(navigation/navigation)
-- +++ processing catkin package: 'map_server'
-- ==> add_subdirectory(navigation/map_server)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at navigation/map_server/CMakeLists.txt:94 (add_rostest):
Unknown CMake command "add_rostest".
-- Configuring incomplete, errors occurred!
Makefile:542: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed