Skip to content

Commit 198402d

Browse files
committed
Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
1 parent 396eca7 commit 198402d

File tree

509 files changed

+514
-23
lines changed

Some content is hidden

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

509 files changed

+514
-23
lines changed

test/1_stdlib/Algorithm.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-stdlib-swift
2+
// XFAIL: linux
23

34
import StdlibUnittest
45
import Swift

test/1_stdlib/Array.swift

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

34
import Foundation
45

test/1_stdlib/ArrayBridge.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
// RUN: %target-run %t/ArrayBridge > %t.txt
2222
// RUN: FileCheck %s < %t.txt
23+
// XFAIL: linux
2324

2425
import Foundation
2526
import ArrayBridgeObjC

test/1_stdlib/ArrayCore.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-stdlib-swift | FileCheck %s
13+
// XFAIL: linux
1314
import Swift
1415

1516
//===--- class Tracked ----------------------------------------------------===//

test/1_stdlib/ArrayNew.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// RUN: xcrun -sdk %target-sdk-name clang++ -fobjc-arc -fobjc-abi-version=2 -arch %target-cpu %S/Inputs/SlurpFastEnumeration/SlurpFastEnumeration.m -c -o %t/SlurpFastEnumeration.o
88
// 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
99
// RUN: %S/../../utils/line-directive %t/main.swift -- %target-run %t/Array
10+
// XFAIL: linux
1011

1112
import Darwin
1213
import StdlibUnittest

test/1_stdlib/ArrayTraps.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
//
99
// CHECK: OK
1010
// CHECK: CRASHED: SIG{{ILL|TRAP}}
11+
// XFAIL: linux
1112

1213
// This file is gybbe'd twice, once to generate the test file, and
1314
// once to run the tests. The second time, the output is thrown away,

test/1_stdlib/BridgeNonVerbatim.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//
1818
//===----------------------------------------------------------------------===//
1919
// RUN: %target-run-stdlib-swift %s | FileCheck %s
20-
// XFAIL: interpret
20+
// XFAIL: interpret, linux
2121

2222
import Swift
2323
import SwiftShims

test/1_stdlib/BridgeStorage.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/out.swift
1919
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-build-swift -parse-stdlib -module-cache-path %t/clang-module-cache %t/out.swift -o %t/a.out
2020
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-run %t/a.out
21+
// XFAIL: linux
2122

2223
import Swift
2324

test/1_stdlib/Bridgeable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: interpret
2+
// XFAIL: interpret, linux
33

44
// CHECK: testing...
55
println("testing...")

test/1_stdlib/Builtins.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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-
// XFAIL: interpret
15+
// XFAIL: interpret, linux
1616

1717
import Swift
1818
import SwiftShims

test/1_stdlib/CGGeometry.swift

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

34
import CoreGraphics
45

test/1_stdlib/CastTraps.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
// FIXME: Casting.cpp has dozens of places to fail a cast. This test does not
88
// attempt to enumerate them all.
9+
// XFAIL: linux
910

1011
import StdlibUnittest
1112
import Foundation

test/1_stdlib/Character.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-stdlib-swift
2-
// XFAIL: interpret
2+
// XFAIL: interpret, linux
33

44
import StdlibUnittest
55
import Swift

test/1_stdlib/CharacterTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
// CHECK: OK
1010
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
11+
// XFAIL: linux
1112

1213
import Darwin
1314

test/1_stdlib/Concatenate.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-stdlib-swift
13+
// XFAIL: linux
1314

1415
import Swift
1516
import StdlibUnittest

test/1_stdlib/Dictionary.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// RUN: %target-build-swift %S/Inputs/DictionaryKeyValueTypes.swift %t/main.swift -I %S/Inputs/SlurpFastEnumeration/ -Xlinker %t/SlurpFastEnumeration.o -o %t/Dictionary -Xfrontend -disable-access-control
99
//
1010
// RUN: %target-run %t/Dictionary
11+
// XFAIL: linux
1112

1213
import Darwin
1314
import StdlibUnittest

test/1_stdlib/DictionaryTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// RUN: %target-run %t/a.out BridgedKeyIsNotNSCopyable2 2>&1 | FileCheck %s -check-prefix=CHECK
1515
// RUN: %target-run %t/a.out Downcast1 2>&1 | FileCheck %s -check-prefix=CHECK
1616
// RUN: %target-run %t/a.out Downcast2 2>&1 | FileCheck %s -check-prefix=CHECK
17+
// XFAIL: linux
1718

1819
// CHECK: OK
1920
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

test/1_stdlib/DictionaryUnchecked.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-build-swift %s -o %t/a.out -Ounchecked
33
//
44
// RUN: %target-run %t/a.out
5+
// XFAIL: linux
56

67
import StdlibUnittest
78

test/1_stdlib/Dispatch.swift

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

34
import Dispatch
45
import Foundation

test/1_stdlib/DispatchTypes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-swift-frontend -verify -parse %s
2+
// XFAIL: linux
23

34
import Dispatch
45

test/1_stdlib/FixedPointTruncationOverflow.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// RUN: %target-run %t/a.out_Release 6 2>&1 | FileCheck %s -check-prefix=CHECK
2222
// RUN: %target-run %t/a.out_Release 7 2>&1 | FileCheck %s -check-prefix=CHECK
2323
// RUN: %target-run %t/a.out_Release 8 2>&1 | FileCheck %s -check-prefix=CHECK
24+
// XFAIL: linux
2425

2526
// CHECK: OK
2627
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Float.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// RUN: echo "typealias TestFloat = Double" > %t/double_type.swift
99
// RUN: %target-build-swift %t/main.swift %t/double_type.swift -o %t/double.out
1010
// RUN: %target-run %t/double.out | FileCheck %s
11+
// XFAIL: linux
1112

1213
import Darwin
1314

test/1_stdlib/FloatingPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: rm -rf %t && mkdir -p %t
22
// RUN: %target-build-swift %s -parse-stdlib -Xfrontend -disable-access-control -o %t/FloatingPoint
33
// RUN: %target-run %t/FloatingPoint
4-
// XFAIL: interpret
4+
// XFAIL: interpret, linux
55

66
import Swift
77
import StdlibUnittest

test/1_stdlib/HeapBuffer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-stdlib-swift | FileCheck %s
2+
// XFAIL: linux
23

34
import Swift
45

test/1_stdlib/Interval.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13-
// XFAIL: interpret
13+
// XFAIL: interpret, linux
1414

1515
import StdlibUnittest
1616

test/1_stdlib/IntervalTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// RUN: %target-run %t/a.out_Debug Closed 2>&1 | FileCheck %s
2020
// RUN: %target-run %t/a.out_Release HalfOpen 2>&1 | FileCheck %s
2121
// RUN: %target-run %t/a.out_Release Closed 2>&1 | FileCheck %s
22+
// XFAIL: linux
2223

2324
// CHECK: OK
2425
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Join.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/Join.swift
1414
// RUN: %S/../../utils/line-directive %t/Join.swift -- %target-build-swift -module-cache-path %t/clang-module-cache %t/Join.swift -o %t/a.out
1515
// RUN: %S/../../utils/line-directive %t/Join.swift -- %target-run %t/a.out
16+
// XFAIL: linux
1617

1718
import StdlibUnittest
1819

test/1_stdlib/KVO.swift

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

34
import Foundation
45

test/1_stdlib/Lazy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13-
// XFAIL: interpret
13+
// XFAIL: interpret, linux
1414

1515
import StdlibUnittest
1616

test/1_stdlib/ManagedBuffer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13+
// XFAIL: linux
1314

1415
import StdlibUnittest
1516
import Foundation

test/1_stdlib/NSArrayAPI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-simple-swift
2+
// XFAIL: linux
23

34
import StdlibUnittest
45
import Foundation

test/1_stdlib/NSObject.swift

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

34
import Foundation
45

test/1_stdlib/NSSetAPI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-simple-swift
2+
// XFAIL: linux
23

34
import StdlibUnittest
45
import Foundation

test/1_stdlib/NSStringAPI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: mkdir -p %t
33
// RUN: %target-build-swift -module-cache-path %t/clang-module-cache %s -o %t/a.out
44
// RUN: %target-run %t/a.out
5+
// XFAIL: linux
56

67
//
78
// Tests for the NSString APIs as exposed by String

test/1_stdlib/NSValueBridging.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13-
// XFAIL: interpret
13+
// XFAIL: interpret, linux
1414

1515
import StdlibUnittest
1616
import Foundation

test/1_stdlib/NewArray.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/NewArray.swift
1515
// RUN: %S/../../utils/line-directive %t/NewArray.swift -- %target-build-swift -module-cache-path %t/clang-module-cache %t/NewArray.swift -o %t/a.out -Xfrontend -disable-access-control
1616
// RUN: %target-run %t/a.out 2>&1 | %S/../../utils/line-directive %t/NewArray.swift -- FileCheck %t/NewArray.swift
17+
// XFAIL: linux
1718

1819
var xCount = 0
1920
var xSerial = 0

test/1_stdlib/NewString.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-stdlib-swift | FileCheck %s
2+
// XFAIL: linux
23

34
import Foundation
45
import Swift

test/1_stdlib/Nil.swift

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

34
import Foundation
45

