Skip to content

Commit 42d2f9d

Browse files
authored
Merge pull request #32308 from 3405691582/Test_OpenBSD_XfailAndRequired
[test] Mark XFAIL tests for OpenBSD.
2 parents ca26d57 + 7b431b4 commit 42d2f9d

19 files changed

+20
-10
lines changed

test/ClangImporter/availability_returns_twice.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// In Android jmp_buf is int[16], which doesn't convert to &Int (SR-9136)
44
// XFAIL: OS=linux-androideabi
55
// XFAIL: OS=linux-android
6+
// XFAIL: OS=openbsd
67

78
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
89
import Darwin

test/Driver/Dependencies/only-skip-once.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: linux
1+
// XFAIL: linux, openbsd
22

33
// RUN: %empty-directory(%t)
44
// RUN: cp -r %S/Inputs/only-skip-once/* %t

test/Driver/PrivateDependencies/only-skip-once.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: linux
1+
// XFAIL: linux, openbsd
22

33
// RUN: %empty-directory(%t)
44
// RUN: cp -r %S/Inputs/only-skip-once/* %t

test/Driver/parseable_output.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %swiftc_driver_plain -emit-executable %s -o %t.out -emit-module -emit-module-path %t.swiftmodule -emit-objc-header-path %t.h -serialize-diagnostics -emit-dependencies -parseable-output -driver-skip-execution 2>&1 | %FileCheck %s
22

3-
// XFAIL: freebsd, linux
3+
// XFAIL: freebsd, openbsd, linux
44

55
// CHECK: {{[1-9][0-9]*}}
66
// CHECK-NEXT: {

test/Driver/parseable_output_unicode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: cat "%S/Inputs/unicode.txt" >> %t.rsp
33
// RUN: %swiftc_driver_plain -emit-executable @%t.rsp -o %t.out -emit-module -emit-module-path %t.swiftmodule -emit-objc-header-path %t.h -serialize-diagnostics -emit-dependencies -parseable-output -driver-skip-execution 2>&1 | %FileCheck %s
44

5-
// XFAIL: freebsd, linux
5+
// XFAIL: freebsd, openbsd, linux
66

77
// CHECK: {{[1-9][0-9]*}}
88
// CHECK-NEXT: {

test/Driver/sdk-apple.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: freebsd, linux, windows
1+
// XFAIL: freebsd, openbsd, linux, windows
22

33
// Test SDK detection for immediate mode.
44
// RUN: %empty-directory(%t)

test/Frontend/embed-bitcode.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// UNSUPPORTED: OS=linux-gnu
99
// UNSUPPORTED: OS=linux-gnueabihf
1010
// UNSUPPORTED: OS=freebsd
11+
// UNSUPPORTED: OS=openbsd
1112
// UNSUPPORTED: OS=windows-msvc
1213

1314
// MARKER: Contents of (__LLVM,__bitcode) section

test/IRGen/abitypes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -I %S/Inputs/abi %s -emit-ir -enable-objc-interop | %FileCheck -check-prefix=%target-cpu-%target-os %s
22

33
// FIXME: rdar://problem/19648117 Needs splitting objc parts out
4-
// XFAIL: linux, windows
4+
// XFAIL: linux, windows, openbsd
55

66
import gadget
77
import Foundation

test/IRGen/address_sanitizer_recover.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: asan_runtime
12
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-recover=address %s | %FileCheck %s -check-prefix=ASAN_RECOVER
23
// RUN: %target-swift-frontend -emit-ir -sanitize=address %s | %FileCheck %s -check-prefix=ASAN_NO_RECOVER
34
// RUN: %target-swift-frontend -emit-ir -sanitize-recover=address %s | %FileCheck %s -check-prefix=NO_ASAN_RECOVER

test/IRGen/asan-attributes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: asan_runtime
12
// This test verifies that we add the function attributes used by ASan.
23

34
// RUN: %target-swift-frontend -emit-ir -sanitize=address %s | %FileCheck %s -check-prefix=ASAN

test/IRGen/module_hash.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: fuzzer_runtime
12
// RUN: %empty-directory(%t)
23

34

test/IRGen/sanitize_coverage.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: asan_runtime
12
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=func %s | %FileCheck %s -check-prefix=SANCOV
23
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=bb %s | %FileCheck %s -check-prefix=SANCOV
34
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=edge %s | %FileCheck %s -check-prefix=SANCOV
@@ -10,7 +11,7 @@
1011

1112
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
1213
import Darwin
13-
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
14+
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
1415
import Glibc
1516
#elseif os(Windows)
1617
import MSVCRT

test/IRGen/tsan-attributes.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: tsan_runtime
12
// This test verifies that we add the function attributes used by TSan.
23

34
// RUN: %target-swift-frontend -emit-ir -sanitize=thread %s | %FileCheck %s -check-prefix=TSAN

test/IRGen/tsan_coroutines.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: tsan_runtime
12
// This test case used to crash when tsan ran before co-routine lowering.
23
// RUN: %target-swift-frontend -emit-ir -sanitize=thread %s | %FileCheck %s
34

test/Profiler/instrprof_tsan.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: tsan_runtime
12
// RUN: %target-swift-frontend -emit-ir -profile-generate -sanitize=thread %s | %FileCheck %s
23

34
// TSan is only supported on 64 bit.

test/Prototypes/CollectionTransformers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ import Darwin
200200
import Dispatch
201201

202202
// FIXME: port to Linux.
203-
// XFAIL: linux, windows
203+
// XFAIL: linux, windows, openbsd
204204

205205
// A wrapper for pthread_t with platform-independent interface.
206206
public struct _stdlib_pthread_t : Equatable, Hashable {

test/SILGen/tsan_instrumentation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: tsan_runtime
12
// RUN: %target-swift-emit-silgen -sanitize=thread %s | %FileCheck %s
23

34
// TSan is only supported on 64 bit.

test/stdlib/simd.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: executable_test
33

44
// FIXME: No simd module on linux rdar://problem/20795411
5-
// XFAIL: linux, windows
5+
// XFAIL: linux, windows, openbsd
66

77
import simd
88
import StdlibUnittest

test/stdlib/simd_diagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %target-typecheck-verify-swift
22

33
// FIXME: No simd module on linux rdar://problem/20795411
4-
// XFAIL: linux, windows
4+
// XFAIL: linux, windows, openbsd
55

66
import simd
77

0 commit comments

Comments
 (0)