Skip to content

Partest output redirection over context.reporter #691

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 3 commits into from
Jun 26, 2015

Conversation

vsalvis
Copy link
Contributor

@vsalvis vsalvis commented Jun 24, 2015

For concurrent partest, output redirection by redirecting sysout is not suited. In scalac, the output stream of the compiler could be set in the Global. For dotty, this is done through the context and required an additional argument when creating the initial context. However, the compiler also needs to print through ctx.println instead of regular println.

@DarkDimius
Copy link
Contributor

LGTM, thanks!

DarkDimius added a commit that referenced this pull request Jun 26, 2015
Partest output redirection over context.reporter
@DarkDimius DarkDimius merged commit 5e6a9a2 into scala:master Jun 26, 2015
@DarkDimius DarkDimius mentioned this pull request Jul 1, 2015
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.

3 participants