Skip to content

Commit 6da51d2

Browse files
committed
Gardening: Migrate test suite to GH issues: ModuleInterface
1 parent e0ae1af commit 6da51d2

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

test/ModuleInterface/BadStdlib.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ import ClangMod
1515

1616
public func useHasPointer(_: HasPointer)
1717

18-
// FIXME: SR-14489
18+
// FIXME: https://github.com/apple/swift/issues/56844
1919
// UNSUPPORTED: OS=windows-msvc

test/ModuleInterface/ModuleCache/module-cache-diagnostics.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %empty-directory(%t/modulecache)
33

4+
// rdar://88830153
5+
// https://github.com/apple/swift/issues/58134
6+
// This test is flaky on Windows.
47
// UNSUPPORTED: OS=windows-msvc
5-
// This test is flaky on Windows. rdar://88830153 SR-15869
68

79
// Setup builds a module TestModule that depends on OtherModule and LeafModule (built from other.swift and leaf.swift).
810
// During setup, input and intermediate mtimes are all set to a constant 'old' time (long in the past).

test/ModuleInterface/ObjC.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// FIXME: This test is self-contained, so it shouldn't require objc_interop
66
// (just -enable-objc-interop), but it's failing in Linux SILGen.
7-
// https://bugs.swift.org/browse/SR-8877
7+
// https://github.com/apple/swift/issues/51383
88
// REQUIRES: objc_interop
99

1010
import Foundation

test/ModuleInterface/default-args.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public func hasMagicDefaultArgs(_ f: String = #file, _ fu: String = #function, _
5555
public func hasSimpleDefaultArgs(_ x: Int = 0, b: Int = 1) {
5656
}
5757

58-
// rdar://83202870 (SR-15181): Make sure we can extract the textual representation here.
58+
// rdar://83202870
59+
// https://github.com/apple/swift/issues/57504
60+
// Make sure we can extract the textual representation here.
5961
// CHECK: func hasTupleConstructionDefaultArgs(_ x: Any = (), y: (Swift.String, Swift.Int) = ("", 0))
6062
public func hasTupleConstructionDefaultArgs(_ x: Any = Void(), y: (String, Int) = (String, Int)("", 0)) {}

test/ModuleInterface/module_shadowing.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
// RUN: %empty-directory(%t/subtest-3)
2020
// RUN: %target-swift-frontend -typecheck -parse-stdlib -module-cache-path %t/mcp -emit-module-interface-path %t/subtest-3/ShadowyHorror.swiftinterface %s -enable-library-evolution -module-name ShadowyHorror -DSELF_SHADOW -swift-version 5 2>&1 | %FileCheck --check-prefix SELF --implicit-check-not TestModule %s
2121

22-
// Verify that the module-shadowing bugs we're trying to address haven't been fixed. (SR-898)
22+
// FIXME: Verify that the module-shadowing bugs we're trying to address haven't
23+
// been fixed (https://github.com/apple/swift/issues/43510).
2324
// RUN: not %target-swift-frontend -typecheck-module-from-interface %t/subtest-1/module_shadowing.swiftinterface -module-cache-path %t/mcp -I %t/lib -module-name module_shadowing 2>&1 | %FileCheck --check-prefix VERIFICATION %s
2425
// RUN: %target-swift-frontend -typecheck-module-from-interface %t/subtest-2/module_shadowing.swiftinterface -module-cache-path %t/mcp -I %t/lib -module-name module_shadowing
2526
// RUN: not %target-swift-frontend -typecheck-module-from-interface %t/subtest-3/ShadowyHorror.swiftinterface -module-cache-path %t/mcp -I %t/lib -module-name ShadowyHorror 2>&1 | %FileCheck --check-prefix VERIFICATION %s

0 commit comments

Comments
 (0)