Update test flags for linux failures and support.

Also removed the sdk 'feature' in favour of the more specific
objc_interop.

Swift SVN r24856
This commit is contained in:
Graham Batty
2015-01-30 21:31:48 +00:00
parent fb9bb1396b
commit 83b4384fac
371 changed files with 709 additions and 25 deletions
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-stdlib-swift
// XFAIL: linux
import StdlibUnittest
import Swift
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux
import Foundation
println("testing...")
+2
View File
@@ -21,6 +21,8 @@
// RUN: %target-run %t/ArrayBridge > %t.txt
// RUN: FileCheck %s < %t.txt
// XFAIL: linux
import Foundation
import ArrayBridgeObjC
+3
View File
@@ -10,6 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux
import Swift
//===--- class Tracked ----------------------------------------------------===//
+2
View File
@@ -11,6 +11,8 @@
// RUN: %S/../../utils/line-directive %t/main.swift -- %target-build-swift %S/Inputs/DictionaryKeyValueTypes.swift %t/main.swift -I %S/Inputs/SlurpFastEnumeration/ -Xlinker %t/SlurpFastEnumeration.o -o %t/Array -Xfrontend -disable-access-control
// RUN: %S/../../utils/line-directive %t/main.swift -- %target-run %t/Array
// XFAIL: linux
import Darwin
import StdlibUnittest
import Foundation
+2
View File
@@ -9,6 +9,8 @@
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP}}
// XFAIL: linux
// This file is gybbe'd twice, once to generate the test file, and
// once to run the tests. The second time, the output is thrown away,
// but the list of tests is used to invoke the test executable
+2
View File
@@ -17,7 +17,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift %s | FileCheck %s
//
// XFAIL: interpret
// REQUIRES: objc_interop
import Swift
import SwiftShims
+2
View File
@@ -19,6 +19,8 @@
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-build-swift -parse-stdlib %t/out.swift -o %t/a.out
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-run %t/a.out
// REQUIRES: objc_interop
import Swift
//===--- Code destined for stdlib -----------------------------------------===//
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: interpret
// REQUIRES: objc_interop
// CHECK: testing...
println("testing...")
+2
View File
@@ -12,7 +12,9 @@
// RUN: rm -rf %t && mkdir -p %t
// RUN: %target-build-swift %s -parse-stdlib -Xfrontend -disable-access-control -o %t/Builtins
// RUN: %target-run %t/Builtins
// XFAIL: interpret
// XFAIL: linux
import Swift
import SwiftShims
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: objc_interop
import CoreGraphics
func print(r: CGPoint, prefix: String) {
+2
View File
@@ -7,6 +7,8 @@
// FIXME: Casting.cpp has dozens of places to fail a cast. This test does not
// attempt to enumerate them all.
// XFAIL: linux
import StdlibUnittest
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-stdlib-swift
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
import Swift
+2
View File
@@ -9,6 +9,8 @@
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
// XFAIL: linux
import Darwin
// Interpret the command line arguments.
+2
View File
@@ -14,6 +14,8 @@
// RUN: %target-run-stdlib-swift
// XFAIL: linux
import Swift
import StdlibUnittest
+2
View File
@@ -12,6 +12,8 @@
//
// RUN: %target-run %t/Dictionary
// XFAIL: linux
import Darwin
import StdlibUnittest
import Foundation
+3
View File
@@ -5,6 +5,9 @@
//
// RUN: %target-run %t/a.out_Debug
// RUN: %target-run %t/a.out_Release
//
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import StdlibUnittest
import Foundation
+2
View File
@@ -3,6 +3,8 @@
//
// RUN: %target-run %t/a.out
// XFAIL: linux
import StdlibUnittest
var DictionaryUnchecked = TestSuite("DictionaryUnchecked")
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: objc_interop
import Dispatch
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend -verify -parse %s
// REQUIRES: objc_interop
import Dispatch
func getAnyValue<T>(opt: T?) -> T { return opt! }
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: linux
import SwiftExperimental
import StdlibUnittest
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: linux
import StdlibUnittest
var tests = TestSuite("FixedPoint")
+2
View File
@@ -9,6 +9,8 @@
// RUN: %target-build-swift %t/main.swift %t/double_type.swift -o %t/double.out
// RUN: %target-run %t/double.out | FileCheck %s
// XFAIL: linux
import Darwin
//===---
+2
View File
@@ -1,7 +1,9 @@
// RUN: rm -rf %t && mkdir -p %t
// RUN: %target-build-swift %s -parse-stdlib -Xfrontend -disable-access-control -o %t/FloatingPoint
// RUN: %target-run %t/FloatingPoint
// XFAIL: interpret
// XFAIL: linux
import Swift
import StdlibUnittest
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux
import Swift
println("testing...")
+2
View File
@@ -10,7 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
//
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+2
View File
@@ -20,6 +20,8 @@
// RUN: %target-run %t/a.out_Release HalfOpen 2>&1 | FileCheck %s
// RUN: %target-run %t/a.out_Release Closed 2>&1 | FileCheck %s
// XFAIL: linux
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP}}
+2
View File
@@ -14,6 +14,8 @@
// RUN: %S/../../utils/line-directive %t/Join.swift -- %target-build-swift %t/Join.swift -o %t/a.out
// RUN: %S/../../utils/line-directive %t/Join.swift -- %target-run %t/a.out
// XFAIL: linux
import StdlibUnittest
var JoinTestSuite = TestSuite("Join")
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: objc_interop
import Foundation
struct Guts {
+2
View File
@@ -10,7 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
//
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+3
View File
@@ -11,6 +11,9 @@
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import StdlibUnittest
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// REQUIRES: objc_interop
import StdlibUnittest
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// REQUIRES: objc_interop
import StdlibUnittest
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: objc_interop
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// REQUIRES: objc_interop
import StdlibUnittest
import Foundation
+2
View File
@@ -3,6 +3,8 @@
// RUN: %target-build-swift %s -o %t/a.out
// RUN: %target-run %t/a.out
// REQUIRES: objc_interop
//
// Tests for the NSString APIs as exposed by String
//
+2
View File
@@ -10,7 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
//
// XFAIL: interpret
// REQUIRES: objc_interop
import StdlibUnittest
import Foundation
+2
View File
@@ -15,6 +15,8 @@
// RUN: %S/../../utils/line-directive %t/NewArray.swift -- %target-build-swift %t/NewArray.swift -o %t/a.out -Xfrontend -disable-access-control
// RUN: %target-run %t/a.out 2>&1 | %S/../../utils/line-directive %t/NewArray.swift -- FileCheck %t/NewArray.swift
// XFAIL: linux
var xCount = 0
var xSerial = 0
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux
import Foundation
import Swift
// ==== Tests =====
+3
View File
@@ -1,5 +1,8 @@
// RUN: %target-run-simple-swift | FileCheck %s
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import Foundation
let opaqueNil: COpaquePointer = nil
+2
View File
@@ -10,6 +10,8 @@
// RUN: %target-run %t/OptionalTraps_Release UnwrapNone1 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/OptionalTraps_Fast UnwrapNoneFast1 2>&1 | FileCheck %s -check-prefix=CHECK_UNWRAP_NONE_1_FAST
// XFAIL: linux
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP}}
+2 -1
View File
@@ -2,7 +2,8 @@
// RUN: %target-build-swift %s -parse-stdlib -Xfrontend -disable-access-control -o %t/a.out -Xlinker -dead_strip
// RUN: %target-run %t/a.out env | FileCheck %s
// RUN: %target-run %t/a.out ru_RU.UTF-8 | FileCheck %s
// REQUIRES: sdk
// XFAIL: linux
import Swift
import Darwin
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+2
View File
@@ -22,6 +22,8 @@
// RUN: %target-run %t/a.out_Release Closed 2>&1 | FileCheck %s
// RUN: %target-run %t/a.out_Release OutOfRange 2>&1 | FileCheck %s
// XFAIL: linux
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP}}
+3
View File
@@ -3,6 +3,9 @@
// RUN: %S/timeout.sh 360 %target-run %t/a.out %S/Inputs/shuffle.jpg | FileCheck %s
// FIXME: timeout wrapper is necessary because the ASan test runs for hours
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import Foundation
import SpriteKit
+2
View File
@@ -1,6 +1,8 @@
// RUN: %target-build-swift -module-name a %s -o %t.out
// RUN: %target-run %t.out
// XFAIL: linux
//
// This file contains reflection tests that depend on hash values.
// Don't add other tests here.
+2 -1
View File
@@ -1,4 +1,5 @@
// Test Reflection.swift in JIT mode.
// RUN: %swift -interpret -sdk %sdk %S/Reflection.swift -- %S/Inputs/shuffle.jpg | FileCheck %S/Reflection.swift
// REQUIRES: sdk
// XFAIL: linux
// REQUIRES: swift_interpreter
+2
View File
@@ -1,6 +1,8 @@
// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control -module-name a %s -o %t.out
// RUN: %target-run %t.out
// XFAIL: linux
import Swift
import StdlibUnittest
import Foundation
+2
View File
@@ -12,6 +12,8 @@
//
// RUN: %target-run %t/Set
// XFAIL: linux
import StdlibUnittest
import Foundation
+3
View File
@@ -6,6 +6,9 @@
// RUN: %target-run %t/a.out_Debug
// RUN: %target-run %t/a.out_Release
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import StdlibUnittest
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+2
View File
@@ -4,6 +4,8 @@
// RUN: %S/../../utils/line-directive %t.swift -- %target-build-swift -Xfrontend -disable-access-control %t.swift -o %t.out
// RUN: %S/../../utils/line-directive %t.swift -- %target-run %t.out
// XFAIL: linux
import StdlibUnittest
var Algorithm = TestSuite("Algorithm")
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// REQUIRES: objc_interop
import Foundation
import SpriteKit
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: linux
import StdlibUnittest
var StaticStringTestSuite = TestSuite("StaticString")
+2
View File
@@ -10,7 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
//
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: linux
// REQUIRES: long_tests
// FIXME: move to validation suite.
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-parse-verify-swift
// XFAIL: linux
import Foundation
// Common pitfall: trying to subscript a string with integers.
+2
View File
@@ -11,6 +11,8 @@
// RUN: %target-run %t/a.out StringUTF16ViewSubscriptDecrementedStartIndex 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/a.out StringUTF16ViewSubscriptEndIndex 2>&1 | FileCheck %s -check-prefix=CHECK
// XFAIL: linux
// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
+2
View File
@@ -11,6 +11,8 @@
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: linux
// FIXME: move to validation suite.
// REQUIRES: long_tests
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: linux
class C {}
struct S {}
enum E {}
+3
View File
@@ -10,6 +10,9 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift
// XFAIL: linux
import Swift
import StdlibUnittest
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: linux
import StdlibUnittest
+2
View File
@@ -2,6 +2,8 @@
// RUN: %S/../../utils/line-directive %t/UnsafePointer.swift -- %target-build-swift %t/UnsafePointer.swift -o %t/a.out
// RUN: %S/../../utils/line-directive %t/UnsafePointer.swift -- %target-run %t/a.out
// XFAIL: linux
import StdlibUnittest
var UnsafePointerTestSuite = TestSuite("UnsafePointer")
+2 -1
View File
@@ -1,6 +1,7 @@
// RUN: %swift -interpret -parse-stdlib -sdk %sdk -target %target-triple %s | FileCheck %s
// REQUIRES: swift_interpreter
// REQUIRES: sdk
// XFAIL: linux
// FIXME: iOS fails: target-run-stdlib-swift gets 'unknown identifier VarArgs'
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux
import Darwin
import CoreGraphics
+1
View File
@@ -2,6 +2,7 @@
// RUN: %target-build-swift %s -o %t/a.out -Ounchecked
// RUN: %target-run %t/a.out
// XFAIL: linux
import Darwin
import StdlibUnittest
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-build-swift -Xfrontend %clang-importer-sdk %s -emit-ir
// REQUIRES: objc_interop
import UIKit
class MyView: UIView {
@@ -1,5 +1,7 @@
// RUN: %target-build-swift -Xfrontend %clang-importer-sdk %s -emit-ir
// REQUIRES: objc_interop
// Test that we don't crash when producing IR.
import AppKit
@@ -1,5 +1,7 @@
// RUN: %target-parse-verify-swift %clang-importer-sdk
// REQUIRES: objc_interop
import CoreServices
func test(url: CFURL, ident: CSIdentity) {
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend -parse %s -verify
// REQUIRES: objc_interop
import Darwin
import ObjectiveC
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-parse-verify-swift %clang-importer-sdk
// REQUIRES: objc_interop
import Darwin
let _: Fract? = nil // expected-error{{use of undeclared type 'Fract'}}
@@ -9,6 +9,8 @@
// RUN: not %target-swift-frontend -parse %s -import-objc-header %S/../../Inputs/empty.swift 2>&1 | FileCheck -check-prefix=EMPTY-HEADER %s
// REQUIRES: objc_interop
// MISSING-HEADER: error: bridging header '{{.*}}/fake.h' does not exist
// MISSING-HEADER-NOT: error
@@ -8,6 +8,8 @@
// RUN: %target-swift-frontend %clang-importer-sdk -emit-module -o %t/Mixed.framework/Modules/Mixed.swiftmodule/%target-swiftmodule-name %S/Inputs/mixed-framework/Mixed.swift -import-underlying-module -F %t -module-name Mixed -disable-objc-attr-requires-foundation-module
// RUN: %target-swift-frontend %clang-importer-sdk -F %t -parse %s -verify
// XFAIL: linux
import Mixed
let instance = SwiftClass(x: 42)
@@ -8,6 +8,8 @@
// RUN: rm %t/mixed-target/header.h
// RUN: not %target-swift-frontend %clang-importer-sdk -I %t -I %S/../Inputs/custom-modules -parse %s 2>&1 | FileCheck %s -check-prefix=USE-SERIALIZED-HEADER
// XFAIL: linux
// USE-SERIALIZED-HEADER: redefinition of 'Point2D'
// USE-SERIALIZED-HEADER: previous definition is here
@@ -7,6 +7,8 @@
// RUN: rm -rf %t/mixed-target/
// RUN: %target-swift-frontend %clang-importer-sdk -I %t -I %S/../Inputs/custom-modules -parse %s -verify
// XFAIL: linux
import MixedWithHeader
func testReexportedClangModules(foo : FooProto) {
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -I %S/Inputs/user-module -parse %s -verify
// REQUIRES: objc_interop
// Type checker should not report any errors in the code below.
import Foundation
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -I %S/../Inputs/custom-modules -import-objc-header %S/Inputs/mixed-target/header.h -parse %s -verify
// REQUIRES: objc_interop
func test(foo : FooProto) {
let _: CInt = foo.bar
let _: CInt = ExternIntX.x
@@ -2,6 +2,8 @@
// RUN: %target-swift-frontend %clang-importer-sdk -F %S/Inputs/mixed-target/ -module-name Mixed -import-underlying-module -emit-ir %S/../../Inputs/empty.swift - | FileCheck -check-prefix=CHECK-AUTOLINK %s
// RUN: not %target-swift-frontend %clang-importer-sdk -F %S/Inputs/mixed-target/ -module-name WrongName -import-underlying-module -parse %s 2>&1 | FileCheck -check-prefix=CHECK-WRONG-NAME %s
// REQUIRES: objc_interop
// CHECK-AUTOLINK: !{{[0-9]+}} = !{i32 {{[0-9]+}}, !"Linker Options", ![[LINK_LIST:[0-9]+]]}
// CHECK-AUTOLINK: ![[LINK_LIST]] = !{
// CHECK-AUTOLINK-NOT: metadata !"-framework", metadata !"Mixed"
@@ -5,6 +5,8 @@
// RUN: cp %S/Inputs/resolve-cross-language/Base-module.map %t/module.map
// RUN: %target-swift-frontend %clang-importer-sdk -parse -I %t -F %S/Inputs/resolve-cross-language %s -verify
// REQUIRES: objc_interop
import Base
import BaseUser
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse %s -verify
// REQUIRES: objc_interop
import Security
let _: CFStringRef = kSecClass
@@ -1,6 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify %s
// REQUIRES: OS=macosx
// REQUIRES: objc_interop
// The accessibility APIs are handled differently. A class might conform to both
// NSAccessibility (containing accessibility properties) and individual
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend -parse -verify %clang-importer-sdk -I %S/Inputs/custom-modules %s
// REQUIRES: objc_interop
// Do not import Foundation! This tests indirect visibility.
import Redeclaration
import AppKit
+2
View File
@@ -8,6 +8,8 @@
// RUN: FileCheck %s < %t/with-adapter.ll
// RUN: FileCheck --check-prefix=CHECK-WITH-SWIFT %s < %t/with-adapter.ll
// UNSUPPORTED: OS=linux-gnu
import LinkMusket
import LinkFramework
import ClangModuleUser
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify -I %S/Inputs/custom-modules %s
// REQUIRES: objc_interop
import Dispatch
import Foundation
import stdio
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify -application-extension %s
// REQUIRES: objc_interop
import Foundation
func test_unavailable_app_extension() {
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify %s
// REQUIRES: objc_interop
import blocks
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend -parse -verify -import-cf-types -I %S/Inputs/custom-modules %s
// REQUIRES: objc_interop
import CoreCooling
func assertUnmanaged<T: AnyObject>(t: Unmanaged<T>) {}
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify -I %S/Inputs %s
// XFAIL: linux
import cfuncs
func test_cfunc1(i: Int) {
+2 -1
View File
@@ -3,6 +3,7 @@
// RUN: rm -rf %t/clang-module-cache
// RUN: %target-swift-frontend -parse -verify -module-cache-path %t/clang-module-cache %s
// RUN: ls -lR %t/clang-module-cache | FileCheck %s
// CHECK: _Builtin_intrinsics{{.*}}.pcm
// REQUIRES: sdk
import _Builtin_intrinsics
+3
View File
@@ -4,6 +4,9 @@
// RUN: mkdir -p %t
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify -module-cache-path %t/clang-module-cache -I %S/Inputs %s
// RUN: ls -lR %t/clang-module-cache | FileCheck %s
// XFAIL: linux
// CHECK: cfuncs{{.*}}.pcm
import cfuncs
+3
View File
@@ -1,5 +1,8 @@
// RUN: %target-parse-verify-swift %clang-importer-sdk
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux
import ctypes
import CoreGraphics
import Foundation
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -enable-union-import -parse -verify %s
// XFAIL: linux
import ctypes
func useUnion(vec: GLKVector4) -> GLKVector4 {
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify %s
// XFAIL: linux
import cvars
func getPI() -> Float {
@@ -1,6 +1,8 @@
// RUN: not %target-swift-frontend -parse %s -F %S/Inputs/frameworks -Xcc -D -Xcc FOO 2> %t.err.txt
// RUN: FileCheck -input-file=%t.err.txt %s
// XFAIL: linux
import Module
// CHECK: Another.h:2:4: error: Module should have been built without -DFOO
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify %s
// XFAIL: linux
@exported import macros
func circle_area(radius: CDouble) -> CDouble {
@@ -2,6 +2,8 @@
// RUN: %S/../../utils/gyb %s -o %t/mapped-integers.swift
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify %t/mapped-integers.swift
// XFAIL: linux
import ctypes
func testUnsignedIntegers() {
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse %s -verify
// XFAIL: linux
import nullability;
func testSomeClass(sc: SomeClass, osc: SomeClass?) {
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -I %S/Inputs/custom-modules %s -verify
// REQUIRES: objc_interop
// Test the use of Objective-C categories on the value types that
// bridge to Objective-C class types.
import Foundation
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse -parse-as-library -verify %s
// REQUIRES: objc_interop
import Foundation
extension String {
+2
View File
@@ -1,5 +1,7 @@
// RUN: %target-swift-frontend %clang-importer-sdk -parse %s -verify
// REQUIRES: objc_interop
import ObjectiveC
func instanceMethod(b: B) {

Some files were not shown because too many files have changed in this diff Show More