FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix pluginlib_enable_plugin_testing() docstring pitfalls. (backport #305) by ahcorde · Pull Request #307 · ros/pluginlib · GitHub

/ pluginlib Public

Fix pluginlib_enable_plugin_testing() docstring pitfalls. (backport #305) - #307

Merged
ahcorde merged 1 commit into
kiltedfrom
ahcorde/kilted/bp_305
Aug 24, 2026
Merged

Fix pluginlib_enable_plugin_testing() docstring pitfalls. (backport #305)#307
ahcorde merged 1 commit into
kiltedfrom
ahcorde/kilted/bp_305

Conversation

ahcorde commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The usage example wrapped the APPEND_ENV value in double quotes. CMake passes those quotes through as literal characters in the environment variable value, so tests copying the example end up with a mock install path that is never found at test time. Fix the example and call the pitfall out explicitly.

Also document that keeping the default PACKAGE_NAME shadows the real package when it is installed in a prefix which comes earlier in AMENT_PREFIX_PATH (as is the case when a package's own tests run against its install space), in which case pluginlib fails to find the plugin library in the mock install.

The usage example wrapped the APPEND_ENV value in double quotes.  CMake
passes those quotes through as literal characters in the environment
variable value, so tests copying the example end up with a mock install
path that is never found at test time.  Fix the example and call the
pitfall out explicitly.

Also document that keeping the default PACKAGE_NAME shadows the real
package when it is installed in a prefix which comes earlier in
AMENT_PREFIX_PATH (as is the case when a package's own tests run
against its install space), in which case pluginlib fails to find the
plugin library in the mock install.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
ahcorde self-assigned this Aug 21, 2026

ahcorde commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Pulls: #307
Gist: https://gist.githubusercontent.com/ahcorde/dc959726300972814c702ae1550b4071/raw/34d86245ac3b31dfbd938a8d445cac776368a16c/ros2.repos
BUILD args: --packages-above-and-dependencies pluginlib
TEST args: --packages-above pluginlib
ROS Distro: kilted
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20150

  • Linux
  • Linux-aarch64
  • Linux-rhel
  • Windows

ahcorde merged commit 91194cf into kilted Aug 24, 2026
1 check passed
ahcorde deleted the ahcorde/kilted/bp_305 branch August 24, 2026 07:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL