aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/test.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-22 08:06:47 -0400
committerGitHub <noreply@github.com>2023-10-22 08:06:47 -0400
commit0c99ba1eab63865592bb084feb271cd4e4b0357e (patch)
tree7004c99fc0619ff94317cc176900d1d3a3c88335 /lib/std/os/linux/test.zig
parent5f92b070bf284f1493b1b5d433dd3adde2f46727 (diff)
parent920e9668ddb16fbb98cd08b43ed2364062a4b102 (diff)
downloadzig-0c99ba1eab63865592bb084feb271cd4e4b0357e.tar.gz
zig-0c99ba1eab63865592bb084feb271cd4e4b0357e.zip
Merge pull request #17637 from jacobly0/x86_64-test-std
x86_64: start to enable `test-std` and `test-compiler-rt` testing
Diffstat (limited to 'lib/std/os/linux/test.zig')
-rw-r--r--lib/std/os/linux/test.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/std/os/linux/test.zig b/lib/std/os/linux/test.zig
index 170bde6334..1c2ca643b2 100644
--- a/lib/std/os/linux/test.zig
+++ b/lib/std/os/linux/test.zig
@@ -8,6 +8,8 @@ const expectEqual = std.testing.expectEqual;
const fs = std.fs;
test "fallocate" {
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
@@ -69,6 +71,8 @@ test "timer" {
}
test "statx" {
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();
@@ -107,6 +111,8 @@ test "user and group ids" {
}
test "fadvise" {
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+
var tmp = std.testing.tmpDir(.{});
defer tmp.cleanup();