diff --git a/lib/std/crypto.zig b/lib/std/crypto.zig index 7f87bd0e6b..8aaf305143 100644 --- a/lib/std/crypto.zig +++ b/lib/std/crypto.zig @@ -177,9 +177,6 @@ const std = @import("std.zig"); pub const errors = @import("crypto/errors.zig"); test { - const please_windows_dont_oom = @import("builtin").os.tag == .windows; - if (please_windows_dont_oom) return error.SkipZigTest; - _ = aead.aegis.Aegis128L; _ = aead.aegis.Aegis256; diff --git a/lib/std/hash/crc.zig b/lib/std/hash/crc.zig index 3990287322..ad2e0018c9 100644 --- a/lib/std/hash/crc.zig +++ b/lib/std/hash/crc.zig @@ -98,11 +98,7 @@ pub fn Crc32WithPoly(comptime poly: Polynomial) type { }; } -const please_windows_dont_oom = builtin.os.tag == .windows; - test "crc32 ieee" { - if (please_windows_dont_oom) return error.SkipZigTest; - const Crc32Ieee = Crc32WithPoly(.IEEE); try testing.expect(Crc32Ieee.hash("") == 0x00000000); @@ -111,8 +107,6 @@ test "crc32 ieee" { } test "crc32 castagnoli" { - if (please_windows_dont_oom) return error.SkipZigTest; - const Crc32Castagnoli = Crc32WithPoly(.Castagnoli); try testing.expect(Crc32Castagnoli.hash("") == 0x00000000); @@ -169,8 +163,6 @@ pub fn Crc32SmallWithPoly(comptime poly: Polynomial) type { } test "small crc32 ieee" { - if (please_windows_dont_oom) return error.SkipZigTest; - const Crc32Ieee = Crc32SmallWithPoly(.IEEE); try testing.expect(Crc32Ieee.hash("") == 0x00000000); @@ -179,8 +171,6 @@ test "small crc32 ieee" { } test "small crc32 castagnoli" { - if (please_windows_dont_oom) return error.SkipZigTest; - const Crc32Castagnoli = Crc32SmallWithPoly(.Castagnoli); try testing.expect(Crc32Castagnoli.hash("") == 0x00000000); diff --git a/lib/std/rand/ziggurat.zig b/lib/std/rand/ziggurat.zig index b05ce7fd73..ec6dd0f080 100644 --- a/lib/std/rand/ziggurat.zig +++ b/lib/std/rand/ziggurat.zig @@ -127,11 +127,7 @@ fn norm_zero_case(random: Random, u: f64) f64 { } } -const please_windows_dont_oom = builtin.os.tag == .windows; - test "normal dist sanity" { - if (please_windows_dont_oom) return error.SkipZigTest; - var prng = std.rand.DefaultPrng.init(0); const random = prng.random(); @@ -160,9 +156,7 @@ fn exp_zero_case(random: Random, _: f64) f64 { return exp_r - @log(random.float(f64)); } -test "exp dist sanity" { - if (please_windows_dont_oom) return error.SkipZigTest; - +test "exp dist smoke test" { var prng = std.rand.DefaultPrng.init(0); const random = prng.random(); @@ -172,8 +166,6 @@ test "exp dist sanity" { } } -test "table gen" { - if (please_windows_dont_oom) return error.SkipZigTest; - +test { _ = NormDist; }