1 |
commit: 33c1c6c0e3092b7784f2faff086745175f953587 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 15:52:15 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 15:52:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c1c6c0 |
7 |
|
8 |
dev-ros/combined_robot_hw_tests: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/624734 |
11 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
.../combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild | 6 ++++++ |
15 |
dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild | 6 ++++++ |
16 |
2 files changed, 12 insertions(+) |
17 |
|
18 |
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 |
19 |
index 2ffddf9ca60..c38e64568c9 100644 |
20 |
--- a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild |
21 |
+++ b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-0.19.1.ebuild |
22 |
@@ -29,3 +29,9 @@ DEPEND="${RDEPEND} |
23 |
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] |
24 |
dev-cpp/gtest |
25 |
)" |
26 |
+ |
27 |
+src_test() { |
28 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
29 |
+ export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" |
30 |
+ ros-catkin_src_test |
31 |
+} |
32 |
|
33 |
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 |
34 |
index 2ffddf9ca60..c38e64568c9 100644 |
35 |
--- a/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild |
36 |
+++ b/dev-ros/combined_robot_hw_tests/combined_robot_hw_tests-9999.ebuild |
37 |
@@ -29,3 +29,9 @@ DEPEND="${RDEPEND} |
38 |
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] |
39 |
dev-cpp/gtest |
40 |
)" |
41 |
+ |
42 |
+src_test() { |
43 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
44 |
+ export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" |
45 |
+ ros-catkin_src_test |
46 |
+} |