From 5220bb29741e1685b42a6312c0b7bf2821672040 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 9 Oct 2015 13:16:38 +0200 Subject: eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain emake for src_test so that it works with ninja too. --- eclass/ros-catkin.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/ros-catkin.eclass') diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass index 41405b339cd8..7ceb1b3f38b8 100644 --- a/eclass/ros-catkin.eclass +++ b/eclass/ros-catkin.eclass @@ -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 "${@}" } -- cgit v1.2.3