File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Sources/_InternalTestSupport Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1111//===----------------------------------------------------------------------===//
1212
1313import Foundation
14- import XCTest
1514import Basics
1615import struct Foundation. URL
1716#if os(macOS)
@@ -30,6 +29,7 @@ import struct SPMBuildCore.BuildParameters
3029import TSCTestSupport
3130import Workspace
3231import func XCTest. XCTFail
32+ import func XCTest. XCTSkip
3333
3434import struct TSCBasic. ByteString
3535import struct Basics. AsyncProcessResult
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Here are some steps the worked running on Windows.
662 . Launch a ` Powershell.exe ` session
773 . Run the following in power shell to start a container running the nightly toolchain
88 ```
9- docker run --rm --interactive --tty swiftlang/swift:nightly-main-windowsservercore-1809 powershell.exe
9+ docker run --pull always -- rm --interactive --tty swiftlang/swift:nightly-main-windowsservercore-1809 powershell.exe
1010 ```
11114. When the container start, clone the "merged" PR to `C:\source`
1212 ```
@@ -20,5 +20,5 @@ Here are some steps the worked running on Windows.
2020 ```
21215. Run the CI pipeline script
2222 ```
23- python C:\source\Utilities\build-using-self
23+ python C:\source\Utilities\build-using-self --enable-swift-testing --enable-xctest
2424 ```
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def main() -> None:
157157 swift_testing_arg = "--enable-swift-testing" if args .enable_swift_testing else ""
158158 xctest_arg = "--enable-xctest" if args .enable_swift_testing else ""
159159 call (
160- shlex .split (f"swift test --configuration { args .config } --parallel { swift_testing_arg } { xctest_arg } " ),
160+ shlex .split (f"swift test --configuration { args .config } --no- parallel { swift_testing_arg } { xctest_arg } " ),
161161 )
162162
163163 with change_directory (REPO_ROOT_PATH / "IntegrationTests" ):
@@ -166,7 +166,7 @@ def main() -> None:
166166 )
167167 call (
168168 shlex .split (
169- f"{ swiftpm_bin_dir / 'swift-test' } --parallel" ,
169+ f"{ swiftpm_bin_dir / 'swift-test' } --no- parallel" ,
170170 posix = (os .name == "posix" ), # must be set correctly, otherwhsie shlex.split("C:\\Foo\\bar") become ['CFoobar']
171171 ),
172172 )
You can’t perform that action at this time.
0 commit comments