diff options
author | 2019-12-11 17:11:36 +0100 | |
---|---|---|
committer | 2019-12-11 17:12:29 +0100 | |
commit | 0a78462172aaeeb01af14d2043d83fe0dc7f9e0e (patch) | |
tree | b45d085bfaee15883fdebd52b09e4c88e030592b /dev-ros/navfn/files | |
parent | dev-ros/navfn: Remove old (diff) | |
download | gentoo-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/files')
-rw-r--r-- | dev-ros/navfn/files/tests.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/navfn/files/tests.patch b/dev-ros/navfn/files/tests.patch new file mode 100644 index 000000000000..2dcd222f6082 --- /dev/null +++ b/dev-ros/navfn/files/tests.patch @@ -0,0 +1,13 @@ +Index: navfn/test/path_calc_test.cpp +=================================================================== +--- navfn.orig/test/path_calc_test.cpp ++++ navfn/test/path_calc_test.cpp +@@ -38,7 +38,7 @@ + navfn::NavFn* make_willow_nav() + { + int sx,sy; +- std::string path = ros::package::getPath( ROS_PACKAGE_NAME ) + "/test/willow_costmap.pgm"; ++ std::string path = @PGM_PATH@ ; + + COSTTYPE *cmap = readPGM( path.c_str(), &sx, &sy, true ); + if( cmap == NULL ) |