-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make Vulpix checkfiles identical to the actual console output #6508
Conversation
db0498d
to
55cdd21
Compare
There was a problem hiding this 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... |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
55cdd21
to
7924421
Compare
No description provided.