Skip to content

Commit 83f27a8

Browse files
committed
Revert "Mark tests that don't pass on linux as XFAIL."
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95. Swift SVN r23577
1 parent 7ed843a commit 83f27a8

File tree

509 files changed

+23
-514
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

+23
-514
lines changed

test/1_stdlib/Algorithm.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-stdlib-swift
2-
// XFAIL: linux
32

43
import StdlibUnittest
54
import Swift

test/1_stdlib/Array.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54

test/1_stdlib/ArrayBridge.swift

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

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

2524
import Foundation
2625
import ArrayBridgeObjC

test/1_stdlib/ArrayCore.swift

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-stdlib-swift | FileCheck %s
13-
// XFAIL: linux
1413
import Swift
1514

1615
//===--- class Tracked ----------------------------------------------------===//

test/1_stdlib/ArrayNew.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
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
1110

1211
import Darwin
1312
import StdlibUnittest

test/1_stdlib/ArrayTraps.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
//
99
// CHECK: OK
1010
// CHECK: CRASHED: SIG{{ILL|TRAP}}
11-
// XFAIL: linux
1211

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

test/1_stdlib/BridgeNonVerbatim.swift

+1-1
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, linux
20+
// XFAIL: interpret
2121

2222
import Swift
2323
import SwiftShims

test/1_stdlib/BridgeStorage.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
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
2221

2322
import Swift
2423

test/1_stdlib/Bridgeable.swift

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

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

test/1_stdlib/Builtins.swift

+1-1
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, linux
15+
// XFAIL: interpret
1616

1717
import Swift
1818
import SwiftShims

test/1_stdlib/CGGeometry.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import CoreGraphics
54

test/1_stdlib/CastTraps.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
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
109

1110
import StdlibUnittest
1211
import Foundation

test/1_stdlib/Character.swift

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

44
import StdlibUnittest
55
import Swift

test/1_stdlib/CharacterTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

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

1312
import Darwin
1413

test/1_stdlib/Concatenate.swift

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-stdlib-swift
13-
// XFAIL: linux
1413

1514
import Swift
1615
import StdlibUnittest

test/1_stdlib/Dictionary.swift

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
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
1211

1312
import Darwin
1413
import StdlibUnittest

test/1_stdlib/DictionaryTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
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
1817

1918
// CHECK: OK
2019
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

test/1_stdlib/DictionaryUnchecked.swift

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

76
import StdlibUnittest
87

test/1_stdlib/Dispatch.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Dispatch
54
import Foundation

test/1_stdlib/DispatchTypes.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-swift-frontend -verify -parse %s
2-
// XFAIL: linux
32

43
import Dispatch
54

test/1_stdlib/FixedPointTruncationOverflow.swift

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
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
2524

2625
// CHECK: OK
2726
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Float.swift

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
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
1211

1312
import Darwin
1413

test/1_stdlib/FloatingPoint.swift

+1-1
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, linux
4+
// XFAIL: interpret
55

66
import Swift
77
import StdlibUnittest

test/1_stdlib/HeapBuffer.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-stdlib-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Swift
54

test/1_stdlib/Interval.swift

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

1515
import StdlibUnittest
1616

test/1_stdlib/IntervalTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
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
2322

2423
// CHECK: OK
2524
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Join.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
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
1716

1817
import StdlibUnittest
1918

test/1_stdlib/KVO.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54

test/1_stdlib/Lazy.swift

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

1515
import StdlibUnittest
1616

test/1_stdlib/ManagedBuffer.swift

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
// RUN: %target-run-simple-swift
13-
// XFAIL: linux
1413

1514
import StdlibUnittest
1615
import Foundation

test/1_stdlib/NSArrayAPI.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: linux
32

43
import StdlibUnittest
54
import Foundation

test/1_stdlib/NSObject.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54

test/1_stdlib/NSSetAPI.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: linux
32

43
import StdlibUnittest
54
import Foundation

test/1_stdlib/NSStringAPI.swift

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65

76
//
87
// Tests for the NSString APIs as exposed by String

test/1_stdlib/NSValueBridging.swift

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

1515
import StdlibUnittest
1616
import Foundation

test/1_stdlib/NewArray.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
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
1817

1918
var xCount = 0
2019
var xSerial = 0

test/1_stdlib/NewString.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-stdlib-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54
import Swift

test/1_stdlib/Nil.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54

test/1_stdlib/OptionalTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
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
1312

1413
// CHECK: OK
1514
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Range.swift

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

44
import StdlibUnittest
55

test/1_stdlib/RangeTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
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
2524

2625
// CHECK: OK
2726
// CHECK: CRASHED: SIG{{ILL|TRAP}}

test/1_stdlib/Reflection.swift

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65

76
import Foundation
87
import SpriteKit

test/1_stdlib/ReflectionHashing.swift

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

54
//
65
// This file contains reflection tests that depend on hash values.

test/1_stdlib/Runtime.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
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
43

54
import Swift
65
import StdlibUnittest

test/1_stdlib/Set.swift

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
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
1211

1312
import StdlibUnittest
1413
import Foundation

test/1_stdlib/SetTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
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
1918

2019
// CHECK: OK
2120
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

test/1_stdlib/Sliceable.swift

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

44
import StdlibUnittest
55

test/1_stdlib/Sort.swift.gyb

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
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
76

87
import StdlibUnittest
98

test/1_stdlib/SpriteKit.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift | FileCheck %s
2-
// XFAIL: linux
32

43
import Foundation
54
import SpriteKit

test/1_stdlib/StaticString.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// RUN: %target-run-simple-swift
2-
// XFAIL: linux
32

43
import StdlibUnittest
54

test/1_stdlib/Strideable.swift

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

1515
import StdlibUnittest
1616

test/1_stdlib/String.swift

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

44
import StdlibUnittest
55
import Foundation

test/1_stdlib/StringTraps.swift

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
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
1413

1514
// CHECK: OK
1615
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}

0 commit comments

Comments
 (0)