Skip to content
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

Recompling tests in Delphi 11.2 causes IO 105 errors #324

Open
markhumphreysjhc opened this issue Nov 24, 2022 · 3 comments
Open

Recompling tests in Delphi 11.2 causes IO 105 errors #324

markhumphreysjhc opened this issue Nov 24, 2022 · 3 comments

Comments

@markhumphreysjhc
Copy link

Taking existing tests and simply recompiling them use Delphi 11.2 causes I/O Error 105 errors.

It looks like no matter what the tests are compiled with, the WindowsConloseWriter sets Self.RedirectedStdOut to be true.

Even if the actual console logger is not set, then the final call to System.Write in the project - System.Write('Done.. press <Enter> key to quit.'); still causes the exception.

It looks like the call to GetConsoleMode always returns false, setting the RedirectedStdout flag.

It might be something in the tests that is causing this, but I don't understand why it works in 10.2 and not in 11.2

@vincentparrett
Copy link
Member

I'm not able to reproduce this here. Try recreating the project and copying the existing units in, perhaps something got messed up during the upgrade process.

@TommiPrami
Copy link
Contributor

TommiPrami commented Nov 24, 2022 via email

@markhumphreysjhc
Copy link
Author

I have noticed that occasionally it all works. I suspect that it is something in the code being tested, but I will have to start recreate the project one set of tests at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants