[quote="ralph-lange, post:2, topic:7692"]
This type of error is detected neither by local unit tests nor on the build farm?
[/quote]
The unit tests can't detect the bug because they use the executable from the `CMAKE_BINARY_DIR` and that binary uses a full RPATH to the library.
When you are installing the executable CMake is clearing full RPATH to instead rely on `LD_LIBRARY_PATH`. And since the path `<prefix>/lib/fmi_adapter` is not listed in that environment variable it will fail to find the library.
As a consequence also the `ros_buildfarm` has no way to check for this.
If you would like add tests covering your installed packages you could create a separate package `test_fmi_adapter` which depends on `fmi_adapter` and contains tests which ensure that the installed package `fmi_adapter` is working as desired. (In the release process using bloom you usually want to skip the `test_fmi_adapter` package from being released to avoid a Debian package being created for it. This can be configured in the release repository.)
---
[Visit Topic](
https://discourse.ros.org/t/new-packages-for-crystal-2019-01-31/7692/3) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>