1 |
commit: 419e31d8342ca3f5b236f7ef6437bfdcfe2bbac4 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 7 15:07:01 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 7 15:32:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=419e31d8 |
7 |
|
8 |
dev-ros/test_rosmaster: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/624786 |
11 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild | 5 +++++ |
15 |
dev-ros/test_rosmaster/test_rosmaster-9999.ebuild | 5 +++++ |
16 |
2 files changed, 10 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild b/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild |
19 |
index 26a355408e5..6a163fb0f0a 100644 |
20 |
--- a/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild |
21 |
+++ b/dev-ros/test_rosmaster/test_rosmaster-1.15.8.ebuild |
22 |
@@ -24,6 +24,11 @@ DEPEND="${RDEPEND} |
23 |
|
24 |
mycatkincmakeargs=( "-DCATKIN_ENABLE_TESTING=ON" ) |
25 |
|
26 |
+src_test() { |
27 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
28 |
+ ros-catkin_src_test |
29 |
+} |
30 |
+ |
31 |
src_install() { |
32 |
ros-catkin_src_install |
33 |
dodir /usr/share/${PN} |
34 |
|
35 |
diff --git a/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild b/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild |
36 |
index 26a355408e5..6a163fb0f0a 100644 |
37 |
--- a/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild |
38 |
+++ b/dev-ros/test_rosmaster/test_rosmaster-9999.ebuild |
39 |
@@ -24,6 +24,11 @@ DEPEND="${RDEPEND} |
40 |
|
41 |
mycatkincmakeargs=( "-DCATKIN_ENABLE_TESTING=ON" ) |
42 |
|
43 |
+src_test() { |
44 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
45 |
+ ros-catkin_src_test |
46 |
+} |
47 |
+ |
48 |
src_install() { |
49 |
ros-catkin_src_install |
50 |
dodir /usr/share/${PN} |