Skip to content

Commit 7346a97

Browse files
committed
Update test and validation-test flags for linux.
Swift SVN r25506
1 parent 9dca554 commit 7346a97

File tree

65 files changed

+134
-0
lines changed

Some content is hidden

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

65 files changed

+134
-0
lines changed

test/1_stdlib/ImplicitlyUnwrappedOptional.swift

+2
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
var x : Int! = .None
46
if x != nil {
57
println("x is non-empty!")

test/1_stdlib/Optional.swift

+2
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
var x : Optional<Int> = nil
46
if x != nil {
57
println("x is non-empty!")

test/SILPasses/predictable_memopt_unreferenceable_storage.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-sil %s | FileCheck %s
22

3+
// XFAIL: linux
4+
35
import ctypes
46
struct S {
57
let a: Int

validation-test/compiler_crashers/0048-no-stacktrace.random.runtime.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// https://twitter.com/nuoji/status/507991706294558721

validation-test/compiler_crashers/0054-swift-substitutedtype-get.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not --crash %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// http://www.openradar.me/18349699

validation-test/compiler_crashers/0241-swift-lowering-typeconverter-getconstantinfo.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/fluidsonic (Marc Knaup)
57

validation-test/compiler_crashers/0271-swift-irgen-irgenfunction-emittypemetadataref.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// https://devforums.apple.com/message/1051132

validation-test/compiler_crashers/0324-swift-shortcircuit-isequal.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-silgen
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by http://github.com/martijnwalraven (Martijn Walraven)
57
// rdar://18662915

validation-test/compiler_crashers/0326-llvm-constantexpr-getgetelementptr.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// rdar://18633758

validation-test/compiler_crashers/0334-swift-astvisitor.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not --crash %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/0433-no-stacktrace.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/0476-swift-typechecker-validatedecl.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not --crash %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/0650-szone-malloc-should-clear.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/1338-undefined-symbols-for-architecture.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// rdar://18706056

validation-test/compiler_crashers/1339-phi-node-operands-not-same-as-result.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// http://www.openradar.me/18756378

validation-test/compiler_crashers/1340-llvm-getelementptrinst-getindexedtype.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/fluidsonic (Marc Knaup)
57

validation-test/compiler_crashers/1375-clang-declvisitor-base-clang-declvisitor-make-const-ptr.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/1646-super-inside-an-autoclosure.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-silgen
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57

validation-test/compiler_crashers/1700-swift-modulefile-gettype.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/1821-llvm-foldingset-swift-tupletype-nodeequals.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not --crash %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/1916-swift-nominaltypedecl-getdeclaredtypeincontext.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
// REQUIRES: objc_interop
24
// XFAIL: asan
35

46
// Distributed under the terms of the MIT license

validation-test/compiler_crashers/1984-swift-protocoltype-canonicalizeprotocols.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-swift-frontend %s -parse
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
57
// Test case found by fuzzing

validation-test/compiler_crashers/2257-swift-any-from-nsmutablearray.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -emit-ir
22

3+
// REQUIRES: objc_interop
4+
35
// Distributed under the terms of the MIT license
46
// Test case submitted to project by https://github.com/mattdaw (Matt Daw)
57

validation-test/parser/Inputs/gen_parse_stdlib_tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ for id in $(seq 0 $process_id_max); do
1414
// RUN: rm -f %t.*
1515
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
1616
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=$process_count -ast-verifier-process-id=$id > /dev/null
17+
18+
// XFAIL: linux
1719
__EOF__
1820

1921
done

validation-test/parser/parse_stdlib_0.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=0 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_1.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=1 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_10.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=10 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_11.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=11 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_12.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=12 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_13.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=13 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_14.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=14 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_15.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=15 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_16.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=16 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_2.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=2 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_3.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=3 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_4.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=4 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_5.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=5 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_6.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=6 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_7.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=7 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_8.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=8 > /dev/null
9+
10+
// XFAIL: linux

validation-test/parser/parse_stdlib_9.sil

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
// RUN: rm -f %t.*
77
// RUN: %target-sil-opt -sil-disable-ast-dump -verify %platform-module-dir/Swift.swiftmodule -module-name=Swift -o %t.sil
88
// RUN: %target-sil-opt %t.sil -ast-verifier-process-count=17 -ast-verifier-process-id=9 > /dev/null
9+
10+
// XFAIL: linux

validation-test/radar/r17963339.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: %target-run-simple-swift
22

3+
// XFAIL: linux
34

45
protocol MyClassDelegate: class {
56
func didFindCureForCancer()

validation-test/stdlib/ArrayBridging.swift

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-build-swift -Xfrontend -disable-access-control -I %S/Inputs/SlurpFastEnumeration/ %t/main.swift %S/Inputs/DictionaryKeyValueTypes.swift -Xlinker %t/SlurpFastEnumeration.o -o %t.out -O
1010
// RUN: %target-run %t.out
1111

12+
// REQUIRES: objc_interop
13+
1214
import StdlibUnittest
1315
import Foundation
1416
import SlurpFastEnumeration

validation-test/stdlib/Assert.swift

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// RUN: %target-run %t/Assert_Release
99
// RUN: %target-run %t/Assert_Unchecked
1010

11+
// XFAIL: linux
12+
1113
import StdlibUnittest
1214

1315
//===---

validation-test/stdlib/AtomicInt.swift

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// RUN: %target-build-swift -Xfrontend -disable-access-control -module-name a %s -o %t.out -O
55
// RUN: %target-run %t.out
66

7+
// XFAIL: linux
8+
79
import Swift
810
import StdlibUnittest
911

validation-test/stdlib/CoreAudio.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-run-simple-swift
22

3+
// REQUIRES: objc_interop
4+
35
import StdlibUnittest
46
import CoreAudio
57

validation-test/stdlib/DictionaryBridging.swift

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// RUN: %target-build-swift -Xfrontend -disable-access-control -I %S/Inputs/SlurpFastEnumeration/ %t/main.swift %S/Inputs/DictionaryKeyValueTypes.swift -Xlinker %t/SlurpFastEnumeration.o -o %t.out -O
1010
// RUN: %target-run %t.out
1111

12+
// REQUIRES: objc_interop
13+
1214
import StdlibUnittest
1315
import Foundation
1416
import SlurpFastEnumeration

validation-test/stdlib/FixedPoint.swift.gyb

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %S/../../utils/line-directive %t/FixedPoint.swift -- %target-build-swift %t/FixedPoint.swift -o %t/a.out
33
// RUN: %S/../../utils/line-directive %t/FixedPoint.swift -- %target-run %t/a.out
44

5+
// XFAIL: linux
6+
57
import StdlibUnittest
68

79
var FixedPoint = TestSuite("FixedPoint")

validation-test/stdlib/FixedPointArithmeticTraps.swift.gyb

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// RUN: %S/../../utils/line-directive %t/FixedPointArithmeticTraps.swift -- %target-run %t/a.out_Debug
88
// RUN: %S/../../utils/line-directive %t/FixedPointArithmeticTraps.swift -- %target-run %t/a.out_Release
99

10+
// XFAIL: linux
11+
1012
import StdlibUnittest
1113

1214
// Note: in this file, we need to go through opaque functions to load

validation-test/stdlib/FloatingPointConversionTraps.swift.gyb

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// RUN: %S/../../utils/line-directive %t/FloatingPointConversionTraps.swift -- %target-run %t/a.out_Debug
88
// RUN: %S/../../utils/line-directive %t/FloatingPointConversionTraps.swift -- %target-run %t/a.out_Release
99

10+
// XFAIL: linux
11+
1012
import StdlibUnittest
1113

1214
%{

validation-test/stdlib/Hashing.swift

+2
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 Swift
46
import StdlibUnittest
57

validation-test/stdlib/HashingAvalanche.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-build-swift -Xfrontend -disable-access-control -module-name a %s -o %t.out -O
22
// RUN: %target-run %t.out
33

4+
// XFAIL: linux
5+
46
import StdlibUnittest
57

68
var HashingTestSuite = TestSuite("Hashing")

validation-test/stdlib/HashingPrototype.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: %target-run-simple-swift
2+
3+
// REQUIRES: objc_interop
4+
25
/*
36

47
<rdar://problem/14196462> Hashing in the standard library

0 commit comments

Comments
 (0)