RobotecAI / ros2cs

A C# (.Net) implementation of ros2 client library (rcl), enabling communication between ros2 ecosystem and C#/.Net applications such as Unity3D
Apache License 2.0
91 stars 22 forks source link

Build script doesn't compile tests #10

Closed kielczykowski-rai closed 3 years ago

kielczykowski-rai commented 3 years ago

Issue

Calling ./build.sh with --with-tests flag doesn't actually build tests.

Setup

OS: Ubuntu 20.04 ROS2: Foxy

Steps to reproduce

Follow prerequisites and building steps and call ./build.sh --with-tests.

Current behavior

Build process doesn't compile ros2cs_tests package.

Expected behavior

Build process compiles ros2cs_tests package.

Possible soultions

As I came across this issue it seems that calling ./build.sh --with-tests 1 sets tests flag. I find this issue can be changed in at least two ways - changing ./build.sh script or changing instruction (first option preferable).