eclass/ros-catkin.eclass: Always try to build tests.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 31 Jul 2018 15:21:14 +0000 (17:21 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 31 Jul 2018 15:21:22 +0000 (17:21 +0200)
Closes: https://bugs.gentoo.org/661122

eclass/ros-catkin.eclass

index a556f28b4c950cc8ae15d51081079036e8241583..17745d72ecaf11150bbd4c9c20930bf77e0a934c 100644 (file)
@@ -224,11 +224,7 @@ ros-catkin_src_test() {
                einfo "Regenerating setup_cached.sh for tests"
                ${PYTHON:-python} catkin_generated/generate_cached_setup.py || die
        fi
-       # 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
+       nonfatal cmake-utils_src_make tests
        cmake-utils_src_test "${@}"
 }