Skip to content

Enable colored test output when capturing output of tests #25805

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

Merged
merged 1 commit into from
May 28, 2015

Conversation

jooert
Copy link
Contributor

@jooert jooert commented May 26, 2015

The output of individual tests can be captured now so it's safe to use
colorized output even when running tests in parallel. Closes #782.

The output of individual tests can be captured now so it's safe to use
colorized output even when running tests in parallel. Closes rust-lang#782.
@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

We've avoided this in the past as the stdout of each test thread is not caught in a bullet-proof fashion. For example child threads of test threads will not have stdout captured and could interfere with colors. That being said, however, it's such a rare occurrence (and this is so nice to have), that I think it's fine to land this. Thanks!

@bors: r+ 909cbbe

@bors
Copy link
Collaborator

bors commented May 28, 2015

⌛ Testing commit 909cbbe with merge f76d9bc...

bors added a commit that referenced this pull request May 28, 2015
The output of individual tests can be captured now so it's safe to use
colorized output even when running tests in parallel. Closes #782.
@bors bors merged commit 909cbbe into rust-lang:master May 28, 2015
@jooert jooert deleted the colorized_tests branch May 28, 2015 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When running tests in parallel, test runner does not display colors
5 participants