Skip to content

[test] Mark XFAIL tests for OpenBSD. #32308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/ClangImporter/availability_returns_twice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// In Android jmp_buf is int[16], which doesn't convert to &Int (SR-9136)
// XFAIL: OS=linux-androideabi
// XFAIL: OS=linux-android
// XFAIL: OS=openbsd

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
import Darwin
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/Dependencies/only-skip-once.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// XFAIL: linux
// XFAIL: linux, openbsd

// RUN: %empty-directory(%t)
// RUN: cp -r %S/Inputs/only-skip-once/* %t
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/PrivateDependencies/only-skip-once.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// XFAIL: linux
// XFAIL: linux, openbsd

// RUN: %empty-directory(%t)
// RUN: cp -r %S/Inputs/only-skip-once/* %t
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/parseable_output.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 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

// XFAIL: freebsd, linux
// XFAIL: freebsd, openbsd, linux

// CHECK: {{[1-9][0-9]*}}
// CHECK-NEXT: {
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/parseable_output_unicode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// RUN: cat "%S/Inputs/unicode.txt" >> %t.rsp
// 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

// XFAIL: freebsd, linux
// XFAIL: freebsd, openbsd, linux

// CHECK: {{[1-9][0-9]*}}
// CHECK-NEXT: {
Expand Down
2 changes: 1 addition & 1 deletion test/Driver/sdk-apple.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// XFAIL: freebsd, linux, windows
// XFAIL: freebsd, openbsd, linux, windows

// Test SDK detection for immediate mode.
// RUN: %empty-directory(%t)
Expand Down
1 change: 1 addition & 0 deletions test/Frontend/embed-bitcode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// UNSUPPORTED: OS=linux-gnu
// UNSUPPORTED: OS=linux-gnueabihf
// UNSUPPORTED: OS=freebsd
// UNSUPPORTED: OS=openbsd
// UNSUPPORTED: OS=windows-msvc

// MARKER: Contents of (__LLVM,__bitcode) section
Expand Down
2 changes: 1 addition & 1 deletion test/IRGen/abitypes.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 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

// FIXME: rdar://problem/19648117 Needs splitting objc parts out
// XFAIL: linux, windows
// XFAIL: linux, windows, openbsd

import gadget
import Foundation
Expand Down
1 change: 1 addition & 0 deletions test/IRGen/address_sanitizer_recover.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: asan_runtime
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-recover=address %s | %FileCheck %s -check-prefix=ASAN_RECOVER
// RUN: %target-swift-frontend -emit-ir -sanitize=address %s | %FileCheck %s -check-prefix=ASAN_NO_RECOVER
// RUN: %target-swift-frontend -emit-ir -sanitize-recover=address %s | %FileCheck %s -check-prefix=NO_ASAN_RECOVER
Expand Down
1 change: 1 addition & 0 deletions test/IRGen/asan-attributes.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: asan_runtime
// This test verifies that we add the function attributes used by ASan.

// RUN: %target-swift-frontend -emit-ir -sanitize=address %s | %FileCheck %s -check-prefix=ASAN
Expand Down
1 change: 1 addition & 0 deletions test/IRGen/module_hash.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: fuzzer_runtime
// RUN: %empty-directory(%t)


Expand Down
3 changes: 2 additions & 1 deletion test/IRGen/sanitize_coverage.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: asan_runtime
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=func %s | %FileCheck %s -check-prefix=SANCOV
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=bb %s | %FileCheck %s -check-prefix=SANCOV
// RUN: %target-swift-frontend -emit-ir -sanitize=address -sanitize-coverage=edge %s | %FileCheck %s -check-prefix=SANCOV
Expand All @@ -10,7 +11,7 @@

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
import Darwin
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
#elseif os(Linux) || os(FreeBSD) || os(OpenBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
import Glibc
#elseif os(Windows)
import MSVCRT
Expand Down
1 change: 1 addition & 0 deletions test/IRGen/tsan-attributes.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: tsan_runtime
// This test verifies that we add the function attributes used by TSan.

// RUN: %target-swift-frontend -emit-ir -sanitize=thread %s | %FileCheck %s -check-prefix=TSAN
Expand Down
1 change: 1 addition & 0 deletions test/IRGen/tsan_coroutines.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: tsan_runtime
// This test case used to crash when tsan ran before co-routine lowering.
// RUN: %target-swift-frontend -emit-ir -sanitize=thread %s | %FileCheck %s

Expand Down
1 change: 1 addition & 0 deletions test/Profiler/instrprof_tsan.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: tsan_runtime
// RUN: %target-swift-frontend -emit-ir -profile-generate -sanitize=thread %s | %FileCheck %s

// TSan is only supported on 64 bit.
Expand Down
2 changes: 1 addition & 1 deletion test/Prototypes/CollectionTransformers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ import Darwin
import Dispatch

// FIXME: port to Linux.
// XFAIL: linux, windows
// XFAIL: linux, windows, openbsd

// A wrapper for pthread_t with platform-independent interface.
public struct _stdlib_pthread_t : Equatable, Hashable {
Expand Down
1 change: 1 addition & 0 deletions test/SILGen/tsan_instrumentation.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// REQUIRES: tsan_runtime
// RUN: %target-swift-emit-silgen -sanitize=thread %s | %FileCheck %s

// TSan is only supported on 64 bit.
Expand Down
2 changes: 1 addition & 1 deletion test/stdlib/simd.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// REQUIRES: executable_test

// FIXME: No simd module on linux rdar://problem/20795411
// XFAIL: linux, windows
// XFAIL: linux, windows, openbsd

import simd
import StdlibUnittest
Expand Down
2 changes: 1 addition & 1 deletion test/stdlib/simd_diagnostics.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: %target-typecheck-verify-swift

// FIXME: No simd module on linux rdar://problem/20795411
// XFAIL: linux, windows
// XFAIL: linux, windows, openbsd

import simd

Expand Down