Skip to content

Replace CompilationTest + by aggregateTests #6427

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

Conversation

nicolasstucki
Copy link
Contributor

The motivation is to avoid bugs like the one fixed in #6423 to ever happen.
In the previous scheme a missing + results in tests not being executed,
while now a missing comma will be a compilation error.

@nicolasstucki
Copy link
Contributor Author

This is not the first time that we have missed a + and stopped testing parts of te tests.

@nicolasstucki nicolasstucki force-pushed the make-compilation-test-framework-more-resiliant branch from 08d2547 to 43d3ada Compare May 2, 2019 14:48
The motivation is to avoid bugs like the one fixed in scala#6423 to ever happen.
In the previous scheme a missing `+` results in tests not being executed,
while now a missing comma will be a compilation error.
@nicolasstucki nicolasstucki force-pushed the make-compilation-test-framework-more-resiliant branch from 43d3ada to 38cf210 Compare May 2, 2019 14:52
@nicolasstucki nicolasstucki marked this pull request as ready for review May 2, 2019 14:55
@nicolasstucki nicolasstucki mentioned this pull request May 2, 2019
Copy link
Contributor

@anatoliykmetyuk anatoliykmetyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to move the runtime exceptions to compile time, since this info is available on compile time. In the context of time-consuming test runs, it is better to catch these errors sooner. However such an encoding requires a lot of work. Nice that the concurrency is now improved!

@anatoliykmetyuk anatoliykmetyuk merged commit 9032901 into scala:master May 3, 2019
@anatoliykmetyuk anatoliykmetyuk deleted the make-compilation-test-framework-more-resiliant branch May 3, 2019 08:48
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