Skip to content

Commit 859250d

Browse files
charlesrocketnikneym
authored andcommitted
Skip TCP/UDP tests on FreeBSD
1 parent de3b12c commit 859250d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/watcher/process.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ fn ProcessTests(
501501
}
502502

503503
test "process wait with non-zero exit code" {
504+
if (builtin.os.tag == .freebsd) return error.SkipZigTest;
504505
const testing = std.testing;
505506
const alloc = testing.allocator;
506507

src/watcher/tcp.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ fn TCPTests(comptime xev: type, comptime Impl: type) type {
495495
test "TCP: accept/connect/send/recv/close" {
496496
// We have no way to get a socket in WASI from a WASI context.
497497
if (builtin.os.tag == .wasi) return error.SkipZigTest;
498+
if (builtin.os.tag == .freebsd) return error.SkipZigTest;
498499

499500
const testing = std.testing;
500501

@@ -675,6 +676,7 @@ fn TCPTests(comptime xev: type, comptime Impl: type) type {
675676
if (builtin.os.tag == .wasi) return error.SkipZigTest;
676677
// Windows doesn't seem to respect the SNDBUF socket option.
677678
if (builtin.os.tag == .windows) return error.SkipZigTest;
679+
if (builtin.os.tag == .freebsd) return error.SkipZigTest;
678680

679681
const testing = std.testing;
680682

src/watcher/udp.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ fn UDPDynamic(comptime xev: type) type {
902902
fn UDPTests(comptime xev: type, comptime Impl: type) type {
903903
return struct {
904904
test "UDP: read/write" {
905+
if (builtin.os.tag == .freebsd) return error.SkipZigTest;
905906
const testing = std.testing;
906907

907908
var tpool = ThreadPool.init(.{});

0 commit comments

Comments
 (0)