From: Alexis Ballier Date: Fri, 9 Oct 2015 11:16:38 +0000 (+0200) Subject: eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain emake for src_te... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5220bb29741e1685b42a6312c0b7bf2821672040;p=gentoo.git eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain emake for src_test so that it works with ninja too. --- 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 "${@}" }