summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-07 17:42:15 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-07 17:52:23 +0200
commite90859179e9931e27a259a6674d336b31cee84c3 (patch)
tree0715f7afde620da4a31c7fdb8d05f64975b134e6 /dev-ros
parentdev-ros/diagnostic_updater: fix tests (diff)
downloadgentoo-e90859179e9931e27a259a6674d336b31cee84c3.tar.gz
gentoo-e90859179e9931e27a259a6674d336b31cee84c3.tar.bz2
gentoo-e90859179e9931e27a259a6674d336b31cee84c3.zip
dev-ros/diagnostic_analysis: fix tests
Closes: https://bugs.gentoo.org/624774 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/diagnostic_analysis/diagnostic_analysis-1.9.4.ebuild5
-rw-r--r--dev-ros/diagnostic_analysis/diagnostic_analysis-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-ros/diagnostic_analysis/diagnostic_analysis-1.9.4.ebuild b/dev-ros/diagnostic_analysis/diagnostic_analysis-1.9.4.ebuild
index fb4c8e93adad..fdc2bbe90d68 100644
--- a/dev-ros/diagnostic_analysis/diagnostic_analysis-1.9.4.ebuild
+++ b/dev-ros/diagnostic_analysis/diagnostic_analysis-1.9.4.ebuild
@@ -21,3 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}
diff --git a/dev-ros/diagnostic_analysis/diagnostic_analysis-9999.ebuild b/dev-ros/diagnostic_analysis/diagnostic_analysis-9999.ebuild
index fb4c8e93adad..fdc2bbe90d68 100644
--- a/dev-ros/diagnostic_analysis/diagnostic_analysis-9999.ebuild
+++ b/dev-ros/diagnostic_analysis/diagnostic_analysis-9999.ebuild
@@ -21,3 +21,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]") )"
+
+src_test() {
+ export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+ ros-catkin_src_test
+}