Stream: t-compiler/help

Topic: Help with failing tests


Nikolay Lazarov (Oct 23 2019 at 18:23, on Zulip):

Hello. Noob question. I have 2 failing tests and don't know why. Here is my pull request https://github.com/rust-lang/rust/pull/65506

stko (Oct 23 2019 at 20:58, on Zulip):

I think the meaning of error-pattern is different for ui tests and run-fail tests. In the former the pattern is matched against compiler output, in the latter against the executable output.

stko (Oct 23 2019 at 21:08, on Zulip):

Additionally if compilation succeeds the error patterns are completely ignored,
so test cases using them don't actually work correctly after being moved to ui.
Either way it seems like a bug in compiletest.

Last update: Nov 11 2019 at 23:25UTC