eclass/ros-catkin.eclass: use emake tests with nonfatal as nonfatal is still fatal...
authorAlexis Ballier <aballier@gentoo.org>
Sat, 30 Apr 2016 14:23:08 +0000 (16:23 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 30 Apr 2016 14:23:08 +0000 (16:23 +0200)
eclass/ros-catkin.eclass

index 412ff66e01c937476964eb95e3c71caa819c578f..30132b70c4b974be9ea8cee7d8cc6e96ab01d1a5 100644 (file)
@@ -202,7 +202,9 @@ 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 cmake-utils_src_make tests -n &> /dev/null ; then
+       # Using cmake-utils_src_make with nonfatal does not work and breaks e.g.
+       # dev-ros/rviz.
+       if nonfatal emake tests -n &> /dev/null ; then
                cmake-utils_src_make tests
        fi
        cmake-utils_src_test "${@}"