diff options
author | Alexis Ballier <aballier@gentoo.org> | 2020-08-07 17:52:15 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2020-08-07 17:52:24 +0200 |
commit | 33c1c6c0e3092b7784f2faff086745175f953587 (patch) | |
tree | 3994e208bc54966173861995c66119182907e085 /dev-ros/combined_robot_hw_tests | |
parent | dev-ros/transmission_interface: fix tests (diff) | |
download | gentoo-33c1c6c0e3092b7784f2faff086745175f953587.tar.gz gentoo-33c1c6c0e3092b7784f2faff086745175f953587.tar.bz2 gentoo-33c1c6c0e3092b7784f2faff086745175f953587.zip |
dev-ros/combined_robot_hw_tests: fix tests
Closes: https://bugs.gentoo.org/624734
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/combined_robot_hw_tests')
-rw-r--r-- | dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild | 6 | ||||
-rw-r--r-- | dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild index 2ffddf9ca609..c38e64568c99 100644 --- a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild +++ b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild @@ -29,3 +29,9 @@ DEPEND="${RDEPEND} dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild index 2ffddf9ca609..c38e64568c99 100644 --- a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild +++ b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild @@ -29,3 +29,9 @@ DEPEND="${RDEPEND} dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +} |