Skip to content
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

Reporters should capture std::clog the same way they do std::cout/cerr #989

Closed
FabioFracassi opened this issue Aug 7, 2017 · 2 comments
Closed
Labels

Comments

@FabioFracassi
Copy link

Description

When code writes output to std::clog (as e.g. boost::log does by default) the output is not handled correctly by reporters that capture output (e.g. JUnit xml).

Steps to reproduce

create a test case that ouputs to std::clog

Extra information

  • Catch version: v1.9.5
@horenmar
Copy link
Member

horenmar commented Aug 9, 2017

The fact that there are two error streams in C++ is one of those things that are obvious in hindsight, but you have to think about them first. I have fixed this locally and it will be in master whenever my internet stops acting up and lets me push.

@philsquared
Copy link
Collaborator

so this is now un-clogged?

(sorry, couldn't resist)

@horenmar horenmar added the Bug label Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants