1 |
commit: 5220bb29741e1685b42a6312c0b7bf2821672040 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 11:16:38 2015 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 11:16:52 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5220bb29 |
7 |
|
8 |
eclass: ros-catkin.eclass: Use cmake-utils_src_make instead of plain emake for src_test so that it works with ninja too. |
9 |
|
10 |
eclass/ros-catkin.eclass | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass |
14 |
index 41405b3..7ceb1b3 100644 |
15 |
--- a/eclass/ros-catkin.eclass |
16 |
+++ b/eclass/ros-catkin.eclass |
17 |
@@ -201,8 +201,8 @@ ros-catkin_src_compile() { |
18 |
# Decorator around cmake-utils_src_test to ensure tests are built before running them. |
19 |
ros-catkin_src_test_internal() { |
20 |
cd "${BUILD_DIR}" || die |
21 |
- if nonfatal emake tests -n &> /dev/null ; then |
22 |
- emake VERBOSE=1 tests |
23 |
+ if nonfatal cmake-utils_src_make tests -n &> /dev/null ; then |
24 |
+ cmake-utils_src_make tests |
25 |
fi |
26 |
cmake-utils_src_test "${@}" |
27 |
} |