test/1_stdlib/OptionalTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// RUN: %target-run %t/OptionalTraps_Debug UnwrapNone1 2>&1 | FileCheck %s -check-prefix=CHECK
1010
// RUN: %target-run %t/OptionalTraps_Release UnwrapNone1 2>&1 | FileCheck %s -check-prefix=CHECK
1111
// RUN: %target-run %t/OptionalTraps_Fast UnwrapNoneFast1 2>&1 | FileCheck %s -check-prefix=CHECK_UNWRAP_NONE_1_FAST
12+
// XFAIL: linux
1213

1314
// CHECK: OK
1415
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Range.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: interpret
2+
// XFAIL: interpret, linux
33

44
import StdlibUnittest
55

test/1_stdlib/RangeTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// RUN: %target-run %t/a.out_Release HalfOpen 2>&1 | FileCheck %s
2222
// RUN: %target-run %t/a.out_Release Closed 2>&1 | FileCheck %s
2323
// RUN: %target-run %t/a.out_Release OutOfRange 2>&1 | FileCheck %s
24+
// XFAIL: linux
2425

2526
// CHECK: OK
2627
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Reflection.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-build-swift %s -module-name Reflection -o %t/a.out
33
// RUN: %S/timeout.sh 360 %target-run %t/a.out %S/Inputs/shuffle.jpg | FileCheck %s
44
// FIXME: timeout wrapper is necessary because the ASan test runs for hours
5+
// XFAIL: linux
56

67
import Foundation
78
import SpriteKit

test/1_stdlib/ReflectionHashing.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-build-swift -module-name a %s -o %t.out
22
// RUN: %target-run %t.out
3+
// XFAIL: linux
34

45
//
56
// This file contains reflection tests that depend on hash values.

test/1_stdlib/Runtime.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control -module-name a %s -o %t.out
22
// RUN: %target-run %t.out
3+
// XFAIL: linux
34

45
import Swift
56
import StdlibUnittest

test/1_stdlib/Set.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// RUN: %target-build-swift %S/Inputs/DictionaryKeyValueTypes.swift %t/main.swift -I %S/Inputs/SlurpFastEnumeration/ -Xlinker %t/SlurpFastEnumeration.o -o %t/Set -Xfrontend -disable-access-control
99
//
1010
// RUN: %target-run %t/Set
11+
// XFAIL: linux
1112

1213
import StdlibUnittest
1314
import Foundation

test/1_stdlib/SetTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// R/UN: %target-run %t/a.out BridgedKeyIsNotNSCopyable1 2>&1 | FileCheck %s -check-prefix=CHECK-UNRECOGNIZED-SELECTOR
1616
// R/UN: %target-run %t/a.out Downcast1 2>&1 | FileCheck %s -check-prefix=CHECK
1717
// R/UN: %target-run %t/a.out Downcast2 2>&1 | FileCheck %s -check-prefix=CHECK
18+
// XFAIL: linux
1819

1920
// CHECK: OK
2021
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

test/1_stdlib/Sliceable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: interpret
2+
// XFAIL: interpret, linux
33

44
import StdlibUnittest
55

test/1_stdlib/Sort.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %S/../../utils/gyb %s -o %t.swift
44
// RUN: %S/../../utils/line-directive %t.swift -- %target-build-swift -Xfrontend -disable-access-control %t.swift -o %t.out
55
// RUN: %S/../../utils/line-directive %t.swift -- %target-run %t.out
6+
// XFAIL: linux
67

78
import StdlibUnittest
89

test/1_stdlib/SpriteKit.swift

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

34
import Foundation
45
import SpriteKit

test/1_stdlib/StaticString.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-run-simple-swift
2+
// XFAIL: linux
23

34
import StdlibUnittest
45

test/1_stdlib/Strideable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13-
// XFAIL: interpret
13+
// XFAIL: interpret, linux
1414

1515
import StdlibUnittest
1616

test/1_stdlib/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: interpret
2+
// XFAIL: interpret, linux
33

44
import StdlibUnittest
55
import Foundation

test/1_stdlib/StringTraps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// RUN: %target-run %t/a.out StringUTF8ViewSubscriptEndIndex 2>&1 | FileCheck %s -check-prefix=CHECK
1111
// RUN: %target-run %t/a.out StringUTF16ViewSubscriptDecrementedStartIndex 2>&1 | FileCheck %s -check-prefix=CHECK
1212
// RUN: %target-run %t/a.out StringUTF16ViewSubscriptEndIndex 2>&1 | FileCheck %s -check-prefix=CHECK
13+
// XFAIL: linux
1314

1415
// CHECK: OK
1516
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

0 commit comments

Comments
 (0)