Skip to content

Commit a24d5fc

Browse files
committed
Preemptively add XCTest.xcworkspace
#43 will add a dependency between swift-corelibs-xctest and swift-corelibs-foundation. On OS X, this will also necessitate an Xcode workspace that references both XCTest and Foundation .xcodeproj's. To prevent CI from breaking when #43 is landed, preemptively add an Xcode workspace. Before landing #43, the Swift build script will be modified to build XCTest.xcworkspace, not XCTest.xcodeproj.
1 parent 824862a commit a24d5fc

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
22
xcuserdata
3+
*.xcscmblueprint
34
.build/
45
Output/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ To run the tests on Linux, use the `--test` option:
4848
./build_script.py --swiftc="/swift/usr/bin/swiftc" --test
4949
```
5050

51-
To run the tests on OS X, build and run the `SwiftXCTestFunctionalTests` target in the Xcode project. You may also run them via the command line:
51+
To run the tests on OS X, build and run the `SwiftXCTestFunctionalTests` target in the Xcode workspace. You may also run them via the command line:
5252

5353
```
54-
xcodebuild -project XCTest.xcodeproj -scheme SwiftXCTestFunctionalTests
54+
xcodebuild -workspace XCTest.xcworkspace -scheme SwiftXCTestFunctionalTests
5555
```
5656

5757
You may add tests for XCTest by including them in the `Tests/Functional/` directory. For an example, see `Tests/Functional/SingleFailingTestCase`.

XCTest.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)