Skip to content

Reduce noise in community build logs #11068

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
Jan 12, 2021

Conversation

griggt
Copy link
Contributor

@griggt griggt commented Jan 12, 2021

Use the sbt logger for the munit test framework, bringing it in line with others such as scalatest and scalacheck.

This means that output from munit-based tests will be affected by the sbt logLevel setting for the community build (currently set to Level.Error):

https://github.com/lampepfl/dotty/blob/0f1d350a3b521b80759ddf4307977c5193756493/community-build/src/scala/dotty/communitybuild/projects.scala#L155

In particular, several projects in community_build_b have munit test suites that generate a tremendous amount of output at "info" level, which will now be filtered out by the above setting.

Extracted from #10731

This permits test output from munit to be controlled by the LogLevel
setting of sbt.
@smarter smarter merged commit d049102 into scala:master Jan 12, 2021
@griggt griggt deleted the cb-quiet-munit-logging branch January 12, 2021 17:12
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.

2 participants