Skip to content

Commit

Permalink
eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain …
Browse files Browse the repository at this point in the history
…emake for src_test so that it works with ninja too.
  • Loading branch information
aballier committed Oct 9, 2015
1 parent b4da2ef commit 5220bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/ros-catkin.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ ros-catkin_src_compile() {
# Decorator around cmake-utils_src_test to ensure tests are built before running them.
ros-catkin_src_test_internal() {
cd "${BUILD_DIR}" || die
if nonfatal emake tests -n &> /dev/null ; then
emake VERBOSE=1 tests
if nonfatal cmake-utils_src_make tests -n &> /dev/null ; then
cmake-utils_src_make tests
fi
cmake-utils_src_test "${@}"
}
Expand Down

0 comments on commit 5220bb2

Please sign in to comment.