-
Notifications
You must be signed in to change notification settings - Fork 701
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
Attempt at fixing T3436 regression test. #5288
Conversation
Can we set the version to e.g. 3000, so that it wouldn't break with the next GHC release? |
...so it turns out that's how the test was implemented initially, but then had to be changed because of #4909. Perhaps we should add a switch for turning that off and run the test suite with it enabled. |
@merijn Is
It might be better to just delete cabal.test.hs, and we can migrate it again if necessary when we remove |
I think it's only cabal.test.hs that's failing, yeah. I'm fine with just nuking that one if everyone's okay with it. |
Aside from the AppVeyor build (which seems to fail in a completely unrelated test?) this seems to turn everything green. Any objections to just nuking the new-build version of T3436, considering it wasn't really doing anything anyway? |
Actually, looks like it's just AppVeyor being difficult, on my branch it's marked as succeeding, so should be fine to merge if people agree with ditching the new-build test. |
Ping @ezyang I was told you knew the test-suite best, any comments? |
Any objections? Else I'm merging this. |
The T3436 regression test is responsible for literally every PR being marked as failing, because it fails on GHC 8.4. I don't really understand the test, so someone has to check whether this defeats it's entire purpose (@grayjay ?).
The main problem is that GHC 8.4 isn't officially supported by older Cabal versions, so the test's use of "Cabal >= 2.0" leads it to pick the Cabal 2.2 that comes with GHC and everything breaks. The new version simply ups the Cabal version to 2.4 so that the test will properly compile with GHC 8.4 and hopefully fix everyone's failing tests. Rejoice!
Please include the following checklist in your PR:
[ci skip]
is used to avoid triggering the build bots.Please also shortly describe how you tested your change. Bonus points for added tests!