Skip to content

Commit

Permalink
Mark tests that don't pass on linux as XFAIL.
Browse files Browse the repository at this point in the history
Swift SVN r23573
  • Loading branch information
stormbrew committed Nov 24, 2014
1 parent 396eca7 commit 198402d
Show file tree
Hide file tree
Showing 509 changed files with 514 additions and 23 deletions.
1 change: 1 addition & 0 deletions test/1_stdlib/Algorithm.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-stdlib-swift
// XFAIL: linux

import StdlibUnittest
import Swift
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Array.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Foundation

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ArrayBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

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

import Foundation
import ArrayBridgeObjC
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ArrayCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux
import Swift

//===--- class Tracked ----------------------------------------------------===//
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ArrayNew.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// 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
// 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
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ArrayTraps.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//
// 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,
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/BridgeNonVerbatim.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift %s | FileCheck %s
// XFAIL: interpret
// XFAIL: interpret, linux

import Swift
import SwiftShims
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/BridgeStorage.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/out.swift
// 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
// RUN: %S/../../utils/line-directive %t/out.swift -- %target-run %t/a.out
// XFAIL: linux

import Swift

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Bridgeable.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: interpret
// XFAIL: interpret, linux

// CHECK: testing...
println("testing...")
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Builtins.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// 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: interpret, linux

import Swift
import SwiftShims
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/CGGeometry.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import CoreGraphics

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/CastTraps.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

// 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
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Character.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-stdlib-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest
import Swift
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/CharacterTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
// XFAIL: linux

import Darwin

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Concatenate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-stdlib-swift
// XFAIL: linux

import Swift
import StdlibUnittest
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Dictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// 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
//
// RUN: %target-run %t/Dictionary
// XFAIL: linux

import Darwin
import StdlibUnittest
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/DictionaryTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// RUN: %target-run %t/a.out BridgedKeyIsNotNSCopyable2 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/a.out Downcast1 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/a.out Downcast2 2>&1 | FileCheck %s -check-prefix=CHECK
// XFAIL: linux

// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/DictionaryUnchecked.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: %target-build-swift %s -o %t/a.out -Ounchecked
//
// RUN: %target-run %t/a.out
// XFAIL: linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Dispatch.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Dispatch
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/DispatchTypes.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-swift-frontend -verify -parse %s
// XFAIL: linux

import Dispatch

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/FixedPointTruncationOverflow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// RUN: %target-run %t/a.out_Release 6 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/a.out_Release 7 2>&1 | FileCheck %s -check-prefix=CHECK
// RUN: %target-run %t/a.out_Release 8 2>&1 | FileCheck %s -check-prefix=CHECK
// XFAIL: linux

// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP}}
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Float.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// RUN: echo "typealias TestFloat = Double" > %t/double_type.swift
// 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

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/FloatingPoint.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 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: interpret, linux

import Swift
import StdlibUnittest
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/HeapBuffer.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux

import Swift

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Interval.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/IntervalTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// RUN: %target-run %t/a.out_Debug Closed 2>&1 | FileCheck %s
// 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}}
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Join.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/Join.swift
// 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
// RUN: %S/../../utils/line-directive %t/Join.swift -- %target-run %t/a.out
// XFAIL: linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/KVO.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Foundation

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Lazy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ManagedBuffer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NSArrayAPI.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NSObject.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Foundation

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NSSetAPI.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NSStringAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: mkdir -p %t
// RUN: %target-build-swift -module-cache-path %t/clang-module-cache %s -o %t/a.out
// RUN: %target-run %t/a.out
// XFAIL: linux

//
// Tests for the NSString APIs as exposed by String
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/NSValueBridging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NewArray.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// RUN: rm -rf %t && mkdir -p %t && %S/../../utils/gyb %s -o %t/NewArray.swift
// 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
// 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
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/NewString.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-stdlib-swift | FileCheck %s
// XFAIL: linux

import Foundation
import Swift
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Nil.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Foundation

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/OptionalTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// RUN: %target-run %t/OptionalTraps_Debug UnwrapNone1 2>&1 | FileCheck %s -check-prefix=CHECK
// 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}}
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Range.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/RangeTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// RUN: %target-run %t/a.out_Release HalfOpen 2>&1 | FileCheck %s
// 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}}
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Reflection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// RUN: %target-build-swift %s -module-name Reflection -o %t/a.out
// 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
// XFAIL: linux

import Foundation
import SpriteKit
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/ReflectionHashing.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// 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.
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Runtime.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// 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
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Set.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// 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
//
// RUN: %target-run %t/Set
// XFAIL: linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/SetTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// R/UN: %target-run %t/a.out BridgedKeyIsNotNSCopyable1 2>&1 | FileCheck %s -check-prefix=CHECK-UNRECOGNIZED-SELECTOR
// R/UN: %target-run %t/a.out Downcast1 2>&1 | FileCheck %s -check-prefix=CHECK
// R/UN: %target-run %t/a.out Downcast2 2>&1 | FileCheck %s -check-prefix=CHECK
// XFAIL: linux

// CHECK: OK
// CHECK: CRASHED: SIG{{ILL|TRAP|ABRT}}
Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Sliceable.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/Sort.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: %S/../../utils/gyb %s -o %t.swift
// 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

Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/SpriteKit.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift | FileCheck %s
// XFAIL: linux

import Foundation
import SpriteKit
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/StaticString.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: linux

import StdlibUnittest

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/Strideable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest

Expand Down
2 changes: 1 addition & 1 deletion test/1_stdlib/String.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// RUN: %target-run-simple-swift
// XFAIL: interpret
// XFAIL: interpret, linux

import StdlibUnittest
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/1_stdlib/StringTraps.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// RUN: %target-run %t/a.out StringUTF8ViewSubscriptEndIndex 2>&1 | FileCheck %s -check-prefix=CHECK
// 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}}
Expand Down
Loading

0 comments on commit 198402d

Please sign in to comment.