From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1191429-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DB3BB138359
	for <garchives@archives.gentoo.org>; Wed, 29 Jul 2020 13:18:15 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1291AE0BC7;
	Wed, 29 Jul 2020 13:18:15 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ECA8DE0BC7
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 Jul 2020 13:18:14 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DF10F34F1C8
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 Jul 2020 13:18:13 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D805F2F1
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 Jul 2020 13:18:11 +0000 (UTC)
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" <aballier@gentoo.org>
Message-ID: <1596028683.5b3b7c4c230bb9a89e3a767a1ce0dcc3d54e0da4.aballier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/pr2_description/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ros/pr2_description/pr2_description-1.12.4.ebuild dev-ros/pr2_description/pr2_description-9999.ebuild
X-VCS-Directories: dev-ros/pr2_description/
X-VCS-Committer: aballier
X-VCS-Committer-Name: Alexis Ballier
X-VCS-Revision: 5b3b7c4c230bb9a89e3a767a1ce0dcc3d54e0da4
X-VCS-Branch: master
Date: Wed, 29 Jul 2020 13:18:11 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 03ab7d84-77f3-4be2-83e5-33e92a35fcef
X-Archives-Hash: dfadd44f1a07e6572d3d244fac66c78a

commit:     5b3b7c4c230bb9a89e3a767a1ce0dcc3d54e0da4
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 13:10:36 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 13:18:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3b7c4c

dev-ros/pr2_description: fix tests search dirs

Fixes tests

Closes: https://bugs.gentoo.org/624340
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 dev-ros/pr2_description/pr2_description-1.12.4.ebuild | 6 ++++++
 dev-ros/pr2_description/pr2_description-9999.ebuild   | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/dev-ros/pr2_description/pr2_description-1.12.4.ebuild b/dev-ros/pr2_description/pr2_description-1.12.4.ebuild
index 61b9e3a4770..6bdb9365260 100644
--- a/dev-ros/pr2_description/pr2_description-1.12.4.ebuild
+++ b/dev-ros/pr2_description/pr2_description-1.12.4.ebuild
@@ -18,3 +18,9 @@ DEPEND="${RDEPEND}
 	dev-ros/convex_decomposition
 	dev-ros/ivcon
 	test? ( dev-libs/urdfdom dev-cpp/gtest )"
+
+src_test() {
+	# Needed for tests to find internal launch file
+	export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+	ros-catkin_src_test
+}

diff --git a/dev-ros/pr2_description/pr2_description-9999.ebuild b/dev-ros/pr2_description/pr2_description-9999.ebuild
index 61b9e3a4770..6bdb9365260 100644
--- a/dev-ros/pr2_description/pr2_description-9999.ebuild
+++ b/dev-ros/pr2_description/pr2_description-9999.ebuild
@@ -18,3 +18,9 @@ DEPEND="${RDEPEND}
 	dev-ros/convex_decomposition
 	dev-ros/ivcon
 	test? ( dev-libs/urdfdom dev-cpp/gtest )"
+
+src_test() {
+	# Needed for tests to find internal launch file
+	export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}"
+	ros-catkin_src_test
+}