These were created using the wrong format.
- rGHC Glasgow Haskell Compiler
No Unit Test Coverage
- Build Status
Buildable 14392 Build 22544: [GHC] Linux/amd64: Patch building Build 22543: [GHC] OSX/amd64: Continuous Integration Build 22542: [GHC] Windows/amd64: Continuous Integration Build 22541: arc lint + arc unit
Hi @ruperthorlick, thanks for your work on these two tickets!
It looks like you created the .stderr file for these two tests by copying the output of something like inplace/bin/ghc-stage2 testsuite/tests/parser/should_fail/T12429.stderr. The test driver actually runs tests with a number of additional flags that affect the error output format, so the test was failing due to these slight inconsistencies. A better way to create the .stderr files is
cd testsuite/tests/parser/should_fail make accept TEST="T12429 T12811"
This will create or update the .stderr files with the actual output from running the test. (Then look at the files to make sure it looks correct, of course!) For more information, see https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests. (Though this information is not on the "Adding new test cases" page, and it really should be! It's under "Updating test case results".)
Sorry for not noticing this earlier, the tree has been in a bit of a rough shape recently so the build failures were overlooked.
You're welcome, it was my pleasure!
Thanks for fixing those up. I was going to ask about the outputs, because they looked different to other cases, but I thought it might be a new thing. Sorry for not checking first!
It would definitely be a good idea to update the "Adding new test cases" page though.