1 |
commit: d89088e19e169b1d9c6d0bc77e967f3d20f04d18 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 14:25:25 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 12:37:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89088e1 |
7 |
|
8 |
dev-ros/calibration_estimation: fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738482 |
11 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
dev-ros/calibration_estimation/calibration_estimation-0.10.14.ebuild | 5 +++++ |
15 |
dev-ros/calibration_estimation/calibration_estimation-9999.ebuild | 5 +++++ |
16 |
2 files changed, 10 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/calibration_estimation/calibration_estimation-0.10.14.ebuild b/dev-ros/calibration_estimation/calibration_estimation-0.10.14.ebuild |
19 |
index c83819a9fef..d24d3f65147 100644 |
20 |
--- a/dev-ros/calibration_estimation/calibration_estimation-0.10.14.ebuild |
21 |
+++ b/dev-ros/calibration_estimation/calibration_estimation-0.10.14.ebuild |
22 |
@@ -37,3 +37,8 @@ src_prepare() { |
23 |
sed -e 's/yaml.load/yaml.safe_load/g' -i src/*/*.py -i test/*.py || die |
24 |
2to3 -w src/*/*.py src/*/*/*.py test/*.py || die |
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/calibration_estimation/calibration_estimation-9999.ebuild b/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild |
33 |
index c83819a9fef..d24d3f65147 100644 |
34 |
--- a/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild |
35 |
+++ b/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild |
36 |
@@ -37,3 +37,8 @@ src_prepare() { |
37 |
sed -e 's/yaml.load/yaml.safe_load/g' -i src/*/*.py -i test/*.py || die |
38 |
2to3 -w src/*/*.py src/*/*/*.py test/*.py || die |
39 |
} |
40 |
+ |
41 |
+src_test() { |
42 |
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" |
43 |
+ ros-catkin_src_test |
44 |
+} |