summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2019-12-11 17:11:36 +0100
committerAlexis Ballier <aballier@gentoo.org>2019-12-11 17:12:29 +0100
commit0a78462172aaeeb01af14d2043d83fe0dc7f9e0e (patch)
treeb45d085bfaee15883fdebd52b09e4c88e030592b /dev-ros/navfn/navfn-1.16.3.ebuild
parentdev-ros/navfn: Remove old (diff)
downloadgentoo-0a78462172aaeeb01af14d2043d83fe0dc7f9e0e.tar.gz
gentoo-0a78462172aaeeb01af14d2043d83fe0dc7f9e0e.tar.bz2
gentoo-0a78462172aaeeb01af14d2043d83fe0dc7f9e0e.zip
dev-ros/navfn: fix tests
Closes: https://bugs.gentoo.org/625168 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/navfn/navfn-1.16.3.ebuild')
-rw-r--r--dev-ros/navfn/navfn-1.16.3.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ros/navfn/navfn-1.16.3.ebuild b/dev-ros/navfn/navfn-1.16.3.ebuild
index da142f226c8..a65e0eb3f75 100644
--- a/dev-ros/navfn/navfn-1.16.3.ebuild
+++ b/dev-ros/navfn/navfn-1.16.3.ebuild
@@ -36,4 +36,9 @@ DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
dev-ros/cmake_modules"
-PATCHES=( "${FILESDIR}/pgm_h_location.patch" )
+PATCHES=( "${FILESDIR}/pgm_h_location.patch" "${FILESDIR}/tests.patch" )
+
+src_prepare() {
+ ros-catkin_src_prepare
+ sed -e "s#@PGM_PATH@#\"${S}/test/willow_costmap.pgm\"#" -i test/path_calc_test.cpp || die
+}