Skip to content

Tests: Enable tests on Windows #8466

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 Apr 8, 2025

Enable additional tests on Windows host platform

  • Enable a few AsyncProcessTests
  • Enable the lone skipped test in EnvironmentTests
  • Enable the only skipped test in Tests/SourceKitLSPAPITests/SourceKitLSPAPITests.swift
  • Enable the only skipped test in Tests/BuildTests/BuildSystemDelegateTests.swift
  • Enable the lone skipped test in Tests/BuildTests/LLBuildManifestBuilderTests.swift
  • Replace usages of fixwin with AbsolutePath.pathString

Related to: #8433
rdar://148248105

- Enable a few AsyncProcessTests
- Enable the lone skipped test in EnvironmentTests
- Enable all SourceKitLSPAPITests on Windows
- Replace usages of `fixwin` with `AbsolutePath.pathString`

Related to: swiftlang#8433
rdar://148248105
@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 8, 2025

@swift-ci test windows

@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 8, 2025

@swift-ci test self hosted windows

@bkhouri bkhouri added windows test suite improvements to SwiftPM test suite labels Apr 8, 2025
@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 8, 2025

@swift-ci test

@bkhouri bkhouri marked this pull request as ready for review April 8, 2025 20:04
@bkhouri bkhouri enabled auto-merge (squash) April 8, 2025 20:09
@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 9, 2025

@swift-ci test Linux

Copy link
Contributor

@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.

A good Windows equivalent for echo and cat would be to run cmd.exe /c echo and cmd.exe /c type. Happy to get this landed now see that as part of a follow-on PR if you want.

@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 9, 2025

@swift-ci test self hosted windows

@bkhouri
Copy link
Contributor Author

bkhouri commented Apr 9, 2025

@swift-ci test macOS

@bkhouri bkhouri merged commit cc0b1a5 into swiftlang:main Apr 9, 2025
6 checks passed
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 windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants