-
Notifications
You must be signed in to change notification settings - Fork 849
Move from msys2-20221216
to msys2-20230526
adversely affects some tests
#6170
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
Comments
Re #6170 Update tests to provide move info on failure
It seems to be the core system upgrade that triggers the change in behaviour:
|
Partial fix #6170 Move nextPrompt after replCommand
Partial fix commercialhaskell#6170 Move nextPrompt after replCommand
Hi @mpilgrem, I've been looking at this, and got some ideas. In more holistic context, I keep a few improvements to Does that sound okay? I just want to declare the intent, and make sure there're no conflicting plans, nor parallel work that I'll interfere with (specifically on repl tests). There isn't that much code about it in stack really, but I'm thinking that whole area could use an overhaul. It might likely end up being somewhat disruptive in terms of git conflicts. I checked the CI briefly, because I don't have ready access to a well-maintained windows build-server; and IMO the windows jobs running the tests, should suffice for me to make progress here. |
@ulidtko, thanks for being interested in the code base. I think there is no major conflict in your plans and anything else going on. (I do have some current plans to refactor part of EDIT: Item (a) and some other improvements now are in the Item (b) can be followed at this pull request: |
First identified in #6161 (comment), but the move from GHC 9.2.7 to GHC 9.4.5 was not the cause. It was the bump to
msys2-20230526
(#6153).With
msys2-20221216
, integration tests3926-ghci-with-sublibraries
,4270-files-order
,module-added-multiple-times
behave as expected. Withmsys2-20230526
(or an upgrade of MSYS2), they fail. For example:In summary,
test/integration/lib/StackTest.hs
depends onprocess-1.6.16.0
. FunctionreplCommand :: String -> ReaderT ReplConnection IO ()
feeds commands to GHCi down an input pipe and functionreplGetLine :: ReaderT ReplConnection IO String
captures GHCi’s output from a standard output pipe. What seems to now be happening is that GHCi is behaving as if it has received EOF before receiving any commands and quitting, gracefully, with its usual Leaving GHCi. (Runningstack repl
locally with the test files suggests that nothing untoward is happening with the actual tests.) That is, it is like GHCi on Windows used to wait for command input in these tests, and now it quits before the input turns up.The text was updated successfully, but these errors were encountered: