1 |
commit: cfee35024c2570bb1d29899817b5f81e44aa923a |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 16:06:18 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 16:09:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfee3502 |
7 |
|
8 |
dev-ros/test_rosgraph: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/625128 |
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_rosgraph/test_rosgraph-1.15.8.ebuild | 5 +++++ |
15 |
dev-ros/test_rosgraph/test_rosgraph-9999.ebuild | 5 +++++ |
16 |
2 files changed, 10 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild b/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild |
19 |
index 17776e85e11..71104c076e5 100644 |
20 |
--- a/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild |
21 |
+++ b/dev-ros/test_rosgraph/test_rosgraph-1.15.8.ebuild |
22 |
@@ -18,3 +18,8 @@ RDEPEND="dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]" |
23 |
DEPEND="${RDEPEND} |
24 |
test? ( dev-ros/rosgraph[${PYTHON_SINGLE_USEDEP}] ) |
25 |
" |
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/test_rosgraph/test_rosgraph-9999.ebuild b/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild |
33 |
index 17776e85e11..71104c076e5 100644 |
34 |
--- a/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild |
35 |
+++ b/dev-ros/test_rosgraph/test_rosgraph-9999.ebuild |
36 |
@@ -18,3 +18,8 @@ RDEPEND="dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]" |
37 |
DEPEND="${RDEPEND} |
38 |
test? ( dev-ros/rosgraph[${PYTHON_SINGLE_USEDEP}] ) |
39 |
" |
40 |
+ |
41 |
+src_test() { |
42 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
43 |
+ ros-catkin_src_test |
44 |
+} |