Skip to content

Commit 83b4384

Browse files
committed
Update test flags for linux failures and support.
Also removed the sdk 'feature' in favour of the more specific objc_interop. Swift SVN r24856
1 parent fb9bb13 commit 83b4384

File tree

371 files changed

+709
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+709
-25
lines changed

test/1_stdlib/Algorithm.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-run-stdlib-swift
22

3+
// XFAIL: linux
4+
35
import StdlibUnittest
46
import Swift
57

test/1_stdlib/Array.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
22

3+
// XFAIL: linux
4+
35
import Foundation
46

57
println("testing...")

test/1_stdlib/ArrayBridge.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
// RUN: %target-run %t/ArrayBridge > %t.txt
2222
// RUN: FileCheck %s < %t.txt
2323

24+
// XFAIL: linux
25+
2426
import Foundation
2527
import ArrayBridgeObjC
2628

test/1_stdlib/ArrayCore.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-stdlib-swift | FileCheck %s
13+
14+
// XFAIL: linux
15+
1316
import Swift
1417

1518
//===--- class Tracked ----------------------------------------------------===//

test/1_stdlib/ArrayNew.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
// 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
1212
// RUN: %S/../../utils/line-directive %t/main.swift -- %target-run %t/Array
1313

14+
// XFAIL: linux
15+
1416
import Darwin
1517
import StdlibUnittest
1618
import Foundation

test/1_stdlib/ArrayTraps.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// CHECK: OK
1010
// CHECK: CRASHED: SIG{{ILL|TRAP}}
1111

12+
// XFAIL: linux
13+
1214
// This file is gybbe'd twice, once to generate the test file, and
1315
// once to run the tests. The second time, the output is thrown away,
1416
// but the list of tests is used to invoke the test executable

test/1_stdlib/BridgeNonVerbatim.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
//
1818
//===----------------------------------------------------------------------===//
1919
// RUN: %target-run-stdlib-swift %s | FileCheck %s
20+
//
2021
// XFAIL: interpret
22+
// REQUIRES: objc_interop
2123

2224
import Swift
2325
import SwiftShims

test/1_stdlib/BridgeStorage.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-build-swift -parse-stdlib %t/out.swift -o %t/a.out
2020
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-run %t/a.out
2121

22+
// REQUIRES: objc_interop
23+
2224
import Swift
2325

2426
//===--- Code destined for stdlib -----------------------------------------===//

test/1_stdlib/Bridgeable.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2+
23
// XFAIL: interpret
4+
// REQUIRES: objc_interop
35

46
// CHECK: testing...
57
println("testing...")

test/1_stdlib/Builtins.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
// RUN: rm -rf %t && mkdir -p %t
1313
// RUN: %target-build-swift %s -parse-stdlib -Xfrontend -disable-access-control -o %t/Builtins
1414
// RUN: %target-run %t/Builtins
15+
1516
// XFAIL: interpret
17+
// XFAIL: linux
1618

1719
import Swift
1820
import SwiftShims

0 commit comments

Comments
 (0)