Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Test locally built scala parser-combinators classes. #13

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
adriaanm merged 1 commit into scala:master from gourlaysama:testing
Mar 8, 2014

Conversation

Copy link
Contributor

@gourlaysama gourlaysama commented Mar 8, 2014

Somehow, the scala-parser-combinators classes used to run tests were
not the local ones, even though there is no dependency on scala-compiler
nor on anything that depends on scala-parser-combinators.

After some head-scratching, I discovered scala/scala-xml#20. Now I am even
more confused, but at least fork in Test := true does prevent this
evil classloader magic.

Somehow, the scala-parser-combinators classes used to run tests were
not the local ones, even though there is no dependency on scala-compiler
nor on anything that depends on scala-parser-combinators.
After some head-scratching, I discovered scala/scala-xml#20. Now I am even
more confused, but at least `fork in Test := true` does prevent this
evil classloader magic.
Copy link
Contributor

adriaanm commented Mar 8, 2014

Very sorry about that. I'll add the fork workaround for the black magic to the modules build plugin.

Copy link
Contributor

Just a side note: we'll have to debug those issues with classloaders as part of migration of scala compiler to sbt.

adriaanm added a commit that referenced this pull request Mar 8, 2014
Test locally built scala parser-combinators classes.
@adriaanm adriaanm merged commit 6b189ea into scala:master Mar 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /