Skip to content

Commit 14dfa75

Browse files
authored
Merge pull request #21427 from brentdax/grading-tests-on-a-curve
2 parents c58ffa8 + f641b15 commit 14dfa75

File tree

6 files changed

+26
-27
lines changed

6 files changed

+26
-27
lines changed

test/IDE/print_ast_tc_decls.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,10 +1072,10 @@ enum d2300_EnumDeclWithValues1 : Int {
10721072
// PASS_COMMON: {{^}}enum d2300_EnumDeclWithValues1 : Int {{{$}}
10731073
// PASS_COMMON-NEXT: {{^}} case EDV2_First{{$}}
10741074
// PASS_COMMON-NEXT: {{^}} case EDV2_Second{{$}}
1075-
// PASS_COMMON-NEXT: {{^}} typealias RawValue = Int
1076-
// PASS_COMMON-NEXT: {{^}} init?(rawValue: Int){{$}}
1077-
// PASS_COMMON-NEXT: {{^}} var rawValue: Int { get }{{$}}
1078-
// PASS_COMMON-NEXT: {{^}}}{{$}}
1075+
// PASS_COMMON-DAG: {{^}} typealias RawValue = Int
1076+
// PASS_COMMON-DAG: {{^}} init?(rawValue: Int){{$}}
1077+
// PASS_COMMON-DAG: {{^}} var rawValue: Int { get }{{$}}
1078+
// PASS_COMMON: {{^}}}{{$}}
10791079

10801080
enum d2400_EnumDeclWithValues2 : Double {
10811081
case EDV3_First = 10
@@ -1084,10 +1084,10 @@ enum d2400_EnumDeclWithValues2 : Double {
10841084
// PASS_COMMON: {{^}}enum d2400_EnumDeclWithValues2 : Double {{{$}}
10851085
// PASS_COMMON-NEXT: {{^}} case EDV3_First{{$}}
10861086
// PASS_COMMON-NEXT: {{^}} case EDV3_Second{{$}}
1087-
// PASS_COMMON-NEXT: {{^}} typealias RawValue = Double
1088-
// PASS_COMMON-NEXT: {{^}} init?(rawValue: Double){{$}}
1089-
// PASS_COMMON-NEXT: {{^}} var rawValue: Double { get }{{$}}
1090-
// PASS_COMMON-NEXT: {{^}}}{{$}}
1087+
// PASS_COMMON-DAG: {{^}} typealias RawValue = Double
1088+
// PASS_COMMON-DAG: {{^}} init?(rawValue: Double){{$}}
1089+
// PASS_COMMON-DAG: {{^}} var rawValue: Double { get }{{$}}
1090+
// PASS_COMMON: {{^}}}{{$}}
10911091

10921092
//===---
10931093
//===--- Custom operator printing.

test/ParseableInterface/synthesized.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
public enum HasRawValue: Int {
55
// CHECK-NEXT: case a, b, c
66
case a, b = 5, c
7-
// CHECK-NEXT: public typealias RawValue = Swift.Int
8-
// CHECK-NEXT: @inlinable public init?(rawValue: Swift.Int)
9-
// CHECK-NEXT: public var rawValue: Swift.Int {
10-
// CHECK-NEXT: @inlinable get{{$}}
11-
// CHECK-NEXT: }
12-
} // CHECK-NEXT: {{^}$}}
7+
// CHECK-DAG: public typealias RawValue = Swift.Int
8+
// CHECK-DAG: @inlinable public init?(rawValue: Swift.Int)
9+
// CHECK-DAG: public var rawValue: Swift.Int {
10+
// CHECK-DAG: @inlinable get{{$}}
11+
// CHECK-DAG: }
12+
} // CHECK: {{^}$}}
1313

1414
// CHECK-LABEL: @objc public enum ObjCEnum : Int {
1515
@objc public enum ObjCEnum: Int {
1616
// CHECK-NEXT: case a, b, c
1717
case a, b = 5, c
18-
// CHECK-NEXT: public typealias RawValue = Swift.Int
19-
// CHECK-NEXT: @inlinable public init?(rawValue: Swift.Int)
20-
// CHECK-NEXT: public var rawValue: Swift.Int {
21-
// CHECK-NEXT: @inlinable get{{$}}
22-
// CHECK-NEXT: }
23-
} // CHECK-NEXT: {{^}$}}
18+
// CHECK-DAG: public typealias RawValue = Swift.Int
19+
// CHECK-DAG: @inlinable public init?(rawValue: Swift.Int)
20+
// CHECK-DAG: public var rawValue: Swift.Int {
21+
// CHECK-DAG: @inlinable get{{$}}
22+
// CHECK-DAG: }
23+
} // CHECK: {{^}$}}

test/SIL/Parser/array_roundtrip.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
// Fails if the positions of the two Collection subscript requirements are
44
// reversed. rdar://problem/46650834
5-
// XFAIL: swift_evolve
5+
// UNSUPPORTED: swift_evolve
66

77
var W = [UInt32](repeating: 0, count: 16)

test/SourceKit/DocSupport/doc_clang_module.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// REQUIRES: objc_interop
22

3-
// SourceKit is expected to produce documentation in source order.
4-
// UNSUPPORTED: swift_evolve
5-
63
// FIXME: the test output we're comparing to is specific to macOS.
74
// REQUIRES-ANY: OS=macosx
85

test/SourceKit/lit.local.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ if 'sourcekit' not in config.available_features:
44
elif 'OS=linux-gnu' in config.available_features and 'LinuxDistribution=Ubuntu-14.04' in config.available_features:
55
config.unsupported = True
66

7+
elif 'swift_evolve' in config.available_features:
8+
# A lot of tests necessarily depend on standard library source order.
9+
config.unsupported = True
10+
711
else:
812
sed_clean = r"grep -v 'key.hash: \"0\"'"
913
sed_clean += r" | sed -e 's/key.filepath: \".*[/\\\\]\\(.*\\)\\.swiftmodule\"/key.filepath: \\1.swiftmodule/g'"

test/api-digester/stability-stdlib-abi.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// RUN: %clang -E -P -x c %t.tmp/changes.txt -o - | sed '/^\s*$/d' | sort > %t.tmp/changes.txt.tmp
88
// RUN: diff -u %t.tmp/stability-stdlib-abi.swift.expected %t.tmp/changes.txt.tmp
99

10-
// The digester hasn't learned that we've stopped baking non-stored class member
11-
// order into the ABI. rdar://problem/46617463
1210
// The digester can incorrectly register a generic signature change when
1311
// declarations are shuffled. rdar://problem/46618883
14-
// XFAIL: swift_evolve
12+
// UNSUPPORTED: swift_evolve

0 commit comments

Comments
 (0)