summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-07-07 20:10:57 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-07-07 20:10:57 +0200
commit35fff873028857dedf712c32d0615a1c2e86e71f (patch)
tree4eaa6cd70d67930fc2880a45ec465a33db595319 /dev-ros
parentdev-ml/uchar: Restrict tests are they are just checking the lib is installed.... (diff)
downloadgentoo-35fff873028857dedf712c32d0615a1c2e86e71f.tar.gz
gentoo-35fff873028857dedf712c32d0615a1c2e86e71f.tar.bz2
gentoo-35fff873028857dedf712c32d0615a1c2e86e71f.zip
dev-ros/pr2_description: fix building tests; they still fail though.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/pr2_description/files/tests.patch13
-rw-r--r--dev-ros/pr2_description/pr2_description-1.12.0.ebuild3
-rw-r--r--dev-ros/pr2_description/pr2_description-9999.ebuild3
3 files changed, 17 insertions, 2 deletions
diff --git a/dev-ros/pr2_description/files/tests.patch b/dev-ros/pr2_description/files/tests.patch
new file mode 100644
index 000000000000..40c3a378d45d
--- /dev/null
+++ b/dev-ros/pr2_description/files/tests.patch
@@ -0,0 +1,13 @@
+Index: pr2_common-1.12.0/pr2_description/test/test_urdf.cpp
+===================================================================
+--- pr2_common-1.12.0.orig/pr2_description/test/test_urdf.cpp
++++ pr2_common-1.12.0/pr2_description/test/test_urdf.cpp
+@@ -100,7 +100,7 @@ int walker( std::string & result, int& t
+ }
+ xml_file.close();
+
+- boost::shared_ptr<urdf::ModelInterface> robot = urdf::parseURDF(xml_string);
++ std::shared_ptr<urdf::ModelInterface> robot = urdf::parseURDF(xml_string);
+ if (!robot) test_result = test_result || 1;
+
+ }
diff --git a/dev-ros/pr2_description/pr2_description-1.12.0.ebuild b/dev-ros/pr2_description/pr2_description-1.12.0.ebuild
index 75466430c059..1a73af70cf05 100644
--- a/dev-ros/pr2_description/pr2_description-1.12.0.ebuild
+++ b/dev-ros/pr2_description/pr2_description-1.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,3 +19,4 @@ DEPEND="${RDEPEND}
dev-ros/convex_decomposition
dev-ros/ivcon
test? ( dev-libs/urdfdom dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/tests.patch" )
diff --git a/dev-ros/pr2_description/pr2_description-9999.ebuild b/dev-ros/pr2_description/pr2_description-9999.ebuild
index 75466430c059..1a73af70cf05 100644
--- a/dev-ros/pr2_description/pr2_description-9999.ebuild
+++ b/dev-ros/pr2_description/pr2_description-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,3 +19,4 @@ DEPEND="${RDEPEND}
dev-ros/convex_decomposition
dev-ros/ivcon
test? ( dev-libs/urdfdom dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/tests.patch" )