Skip to content

Commit 456a8de

Browse files
committed
Gardening: Migrate test suite to GH issues: validation-test/Serialization (1/2)
1 parent 7778505 commit 456a8de

10 files changed

+19
-4
lines changed

validation-test/Serialization/SR3915.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift -emit-module -o %t/SR3915.swiftmodule %s %S/Inputs/SR3915-other.swift
2+
// RUN: %target-build-swift -emit-module -o %t/M.swiftmodule %s %S/Inputs/issue-46500-other.swift
3+
4+
// https://github.com/apple/swift/issues/46500
35

46
public enum A {}
57

validation-test/Serialization/SR4211.swift validation-test/Serialization/issue-46794.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %target-build-swift -emit-module %s
22

33
// REQUIRES: objc_interop
4+
5+
// https://github.com/apple/swift/issues/46794
6+
47
import Foundation
58

69
/// Set of notifications that can be sent by this manager

validation-test/Serialization/SR5191.swift validation-test/Serialization/issue-47767.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift -module-name SwiftCrash -emit-module -o %t/SR5191.swiftmodule %s %S/Inputs/SR5191-other.swift
3-
// RUN: %target-build-swift -module-name SwiftCrash -emit-module -o %t/SR5191_reversed.swiftmodule %S/Inputs/SR5191-other.swift %s
2+
// RUN: %target-build-swift -module-name SwiftCrash -emit-module -o %t/M.swiftmodule %s %S/Inputs/issue-47767-other.swift
3+
// RUN: %target-build-swift -module-name SwiftCrash -emit-module -o %t/M_reversed.swiftmodule %S/Inputs/issue-47767-other.swift %s
44

55
// REQUIRES: objc_interop
66
// The module name is significant here; it must be later ASCIIbetically than
77
// "Swift". This has to do with the canonical ordering of protocols, including
88
// those inherited by extending NSObject.
99

10+
// https://github.com/apple/swift/issues/47767
11+
1012
import Foundation
1113

1214
class FooImpl: NSObject, FooProto, BazProto {

validation-test/Serialization/SR7337.swift validation-test/Serialization/issue-49885.swift

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %target-build-swift -emit-module -o %t/Lib.swiftmodule %s -DLIB
33
// RUN: %target-build-swift -emit-module -o %t/main.swiftmodule -I %t %s
44

5+
// https://github.com/apple/swift/issues/49885
6+
57
#if LIB
68

79
protocol Proto {}

validation-test/Serialization/SR7879.swift validation-test/Serialization/issue-50414.swift

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
// REQUIRES: OS=ios
66

7+
// https://github.com/apple/swift/issues/50414
8+
79
import UIKit
810

911
public func testInsets(_: UIEdgeInsets = .zero) {}

validation-test/Serialization/SR7978.swift validation-test/Serialization/issue-50512.swift

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %target-build-swift -emit-module-path %t/Lib.swiftmodule %s -module-name Lib
33
// RUN: echo 'import Lib; _ = MyClass(with: "test", and: 341)' | %target-build-swift -I %t -typecheck -
44

5+
// https://github.com/apple/swift/issues/50512
6+
57
public protocol MyProtocol {
68
var string: String { get }
79
var int: Int { get }

validation-test/Serialization/SR8045.swift validation-test/Serialization/issue-50578.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-build-swift -emit-module-path %t/main.swiftmodule -module-name main %s %S/Inputs/SR8045-other.swift
2+
// RUN: %target-build-swift -emit-module-path %t/main.swiftmodule -module-name main %s %S/Inputs/issue-50578-other.swift
3+
4+
// https://github.com/apple/swift/issues/50578
35

46
public class Sub: Super {
57
public override func foo(_ f: @escaping Alias<Bool>) {}

0 commit comments

Comments
 (0)