Skip to content

Make Vulpix checkfiles identical to the actual console output #6508

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 5 commits into from
May 15, 2019

Conversation

anatoliykmetyuk
Copy link
Contributor

No description provided.

@anatoliykmetyuk anatoliykmetyuk force-pushed the vulpix-checkfiles-identical branch from db0498d to 55cdd21 Compare May 14, 2019 13:48
@anatoliykmetyuk anatoliykmetyuk marked this pull request as ready for review May 14, 2019 15:07
Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@@ -686,7 +685,9 @@ trait ParallelTesting extends RunnerOrchestration { self =>

def getMissingExpectedErrors(errorMap: HashMap[String, Integer], reporterErrors: Iterator[MessageContainer]) = !reporterErrors.forall { error =>
val key = if (error.pos.exists) {
val fileName = error.pos.source.file.toString
def toRelative(path: String): String = // For some reason, absolute paths leak from the compiler itself...
Copy link
Contributor

Choose a reason for hiding this comment

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

It is worth figuring out where they come from and why. Could or should they already be relative? This is a separate issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Technically, both relative and absolute paths are correct ways to point to a file. If the compiler at some point converts relative paths to absolute ones, I don't think it is an issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

That can be an issue. For example .tasty files contain a path to the file which will be published. This path must be relative or any tool that consumes them will be lost.

@nicolasstucki nicolasstucki merged commit 5906ccf into scala:master May 15, 2019
@nicolasstucki nicolasstucki deleted the vulpix-checkfiles-identical branch May 15, 2019 14:55
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