Gardening: Migrate test suite to GH issues: ModuleInterface

This commit is contained in:
Anthony Latsis
2022-09-01 03:14:21 +03:00
parent e0ae1afcb7
commit 6da51d2b2f
5 changed files with 10 additions and 5 deletions

View File

@@ -15,5 +15,5 @@ import ClangMod
public func useHasPointer(_: HasPointer)
// FIXME: SR-14489
// FIXME: https://github.com/apple/swift/issues/56844
// UNSUPPORTED: OS=windows-msvc

View File

@@ -1,8 +1,10 @@
// RUN: %empty-directory(%t)
// RUN: %empty-directory(%t/modulecache)
// rdar://88830153
// https://github.com/apple/swift/issues/58134
// This test is flaky on Windows.
// UNSUPPORTED: OS=windows-msvc
// This test is flaky on Windows. rdar://88830153 SR-15869
// Setup builds a module TestModule that depends on OtherModule and LeafModule (built from other.swift and leaf.swift).
// During setup, input and intermediate mtimes are all set to a constant 'old' time (long in the past).

View File

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

View File

@@ -55,6 +55,8 @@ public func hasMagicDefaultArgs(_ f: String = #file, _ fu: String = #function, _
public func hasSimpleDefaultArgs(_ x: Int = 0, b: Int = 1) {
}
// rdar://83202870 (SR-15181): Make sure we can extract the textual representation here.
// rdar://83202870
// https://github.com/apple/swift/issues/57504
// Make sure we can extract the textual representation here.
// CHECK: func hasTupleConstructionDefaultArgs(_ x: Any = (), y: (Swift.String, Swift.Int) = ("", 0))
public func hasTupleConstructionDefaultArgs(_ x: Any = Void(), y: (String, Int) = (String, Int)("", 0)) {}

View File

@@ -19,7 +19,8 @@
// RUN: %empty-directory(%t/subtest-3)
// 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
// Verify that the module-shadowing bugs we're trying to address haven't been fixed. (SR-898)
// FIXME: Verify that the module-shadowing bugs we're trying to address haven't
// been fixed (https://github.com/apple/swift/issues/43510).
// 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
// 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
// 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