1 |
commit: 7f7967d27d9f19bea171506b10c082e317233f41 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 14:15:50 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 14:16:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7967d2 |
7 |
|
8 |
dev-ros/camera_calibration_parsers: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/626502 |
11 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
.../camera_calibration_parsers-1.12.0.ebuild | 5 +++++ |
15 |
.../camera_calibration_parsers-9999.ebuild | 5 +++++ |
16 |
2 files changed, 10 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.12.0.ebuild b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.12.0.ebuild |
19 |
index 6f351dc9396..5f92d8b70bd 100644 |
20 |
--- a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.12.0.ebuild |
21 |
+++ b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.12.0.ebuild |
22 |
@@ -29,3 +29,8 @@ BDEPEND=" |
23 |
virtual/pkgconfig |
24 |
" |
25 |
PATCHES=( "${FILESDIR}/boostpython.patch" ) |
26 |
+ |
27 |
+src_test() { |
28 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
29 |
+ ros-catkin_src_test |
30 |
+} |
31 |
|
32 |
diff --git a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild |
33 |
index 6f351dc9396..5f92d8b70bd 100644 |
34 |
--- a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild |
35 |
+++ b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild |
36 |
@@ -29,3 +29,8 @@ BDEPEND=" |
37 |
virtual/pkgconfig |
38 |
" |
39 |
PATCHES=( "${FILESDIR}/boostpython.patch" ) |
40 |
+ |
41 |
+src_test() { |
42 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
43 |
+ ros-catkin_src_test |
44 |
+} |