rostest does not show log messages [closed]

asked 2017-07-24 03:15:01 -0600

khu gravatar image

updated 2017-07-24 03:15:57 -0600

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. 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.


edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by mgruhler
close date 2017-07-24 05:27:50.862335