Skip to content

Commit 698dbc0

Browse files
committed
FreeBSD: Disable broken tests
Disabling a few tests. The distributed tests are failing for the same reason they fail on Linux, the rpaths and library search paths are mucked up. Fixing that shouldn't be too hard, but should be enabled on both platforms at once. CollectiveTransformers doesn't work because it imports Darwin directly. There is a note that is several years old saying that we should port the test to the other platforms, but that is beyond the scope of this PR at the moment.
1 parent de23d4b commit 698dbc0

4 files changed

+5
-5
lines changed

test/Distributed/Runtime/distributed_actor_remoteCall_accessibleFunctions_crossModule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
// Locating the built libraries failed on Linux (construction of test case),
8181
// but we primarily care about macOS in this test
82-
// UNSUPPORTED: OS=linux-gnu
82+
// UNSUPPORTED: OS=linux-gnu || OS=freebsd
8383

8484
// %env does not seem to work on Windows
8585
// UNSUPPORTED: OS=windows-msvc

test/Distributed/Runtime/distributed_actor_remoteCall_accessibleFunctions_crossModule_irgen.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
// Locating the built libraries failed on Linux (construction of test case),
5252
// but we primarily care about macOS in this test
53-
// UNSUPPORTED: OS=linux-gnu
53+
// UNSUPPORTED: OS=linux-gnu || OS=freebsd
5454

5555
// %env does not seem to work on Windows
5656
// UNSUPPORTED: OS=windows-msvc
@@ -244,4 +244,4 @@ class AnotherImpl {}
244244
// CHECK-SAME: ) to i64)
245245
// CHECK-SAME: ) to i32
246246
// CHECK-SAME: )
247-
// CHECK-SAME: }, section "__TEXT,__const", no_sanitize_address, align 4
247+
// CHECK-SAME: }, section "__TEXT,__const", no_sanitize_address, align 4

test/IRGen/profiling_marker_thunks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// RUN: %target-swift-frontend -module-name A -I %t -emit-ir %s | %FileCheck %s --check-prefix=NOTHUNK
88

99
// UNSUPPORTED: OS=windows-msvc
10-
// UNSUPPORTED: OS=linux-gnu, OS=linux-android, OS=linux-androideabi
10+
// UNSUPPORTED: OS=linux-gnu, OS=linux-android, OS=linux-androideabi, OS=freebsd
1111

1212
// UNSUPPORTED: CPU=arm64e
1313

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: OS=linux-gnu, OS=windows-msvc, OS=openbsd, OS=linux-android
203+
// XFAIL: OS=linux-gnu, OS=windows-msvc, OS=freebsd, OS=openbsd, OS=linux-android
204204

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

0 commit comments

Comments
 (0)