Skip to content

Tests: Skip failing tests on windows #8210

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

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Jan 10, 2025

The Pipelines do not currently test on windows platform. To get to a point where we can execute tests on windows, we will first disable the failing tests and later enable them as the pipeline is setup to ensure we do not regress in behaviour.

related to #8121
rdar://139977454

Motivation:

In preparation for #8176 , disable failing Windows tests.

Modifications:

Mark some tests as Skipped on Windows

Fixes #8176

The Pipelines do not currently test on windows platform.  To get to a
point where we can execute tests on windows, we will first disable the
failing tests and later enable them as the pipeline is setup to ensure
we do not regress in behaviour.

related to swiftlang#8121
rdar://139977454
@bkhouri bkhouri force-pushed the t/main/gh8121_radar139977454_swift_test_on_windows branch from 27afed4 to 09a6835 Compare February 10, 2025 20:10
…APITests.testLoadPackage to have windows path
@bkhouri bkhouri force-pushed the t/main/gh8121_radar139977454_swift_test_on_windows branch from 5e027e0 to 293fc93 Compare March 18, 2025 14:17
@@ -28,7 +28,23 @@ import struct TSCBasic.ByteString
import struct TSCUtility.Version

final class WorkspaceTests: XCTestCase {
// override func setUpWithError() throws {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chore (blocking): remove commented code

@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 24, 2025

@swift-ci please test self hosted windows

@bkhouri bkhouri added the test suite improvements to SwiftPM test suite label Mar 26, 2025
@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 27, 2025

@swift-ci please test self hosted windows

1 similar comment
@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 28, 2025

@swift-ci please test self hosted windows

@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 28, 2025

@swift-ci please test

@bkhouri bkhouri changed the title [WIP] Tests: Skip failing tests on windows Tests: Skip failing tests on windows Mar 28, 2025
@bkhouri bkhouri marked this pull request as ready for review March 28, 2025 14:31
@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 28, 2025

@swift-ci please test windows

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be in a much worse state than I remember 🤔

@bkhouri
Copy link
Contributor Author

bkhouri commented Mar 28, 2025

This might be true. I did not actually investigate all the tests failure. My goal was to get a pipeline up and running with currently passing tests. The next step will be to re-enable the automated tests on Windows.

I know a bunch of tests failure have to do with "path" issues, so fixing that will likely re-enable alot of tests (assuming the are no other test failure).

@bkhouri bkhouri merged commit baba429 into swiftlang:main Mar 28, 2025
6 checks passed
@bkhouri bkhouri deleted the t/main/gh8121_radar139977454_swift_test_on_windows branch March 28, 2025 21:49
@bkhouri bkhouri mentioned this pull request Mar 31, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test suite improvements to SwiftPM test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pipeline: Add windows "self-hosted" pipeline equivalent
4 participants