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 11
11
//===----------------------------------------------------------------------===//
12
12
13
13
import Foundation
14
- import XCTest
15
14
import Basics
16
15
import struct Foundation. URL
17
16
#if os(macOS)
@@ -30,6 +29,7 @@ import struct SPMBuildCore.BuildParameters
30
29
import TSCTestSupport
31
30
import Workspace
32
31
import func XCTest. XCTFail
32
+ import func XCTest. XCTSkip
33
33
34
34
import struct TSCBasic. ByteString
35
35
import 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.
6
6
2 . Launch a ` Powershell.exe ` session
7
7
3 . Run the following in power shell to start a container running the nightly toolchain
8
8
```
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
10
10
```
11
11
4. When the container start, clone the "merged" PR to `C:\source`
12
12
```
@@ -20,5 +20,5 @@ Here are some steps the worked running on Windows.
20
20
```
21
21
5. Run the CI pipeline script
22
22
```
23
- python C:\source\Utilities\build-using-self
23
+ python C:\source\Utilities\build-using-self --enable-swift-testing --enable-xctest
24
24
```
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def main() -> None:
157
157
swift_testing_arg = "--enable-swift-testing" if args .enable_swift_testing else ""
158
158
xctest_arg = "--enable-xctest" if args .enable_swift_testing else ""
159
159
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 } { swift_testing_arg } { xctest_arg } " ),
161
161
)
162
162
163
163
with change_directory (REPO_ROOT_PATH / "IntegrationTests" ):
@@ -166,7 +166,7 @@ def main() -> None:
166
166
)
167
167
call (
168
168
shlex .split (
169
- f"{ swiftpm_bin_dir / 'swift-test' } --parallel " ,
169
+ f"{ swiftpm_bin_dir / 'swift-test' } " ,
170
170
posix = (os .name == "posix" ), # must be set correctly, otherwhsie shlex.split("C:\\Foo\\bar") become ['CFoobar']
171
171
),
172
172
)
You can’t perform that action at this time.
0 commit comments