Skip to content

Enable more windows test and fix some failing ones #158

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

Closed
wants to merge 14 commits into from

Conversation

daveinglis
Copy link
Contributor

Most changes are to the tests except one change in Sources/SWBBuildSystem/BuildOperation.swift where the path used needed to have posix paths separators also some update to the Windows.xcspec file

(rdar://142882894)

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis daveinglis force-pushed the pr/test_updates branch 2 times, most recently from be17ff3 to cff72bc Compare February 18, 2025 16:19
@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

Copy link
Collaborator

@jakepetroules jakepetroules left a comment

Choose a reason for hiding this comment

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

The warningsAsWarningsGroup and warningAsErrorsGroups tests need to set CODE_SIGNING_ALLOWED to NO.

jakepetroules added a commit that referenced this pull request Feb 20, 2025
This contains a subset of the fixes in #158 to get to fully green, and also to try to debug discrepancies between Swift CI and my local machine.
@@ -1137,7 +1137,7 @@ fileprivate struct BuildOperationTests: CoreBasedTests {
}

/// Check some cancellation related semantics.
@Test
@Test(.skipHostOS(.windows, "requires /usr/bin/yes"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oddly this fails for me locally, but not on CI (note #199 Windows build is passing). Maybe due to nondeterministic cancellation timing?

- fixed issue where a request to build a single output would fail on
  windows due to path separator differences used in llbuild manifest.
CustomTaskBuildOperationTest - fixes for windows
@daveinglis
Copy link
Contributor Author

The warningsAsWarningsGroup and warningAsErrorsGroups tests need to set CODE_SIGNING_ALLOWED to

Hmm, this passes for me locally... is this failing in CI?

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis daveinglis closed this Feb 20, 2025
jakepetroules added a commit that referenced this pull request Feb 20, 2025
This contains a subset of the fixes in #158 to get to fully green, and also to try to debug discrepancies between Swift CI and my local machine.
@daveinglis daveinglis deleted the pr/test_updates branch February 20, 2025 17:47
@jakepetroules jakepetroules added the windows Support for the Windows platform label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Support for the Windows platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants