-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colcon event handler which print stdout on error #15
Comments
Usually you don't want to see the Have you tried using the |
Please let me know if my previous reply was helpful and answered / resolved your question so that the ticket can eventually be closed. |
@dirk-thomas Maybe the problem is with how the failing tests are reported to xUnit files... I'll need to investigate. I'll report back |
@dirk-thomas The issue is some packages don't really report much: e.g. when demo_nodes_cpp fails, all I see is:
Then
when what I really want to see is
|
If you imagine a package with numerous tests I don't think you want to see the full Instead you want a concise output which just mentions the failed test - probably with as much information about the test as possible. I am not sure how that can be achieved. Maybe the |
@dirk-thomas I think improving the result file may be the way to go, no? In that case, we would need to improve |
In your output snippet above it looks like that you are running the tested with |
@jpsamper2009 were you able to make any progress on your use case? |
@jpsamper2009 Friendly ping. |
@dirk-thomas Thanks for the reminder! I got busy with other stuff. I'll get back to you |
@jpsamper2009 Friendly ping. |
I am going to close the ticket for now due to inactivity. Please feel free to comment and if necessary the ticket can be reopened. |
Why can't a flag be added to |
Description
Current Behavior
Currently, I can either run my builds with
colcon test --event-handlers console_cohesion+
and then scroll through the terminal to find the broken test OR I can runcolcon test
and then have to go tolog/latest_test/my_pkg/stdout.log
to find the broken test.The first option is too noisy
The second option has the disadvantage that in (our) CI, these logs aren't easily accessible
Desired Behavior
console test --event-handlers console_stdout_on_fail+
where:console test
console test --event-handlers console_cohesion+
The text was updated successfully, but these errors were encountered: