Skip to content
This repository was archived by the owner on Jun 9, 2019. It is now read-only.

Check for CRLF, and add .stdout/stderr to suffixes#6

Open
thomie wants to merge 1 commit intohaskell-infra:masterfrom
thomie:master
Open

Check for CRLF, and add .stdout/stderr to suffixes#6
thomie wants to merge 1 commit intohaskell-infra:masterfrom
thomie:master

Conversation

@thomie
Copy link
Copy Markdown

@thomie thomie commented Feb 23, 2016

Fixes #5.

When you run 'make accept', the testsuite driver removes "\r" before writing any output: https://github.com/ghc/ghc/blob/176be87cb28f675d87ea8f5c07eaef7ca47ff8de/testsuite/driver/testlib.py#L1546

SPJ recently added a commit that introduced CRLF, in https://github.com/ghc/ghc/blob/bb7f23084e2a886f5b48442458d33b43c4628b3c/testsuite/tests/typecheck/should_fail/T11541.stderr.

Perhaps he ran something like ghc -c T11541.hs 2> T11541.stderr instead of make accept TEST=T11541. Unless I'm missing something, I think we're just going to have to ask him to not do that.

@thomie
Copy link
Copy Markdown
Author

thomie commented Apr 28, 2016

Ping @hvr. I'd really like to see this merged.

Since opening this pull request, new files with Windows line endings have entered the testsuite, as well as files with missing EOL. The longer we wait with this, the more cleanup work (and git history pollution) there will be.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant