-
Notifications
You must be signed in to change notification settings - Fork 71
Test Discovery Error (Swift 5.8) #394
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
Has EDIT: I see this is 5.8 |
It appears you cannot skip the build when listing tests. See swiftlang/swift-package-manager#5739 |
@compnerd this PR should fix the issue swiftlang/swift-package-manager#5770. Once it is merged can you test? |
Hmm, there are a few more changes to LSP that I would prefer not to lose, but hopefully should be able to get those up in a day or so. Once they are up, we should be able to do a one-off build with the requisite patches and I should be able to test that. |
No worries, in your own time |
This is fixed with latest Swift trunk development build |
The test listing does work ... kinda. It doesn't show up after a build directly, but if I did a "run all tests" it showed up, though didn't run the tests. It doesn't seem to be as reliable about running the tests as before though. Not sure what is going on just yet. |
If you have no tests listed when you do a "run all tests" it will not run any tests (as you have none listed). But at the same time this completes a build which would then populate the test list. I verified on linux that the test list is updated after a build has completed. I haven't had time to set up a new Windows VM to verify on Windows. The other one expired. |
Describe the bug
It seems that test discovery is broken on main with the latest version of the plugin. Building and running tests simply states:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests to be identified and be able to be executed.
Environment
Additional context
Not sure how long you can download the exact version of the toolchain, but it is here: https://ci-external.swift.org/job/swift-PR-build-toolchain-windows/154/artifact/build/artifacts/installer.exe
The text was updated successfully, but these errors were encountered: