You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run swift test with XCTests on Windows and one of the tests hangs, then Ctrl-C on swift test, then the .xctest bundle continues running. This is particularly confusing because you can’t build the project again since the execution of the .xctest bundle still has exclusive access to the .xctest file and thus the linker can’t write out a new .xctest bundle, complaining that you don’t have sufficient permission.
The text was updated successfully, but these errors were encountered:
Interesting. Properly handling Ctrl-C on Windows is pretty different from pty. I had to deal with that many years a go when trying to cancel builds from a modelling tool we were working on. I'll have to read through the win32 docs to jog my memory.
When you run
swift test
with XCTests on Windows and one of the tests hangs, then Ctrl-C onswift test
, then the.xctest
bundle continues running. This is particularly confusing because you can’t build the project again since the execution of the.xctest
bundle still has exclusive access to the.xctest
file and thus the linker can’t write out a new.xctest
bundle, complaining that you don’t have sufficient permission.The text was updated successfully, but these errors were encountered: