build: fix build on macos
This commit is contained in:
parent
9fe4bc0c1f
commit
3b80a36537
5 changed files with 34 additions and 13 deletions
|
@ -1,4 +1,5 @@
|
|||
const std = @import("std");
|
||||
const builtin = @import("builtin");
|
||||
const c = @cImport({
|
||||
@cInclude("tests.h");
|
||||
});
|
||||
|
@ -17,7 +18,9 @@ test "debug" {
|
|||
}
|
||||
|
||||
test "endpoint_unx" {
|
||||
try testcase("endpoint_unx");
|
||||
if (builtin.os.tag == .linux) {
|
||||
try testcase("endpoint_unx");
|
||||
}
|
||||
}
|
||||
|
||||
test "endpoint_tcp" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue