Skip to content

Commit 5e03300

Browse files
committed
---
yaml --- r: 347048 b: refs/heads/master c: 22e2d1d h: refs/heads/master
1 parent 11169f8 commit 5e03300

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 1330ab0232d776c771b9591ca6b09aba4b121a51
2+
refs/heads/master: 22e2d1dee048cd145129cfeeb7b4ea33dd7dc952
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/test/stdlib/XCTest-smoke.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// RUN: %empty-directory(%t)
2+
// RUN: not test -e %platform-sdk-overlay-dir/XCTest.swiftmodule || %target-build-swift %s -o %t/main
3+
4+
// REQUIRES: objc_interop
5+
6+
import XCTest
7+
8+
// Check that we can actually refer to functions from the XCTest overlay.
9+
let optionalInt: Int? = nil
10+
XCTAssertNil(optionalInt)
11+
12+
// Check that the underlying framework was imported.
13+
_ = XCTestCase.self

trunk/validation-test/SIL/verify_all_overlays.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/python
22
# RUN: ${python} %s %target-swiftmodule-name %platform-sdk-overlay-dir \
3-
# RUN: %target-sil-opt -sdk %sdk -enable-sil-verify-all \
4-
# RUN: -F "%xcode-extra-frameworks-dir"
3+
# RUN: %target-sil-opt -sdk %sdk -enable-sil-verify-all \
4+
# RUN: -Fsystem %sdk/System/Library/PrivateFrameworks \
5+
# RUN: -F "%xcode-extra-frameworks-dir"
56

67
# REQUIRES: long_test
78
# REQUIRES: nonexecutable_test

0 commit comments

Comments
 (0)