rostest does not show log message
Hi everyone,
I have an annoying problem of dispalying the ros log message during testing. I have some functions showing ROS_ERROR when errors occur and a test program to test these error cases.
If I run a pure gtest program, all ros log messages show up normally in console.
As long as I need to run a test node with rostest
, all ros log messages disappear from console. From rostest
documentation about the test
tag: no output
attribute as tests use their own output logging mechanism.
rostest --text
also does not help. But if I put std::cout
in the test program, rostest
will dispaly these messages.
Thanks for any suggestions.
kai