summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-06 16:15:50 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-06 16:16:38 +0200
commit7f7967d27d9f19bea171506b10c082e317233f41 (patch)
treeea4a681fba2703b83885518a753b0d45acdd4509
parentapp-text/vgrep: bump to v2.4.0 (diff)
downloadgentoo-7f7967d27d9f19bea171506b10c082e317233f41.tar.gz
gentoo-7f7967d27d9f19bea171506b10c082e317233f41.tar.bz2
gentoo-7f7967d27d9f19bea171506b10c082e317233f41.zip
dev-ros/camera_calibration_parsers: fix tests
Closes: https://bugs.gentoo.org/626502 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r--dev-ros/camera_calibration_parsers/camera_calibration_parsers-1.12.0.ebuild5
-rw-r--r--dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
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
index 6f351dc93967..5f92d8b70bd5 100644
--- 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
@@ -29,3 +29,8 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/boostpython.patch" )
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild
index 6f351dc93967..5f92d8b70bd5 100644
--- a/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild
+++ b/dev-ros/camera_calibration_parsers/camera_calibration_parsers-9999.ebuild
@@ -29,3 +29,8 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/boostpython.patch" )
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}