authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-11-10 18:29:49-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-11-10 18:29:49-05:00
loga890380b6aaf68f97a29f2224bcb06295c292596
treea53cdd63322125c90a93677aabf547d65365efc8
parentca87f55a7b8416e0f0922af7178a8774e81eba97

fix windows trying to run linux-only tests


1 files changed, 5 insertions(+), 1 deletions(-)

std/os/linux.zig+5-1
...@@ -811,5 +811,9 @@ pub fn timerfd_settime(fd: i32, flags: u32, new_value: &const itimerspec, old_va...@@ -811,5 +811,9 @@ pub fn timerfd_settime(fd: i32, flags: u32, new_value: &const itimerspec, old_va
811}811}
812812
813test "import linux_test" {813test "import linux_test" {
814 _ = @import("linux_test.zig");814 // TODO lazy analysis should prevent this test from being compiled on windows, but
815 // it is still compiled on windows
816 if (builtin.os == builtin.Os.linux) {
817 _ = @import("linux_test.zig");
818 }
815}819}