Robotics StackExchange | Archived questions

How do I `colcon test` using only `cmake` and `make`?

I can approximate catkin run_tests with cmake . && make run_tests.

How do I similarly approximate colcon test?

Asked by rubicks on 2021-01-18 13:23:21 UTC

Comments

Answers

By invoking ctest.

See the code snippet which does that including a few arguments: https://github.com/colcon/colcon-cmake/blob/fff0989b4cbff9c99caebaaaa045669e04b8d5f2/colcon_cmake/task/cmake/test.py#L71-L105

Asked by Dirk Thomas on 2021-03-15 01:22:23 UTC

Comments