Skip to content

Commit af66096

Browse files
committed
Gardening: Migrate test suite to GH issues: Interpreter
1 parent 04f1cde commit af66096

15 files changed

+36
-22
lines changed

test/Interpreter/SDK/objc_swift_getObjectType.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ extension P {
2424
}
2525
}
2626

27-
// SR-4363
28-
// Test several paths through swift_getObjectType()
27+
// https://github.com/apple/swift/issues/46942
28+
// Test several paths through 'swift_getObjectType()'.
2929

3030
// instance of a Swift class that conforms to P
3131
class O: NSObject, P { }

test/Interpreter/SR-10600.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
// REQUIRES: executable_test
44

5+
// https://github.com/apple/swift/issues/53000
6+
57
public class BaseView { }
68
public class GenericView<T>: BaseView { }
79
public class FinalView: GenericView<ContentForTheView> { }

test/Interpreter/class_resilience.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,9 @@ ResilientClassTestSuite.test("ResilientThenEmpty") {
324324
expectEqual(c.resilient.i, 17)
325325
}
326326

327-
// This test triggers SR-815 (rdar://problem/25318716) on macOS 10.9 and iOS 7.
328-
// Disable it for now when testing on those versions.
327+
// This test triggers https://github.com/apple/swift/issues/43427
328+
// (rdar://problem/25318716) on macOS 10.9 and iOS 7. Disable it for now when
329+
// testing on those versions.
329330
if #available(macOS 10.10, iOS 8, *) {
330331
runAllTests()
331332
} else {

test/Interpreter/classes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func makeOne<T : Makeable>(_: T.Type) -> T {
208208

209209
makeOne(Child.self).doSomething() // CHECK: Heaven!
210210

211-
// https://bugs.swift.org/browse/SR-3840
211+
// https://github.com/apple/swift/issues/46425
212212

213213
class BaseProperty {
214214
var value: Int {

test/Interpreter/enum.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@ presentEitherOr(EitherOr<(), String>.Right("foo")) // CHECK-NEXT: Right(foo)
554554
// CHECK-NEXT: Right(foo)
555555
presentEitherOrsOf(t: (), u: "foo")
556556

557-
// SR-5148
557+
// https://github.com/apple/swift/issues/47724
558+
558559
enum Payload {
559560
case email
560561
}

test/Interpreter/generic_casts.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,17 @@ print(#line, nongenericAnyIsPAndPCSubType(type: PS.self)) // CHECK: [[@LINE]] fa
308308
print(#line, genericAnyIs(type: PS.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
309309
print(#line, nongenericAnyIsPAndPCSubType(type: PE.self)) // CHECK: [[@LINE]] false
310310
print(#line, genericAnyIs(type: PE.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
311-
//print(#line, nongenericAnyIsPAndPCSubType(type: PC.self)) // CHECK-SR-11565: [[@LINE]] false -- FIXME: reenable this when SR-11565 is fixed
311+
// FIXME: reenable this when https://github.com/apple/swift/issues/53970 is fixed
312+
//print(#line, nongenericAnyIsPAndPCSubType(type: PC.self)) // C HECK: [[@LINE]] false
312313
print(#line, genericAnyIs(type: PC.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
313314
print(#line, nongenericAnyIsPAndPCSubType(type: PCSub.self)) // CHECK: [[@LINE]] true
314315
print(#line, genericAnyIs(type: PCSub.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
315316
print(#line, nongenericAnyAsConditionalPAndPCSubType(type: PS.self)) // CHECK: [[@LINE]] false
316317
print(#line, genericAnyAsConditional(type: PS.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
317318
print(#line, nongenericAnyAsConditionalPAndPCSubType(type: PE.self)) // CHECK: [[@LINE]] false
318319
print(#line, genericAnyAsConditional(type: PE.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
319-
// print(#line, nongenericAnyAsConditionalPAndPCSubType(type: PC.self)) // CHECK-SR-11565: [[@LINE]] false -- FIXME: reenable this when SR-11565 is fixed
320+
// FIXME: reenable this when https://github.com/apple/swift/issues/53970 is fixed
321+
// print(#line, nongenericAnyAsConditionalPAndPCSubType(type: PC.self)) // C HECK: [[@LINE]] false
320322
print(#line, genericAnyAsConditional(type: PC.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false
321323
print(#line, nongenericAnyAsConditionalPAndPCSubType(type: PCSub.self)) // CHECK: [[@LINE]] true
322324
print(#line, genericAnyAsConditional(type: PCSub.self, to: (P & PCSub).self, expected: false)) // CHECK: [[@LINE]] false

test/Interpreter/generic_class.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ class MoreConcreteQuadruple : SemiConcreteTriple<State> {
184184
}
185185
}
186186

187-
// This check triggers SR-815 (rdar://problem/25318716) on macOS 10.9 and iOS 7.
188-
// Disable it for now when testing on those versions.
187+
// This check triggers https://github.com/apple/swift/issues/43427
188+
// (rdar://problem/25318716) on macOS 10.9 and iOS 7. Disable it for now when
189+
// testing on those versions.
189190
if #available(macOS 10.10, iOS 8, *) {
190191
var u = MoreConcreteQuadruple(10, 17, State.CA, "Hella")
191192

test/Interpreter/generic_objc_subclass.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,9 @@ fixedB.third = 17
234234
// CHECK: (101, 0, 0, 0, 16, [19, 84], 17)
235235
print(fixedG())
236236

237-
// Problem with field alignment in direct generic subclass of NSObject -
238-
// <https://bugs.swift.org/browse/SR-2586>
237+
// https://github.com/apple/swift/issues/45191
238+
// Problem with field alignment in direct generic subclass of 'NSObject'.
239+
239240
public class PandorasBox<T>: NSObject {
240241
final public var value: T
241242

test/Interpreter/lifetime_nonmutating_address_only.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-run-simple-swift | %FileCheck %s
22
// REQUIRES: executable_test
33

4-
// SR-8990
4+
// https://github.com/apple/swift/issues/51493
55

66
// CHECK: A
77
// CHECK: B

test/Interpreter/protocol_extensions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ ProtocolExtensionTestSuite.test("ClassInitializer") {
284284
expectTrue(Sub.self == metatypes[3].1)
285285
}
286286

287-
// https://bugs.swift.org/browse/SR-617
287+
// https://github.com/apple/swift/issues/43234
288+
288289
protocol SelfMetadataTest {
289290
associatedtype T = Int
290291

0 commit comments

Comments
 (0)