commit:     5220bb29741e1685b42a6312c0b7bf2821672040
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 11:16:38 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 11:16:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5220bb29

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(-)

diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 41405b3..7ceb1b3 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 "${@}"
 }

Reply via email to