-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Write to stdout rather that a file on disk #15
Comments
It looks like there's no option to suppress GoogleTest using stdout: But stderr is kept separate, which might help, though it's also used for LOG from tests. |
Actually, it looks like there is a way to do that:
Can the TAP listener be updated to use this technique, so that results go to stdout per the TAP specification? |
Hi @davidmatson Thanks for the issues. I think what you asked is doable. And in good timing with tap14 released recently. Let's try to release a new version more compatible with tap14. Feel free to send a PR if you have some spare time. It might take a while until I have time to work on it. Cheers |
Yeee boy. Line 234 in a6ea895
Don't forget to put it before including:
And the binary will print to stdout! :-D |
From a quick look through the implementation, it appears that it writes to files on disk rather than stdout. Is that understanding correct?
TAP expects output to be written to standard output:
http://testanything.org/tap-version-14-specification.html
(for example, the "Bail out!" section talks specifically about writing to standard output)
Does GoogleTest have an option for not writing its own output to standard output, so that the TAP listener could write there instead, per the TAP spec?
The text was updated successfully, but these errors were encountered: