File tree Expand file tree Collapse file tree 6 files changed +29
-7
lines changed Expand file tree Collapse file tree 6 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-frontend %s -emit-sil -Ounchecked | %target-sil-opt -assume-parsing-unqualified-ownership-sil
2
+
3
+ // Fails if the positions of the two Collection subscript requirements are
4
+ // reversed. rdar://problem/46650834
5
+ // XFAIL: swift_evolve
6
+
2
7
var W = [ UInt32] ( repeating: 0 , count: 16 )
Original file line number Diff line number Diff line change 1
1
// REQUIRES: objc_interop
2
2
3
+ // SourceKit is expected to produce documentation in source order.
4
+ // UNSUPPORTED: swift_evolve
5
+
3
6
// FIXME: the test output we're comparing to is specific to macOS.
4
7
// REQUIRES-ANY: OS=macosx
5
8
Original file line number Diff line number Diff line change @@ -8,17 +8,17 @@ var x: Int
8
8
9
9
// Just check a small part, mainly to make sure we can print the interface of the stdlib.
10
10
// CHECK-STDLIB-NOT: extension _SwiftNSOperatingSystemVersion
11
- // CHECK-STDLIB: struct Int : FixedWidthInteger, SignedInteger {
12
- // CHECK-STDLIB: static var bitWidth: Int { get }
13
- // CHECK-STDLIB: var nonzeroBitCount: Int { get }
11
+ // CHECK-STDLIB-LABEL : struct Int : FixedWidthInteger, SignedInteger {
12
+ // CHECK-STDLIB-DAG : static var bitWidth: Int { get }
13
+ // CHECK-STDLIB-DAG : var nonzeroBitCount: Int { get }
14
14
// CHECK-STDLIB: }
15
15
16
16
// Check that extensions of nested decls are showing up.
17
17
// CHECK-STDLIB-LABEL: extension String.Index {
18
- // CHECK-STDLIB: func samePosition(in utf8: String.UTF8View) -> String.UTF8View.Index?
19
- // CHECK-STDLIB: func samePosition(in characters: String) -> String.Index?
20
- // CHECK-STDLIB: func samePosition(in unicodeScalars: String.UnicodeScalarView) -> String.UnicodeScalarIndex?
21
- // CHECK-STDLIB-NEXT : }
18
+ // CHECK-STDLIB-DAG : func samePosition(in utf8: String.UTF8View) -> String.UTF8View.Index?
19
+ // CHECK-STDLIB-DAG : func samePosition(in characters: String) -> String.Index?
20
+ // CHECK-STDLIB-DAG : func samePosition(in unicodeScalars: String.UnicodeScalarView) -> String.UnicodeScalarIndex?
21
+ // CHECK-STDLIB: }
22
22
23
23
// CHECK-MUTATING-ATTR: mutating func
24
24
Original file line number Diff line number Diff line change 13
13
// RUN: diff -u %S/Outputs/cake.json %t.dump.json
14
14
// RUN: %api-digester -deserialize-sdk --input-paths %S/Outputs/cake-abi.json -o %t.dump.json
15
15
// RUN: diff -u %S/Outputs/cake-abi.json %t.dump.json
16
+
17
+ // The input JSON files need to be modified when standard library declarations
18
+ // are reordered. This is expected behavior and we simply shouldn't run the test
19
+ // when automatically evolving the standard library.
20
+ // UNSUPPORTED: swift_evolve
Original file line number Diff line number Diff line change 6
6
// RUN: %clang -E -P -x c %S/Outputs/stability-stdlib-abi.swift.expected -o - | sed '/^\s*$/d' | sort > %t.tmp/stability-stdlib-abi.swift.expected
7
7
// RUN: %clang -E -P -x c %t.tmp/changes.txt -o - | sed '/^\s*$/d' | sort > %t.tmp/changes.txt.tmp
8
8
// RUN: diff -u %t.tmp/stability-stdlib-abi.swift.expected %t.tmp/changes.txt.tmp
9
+
10
+ // The digester hasn't learned that we've stopped baking non-stored class member
11
+ // order into the ABI. rdar://problem/46617463
12
+ // The digester can incorrectly register a generic signature change when
13
+ // declarations are shuffled. rdar://problem/46618883
14
+ // XFAIL: swift_evolve
Original file line number Diff line number Diff line change @@ -540,6 +540,9 @@ elif swift_test_subset == 'only_stress':
540
540
else :
541
541
lit_config .fatal ("Unknown test mode %r" % swift_test_subset )
542
542
543
+ if 'swift_evolve' in lit_config .params :
544
+ config .available_features .add ("swift_evolve" )
545
+
543
546
# Enable benchmark testing when the binary is found (has fully qualified path).
544
547
if config .benchmark_o != 'Benchmark_O' :
545
548
config .available_features .add ('benchmark' )
You can’t perform that action at this time.
0 commit comments