| author | |
| committer | |
| log | 793f031c4ca7fdd230ef262895acf3e454be49dd |
| tree | fbc4de778931f6644388b9607a9830de34d04be5 |
| parent | e7e7625633d4d6ef41b6f9cbf2f02d49945a9cda |
we still want to support it, but there are too many bugs
to claim that we support it right now.
See #53721 files changed, 1 insertions(+), 178 deletions(-)
README.md+1-1| ... | ... | @@ -54,7 +54,7 @@ that counts as "freestanding" for the purposes of this table. |
| 54 | 54 | |
| 55 | 55 | | | freestanding | linux | macosx | windows | other | |
| 56 | 56 | |-------------|--------------|---------|---------|---------|---------| |
| 57 | |i386 | OK | planned | OK | OK | planned | | |
| 57 | |i386 | OK | planned | OK | planned | planned | | |
| 58 | 58 | |x86_64 | OK | OK | OK | OK | planned | |
| 59 | 59 | |arm | OK | planned | planned | N/A | planned | |
| 60 | 60 | |aarch64 | OK | planned | planned | planned | planned | |
src-self-hosted/parser.zig-6| ... | ... | @@ -1146,12 +1146,6 @@ fn testCanonical(source: []const u8) { |
| 1146 | 1146 | } |
| 1147 | 1147 | |
| 1148 | 1148 | test "zig fmt" { |
| 1149 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 1150 | // TODO get this test passing | |
| 1151 | // https://github.com/zig-lang/zig/issues/537 | |
| 1152 | return; | |
| 1153 | } | |
| 1154 | ||
| 1155 | 1149 | testCanonical( |
| 1156 | 1150 | \\extern fn puts(s: &const u8) -> c_int; |
| 1157 | 1151 | \\ |
std/crypto/sha2.zig-40| ... | ... | @@ -270,22 +270,12 @@ fn Sha2_32(comptime params: Sha2Params32) -> type { return struct { |
| 270 | 270 | };} |
| 271 | 271 | |
| 272 | 272 | test "sha224 single" { |
| 273 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 274 | // https://github.com/zig-lang/zig/issues/537 | |
| 275 | return; | |
| 276 | } | |
| 277 | ||
| 278 | 273 | debug.assert(0xd14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f == Sha224.hash("")); |
| 279 | 274 | debug.assert(0x23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 == Sha224.hash("abc")); |
| 280 | 275 | debug.assert(0xc97ca9a559850ce97a04a96def6d99a9e0e0e2ab14e6b8df265fc0b3 == Sha224.hash("abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu")); |
| 281 | 276 | } |
| 282 | 277 | |
| 283 | 278 | test "sha224 streaming" { |
| 284 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 285 | // https://github.com/zig-lang/zig/issues/537 | |
| 286 | return; | |
| 287 | } | |
| 288 | ||
| 289 | 279 | var h = Sha224.init(); |
| 290 | 280 | |
| 291 | 281 | debug.assert(0xd14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f == h.final()); |
| ... | ... | @@ -302,22 +292,12 @@ test "sha224 streaming" { |
| 302 | 292 | } |
| 303 | 293 | |
| 304 | 294 | test "sha256 single" { |
| 305 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 306 | // https://github.com/zig-lang/zig/issues/537 | |
| 307 | return; | |
| 308 | } | |
| 309 | ||
| 310 | 295 | debug.assert(0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 == Sha256.hash("")); |
| 311 | 296 | debug.assert(0xba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad == Sha256.hash("abc")); |
| 312 | 297 | debug.assert(0xcf5b16a778af8380036ce59e7b0492370b249b11e8f07a51afac45037afee9d1 == Sha256.hash("abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu")); |
| 313 | 298 | } |
| 314 | 299 | |
| 315 | 300 | test "sha256 streaming" { |
| 316 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 317 | // https://github.com/zig-lang/zig/issues/537 | |
| 318 | return; | |
| 319 | } | |
| 320 | ||
| 321 | 301 | var h = Sha256.init(); |
| 322 | 302 | |
| 323 | 303 | debug.assert(0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 == h.final()); |
| ... | ... | @@ -621,11 +601,6 @@ fn Sha2_64(comptime params: Sha2Params64) -> type { return struct { |
| 621 | 601 | };} |
| 622 | 602 | |
| 623 | 603 | test "sha384 single" { |
| 624 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 625 | // https://github.com/zig-lang/zig/issues/537 | |
| 626 | return; | |
| 627 | } | |
| 628 | ||
| 629 | 604 | const h1 = 0x38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b; |
| 630 | 605 | debug.assert(h1 == Sha384.hash("")); |
| 631 | 606 | |
| ... | ... | @@ -637,11 +612,6 @@ test "sha384 single" { |
| 637 | 612 | } |
| 638 | 613 | |
| 639 | 614 | test "sha384 streaming" { |
| 640 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 641 | // https://github.com/zig-lang/zig/issues/537 | |
| 642 | return; | |
| 643 | } | |
| 644 | ||
| 645 | 615 | var h = Sha384.init(); |
| 646 | 616 | |
| 647 | 617 | const h1 = 0x38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b; |
| ... | ... | @@ -661,11 +631,6 @@ test "sha384 streaming" { |
| 661 | 631 | } |
| 662 | 632 | |
| 663 | 633 | test "sha512 single" { |
| 664 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 665 | // https://github.com/zig-lang/zig/issues/537 | |
| 666 | return; | |
| 667 | } | |
| 668 | ||
| 669 | 634 | const h1 = 0xcf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e; |
| 670 | 635 | debug.assert(h1 == Sha512.hash("")); |
| 671 | 636 | |
| ... | ... | @@ -677,11 +642,6 @@ test "sha512 single" { |
| 677 | 642 | } |
| 678 | 643 | |
| 679 | 644 | test "sha512 streaming" { |
| 680 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 681 | // https://github.com/zig-lang/zig/issues/537 | |
| 682 | return; | |
| 683 | } | |
| 684 | ||
| 685 | 645 | var h = Sha512.init(); |
| 686 | 646 | |
| 687 | 647 | const h1 = 0xcf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e; |
std/io_test.zig-5| ... | ... | @@ -8,11 +8,6 @@ const os = std.os; |
| 8 | 8 | const builtin = @import("builtin"); |
| 9 | 9 | |
| 10 | 10 | test "write a file, read it, then delete it" { |
| 11 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 12 | // TODO get this test passing | |
| 13 | // https://github.com/zig-lang/zig/issues/537 | |
| 14 | return; | |
| 15 | } | |
| 16 | 11 | var data: [1024]u8 = undefined; |
| 17 | 12 | var rng = Rand.init(1234); |
| 18 | 13 | rng.fillBytes(data[0..]); |
std/math/acosh.zig-5| ... | ... | @@ -55,11 +55,6 @@ fn acosh64(x: f64) -> f64 { |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | test "math.acosh" { |
| 58 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 59 | // TODO get this test passing | |
| 60 | // https://github.com/zig-lang/zig/issues/537 | |
| 61 | return; | |
| 62 | } | |
| 63 | 58 | assert(acosh(f32(1.5)) == acosh32(1.5)); |
| 64 | 59 | assert(acosh(f64(1.5)) == acosh64(1.5)); |
| 65 | 60 | } |
std/math/cos.zig-5| ... | ... | @@ -146,11 +146,6 @@ test "math.cos" { |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | test "math.cos32" { |
| 149 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 150 | // TODO get this test passing | |
| 151 | // https://github.com/zig-lang/zig/issues/537 | |
| 152 | return; | |
| 153 | } | |
| 154 | 149 | const epsilon = 0.000001; |
| 155 | 150 | |
| 156 | 151 | assert(math.approxEq(f32, cos32(0.0), 1.0, epsilon)); |
std/math/cosh.zig-5| ... | ... | @@ -81,11 +81,6 @@ fn cosh64(x: f64) -> f64 { |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | test "math.cosh" { |
| 84 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 85 | // TODO get this test passing | |
| 86 | // https://github.com/zig-lang/zig/issues/537 | |
| 87 | return; | |
| 88 | } | |
| 89 | 84 | assert(cosh(f32(1.5)) == cosh32(1.5)); |
| 90 | 85 | assert(cosh(f64(1.5)) == cosh64(1.5)); |
| 91 | 86 | } |
std/math/index.zig-15| ... | ... | @@ -359,11 +359,6 @@ pub fn divTrunc(comptime T: type, numerator: T, denominator: T) -> %T { |
| 359 | 359 | } |
| 360 | 360 | |
| 361 | 361 | test "math.divTrunc" { |
| 362 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 363 | // TODO get this test passing | |
| 364 | // https://github.com/zig-lang/zig/issues/537 | |
| 365 | return; | |
| 366 | } | |
| 367 | 362 | testDivTrunc(); |
| 368 | 363 | comptime testDivTrunc(); |
| 369 | 364 | } |
| ... | ... | @@ -389,11 +384,6 @@ pub fn divFloor(comptime T: type, numerator: T, denominator: T) -> %T { |
| 389 | 384 | } |
| 390 | 385 | |
| 391 | 386 | test "math.divFloor" { |
| 392 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 393 | // TODO get this test passing | |
| 394 | // https://github.com/zig-lang/zig/issues/537 | |
| 395 | return; | |
| 396 | } | |
| 397 | 387 | testDivFloor(); |
| 398 | 388 | comptime testDivFloor(); |
| 399 | 389 | } |
| ... | ... | @@ -423,11 +413,6 @@ pub fn divExact(comptime T: type, numerator: T, denominator: T) -> %T { |
| 423 | 413 | } |
| 424 | 414 | |
| 425 | 415 | test "math.divExact" { |
| 426 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 427 | // TODO get this test passing | |
| 428 | // https://github.com/zig-lang/zig/issues/537 | |
| 429 | return; | |
| 430 | } | |
| 431 | 416 | testDivExact(); |
| 432 | 417 | comptime testDivExact(); |
| 433 | 418 | } |
std/math/ln.zig-5| ... | ... | @@ -147,11 +147,6 @@ pub fn ln_64(x_: f64) -> f64 { |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | test "math.ln" { |
| 150 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 151 | // TODO get this test passing | |
| 152 | // https://github.com/zig-lang/zig/issues/537 | |
| 153 | return; | |
| 154 | } | |
| 155 | 150 | assert(ln(f32(0.2)) == ln_32(0.2)); |
| 156 | 151 | assert(ln(f64(0.2)) == ln_64(0.2)); |
| 157 | 152 | } |
std/math/log.zig-5| ... | ... | @@ -56,11 +56,6 @@ test "math.log float" { |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | test "math.log float_special" { |
| 59 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 60 | // TODO get this test passing | |
| 61 | // https://github.com/zig-lang/zig/issues/537 | |
| 62 | return; | |
| 63 | } | |
| 64 | 59 | assert(log(f32, 2, 0.2301974) == math.log2(f32(0.2301974))); |
| 65 | 60 | assert(log(f32, 10, 0.2301974) == math.log10(f32(0.2301974))); |
| 66 | 61 |
std/math/log10.zig-5| ... | ... | @@ -172,11 +172,6 @@ pub fn log10_64(x_: f64) -> f64 { |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | test "math.log10" { |
| 175 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 176 | // TODO get this test passing | |
| 177 | // https://github.com/zig-lang/zig/issues/537 | |
| 178 | return; | |
| 179 | } | |
| 180 | 175 | assert(log10(f32(0.2)) == log10_32(0.2)); |
| 181 | 176 | assert(log10(f64(0.2)) == log10_64(0.2)); |
| 182 | 177 | } |
std/math/log2.zig-5| ... | ... | @@ -170,11 +170,6 @@ pub fn log2_64(x_: f64) -> f64 { |
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | test "math.log2" { |
| 173 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 174 | // TODO get this test passing | |
| 175 | // https://github.com/zig-lang/zig/issues/537 | |
| 176 | return; | |
| 177 | } | |
| 178 | 173 | assert(log2(f32(0.2)) == log2_32(0.2)); |
| 179 | 174 | assert(log2(f64(0.2)) == log2_64(0.2)); |
| 180 | 175 | } |
std/math/pow.zig-6| ... | ... | @@ -176,12 +176,6 @@ fn isOddInteger(x: f64) -> bool { |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | test "math.pow" { |
| 179 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 180 | // TODO get this test passing | |
| 181 | // https://github.com/zig-lang/zig/issues/537 | |
| 182 | return; | |
| 183 | } | |
| 184 | ||
| 185 | 179 | const epsilon = 0.000001; |
| 186 | 180 | |
| 187 | 181 | assert(math.approxEq(f32, pow(f32, 0.0, 3.3), 0.0, epsilon)); |
std/math/round.zig-5| ... | ... | @@ -98,11 +98,6 @@ test "math.round" { |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | test "math.round32" { |
| 101 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 102 | // TODO get this test passing | |
| 103 | // https://github.com/zig-lang/zig/issues/537 | |
| 104 | return; | |
| 105 | } | |
| 106 | 101 | assert(round32(1.3) == 1.0); |
| 107 | 102 | assert(round32(-1.3) == -1.0); |
| 108 | 103 | assert(round32(0.2) == 0.0); |
std/math/sin.zig-5| ... | ... | @@ -150,11 +150,6 @@ test "math.sin" { |
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | test "math.sin32" { |
| 153 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 154 | // TODO get this test passing | |
| 155 | // https://github.com/zig-lang/zig/issues/537 | |
| 156 | return; | |
| 157 | } | |
| 158 | 153 | const epsilon = 0.000001; |
| 159 | 154 | |
| 160 | 155 | assert(math.approxEq(f32, sin32(0.0), 0.0, epsilon)); |
std/math/sinh.zig-5| ... | ... | @@ -88,11 +88,6 @@ fn sinh64(x: f64) -> f64 { |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | test "math.sinh" { |
| 91 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 92 | // TODO get this test passing | |
| 93 | // https://github.com/zig-lang/zig/issues/537 | |
| 94 | return; | |
| 95 | } | |
| 96 | 91 | assert(sinh(f32(1.5)) == sinh32(1.5)); |
| 97 | 92 | assert(sinh(f64(1.5)) == sinh64(1.5)); |
| 98 | 93 | } |
std/math/tan.zig-5| ... | ... | @@ -136,11 +136,6 @@ test "math.tan" { |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | test "math.tan32" { |
| 139 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 140 | // TODO get this test passing | |
| 141 | // https://github.com/zig-lang/zig/issues/537 | |
| 142 | return; | |
| 143 | } | |
| 144 | 139 | const epsilon = 0.000001; |
| 145 | 140 | |
| 146 | 141 | assert(math.approxEq(f32, tan32(0.0), 0.0, epsilon)); |
std/math/tanh.zig-5| ... | ... | @@ -112,11 +112,6 @@ fn tanh64(x: f64) -> f64 { |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | test "math.tanh" { |
| 115 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 116 | // TODO get this test passing | |
| 117 | // https://github.com/zig-lang/zig/issues/537 | |
| 118 | return; | |
| 119 | } | |
| 120 | 115 | assert(tanh(f32(1.5)) == tanh32(1.5)); |
| 121 | 116 | assert(tanh(f64(1.5)) == tanh64(1.5)); |
| 122 | 117 | } |
std/rand.zig-20| ... | ... | @@ -194,11 +194,6 @@ fn MersenneTwister( |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | 196 | test "rand float 32" { |
| 197 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 198 | // TODO get this test passing | |
| 199 | // https://github.com/zig-lang/zig/issues/537 | |
| 200 | return; | |
| 201 | } | |
| 202 | 197 | var r = Rand.init(42); |
| 203 | 198 | var i: usize = 0; |
| 204 | 199 | while (i < 1000) : (i += 1) { |
| ... | ... | @@ -209,11 +204,6 @@ test "rand float 32" { |
| 209 | 204 | } |
| 210 | 205 | |
| 211 | 206 | test "rand.MT19937_64" { |
| 212 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 213 | // TODO get this test passing | |
| 214 | // https://github.com/zig-lang/zig/issues/537 | |
| 215 | return; | |
| 216 | } | |
| 217 | 207 | var rng = MT19937_64.init(rand_test.mt64_seed); |
| 218 | 208 | for (rand_test.mt64_data) |value| { |
| 219 | 209 | assert(value == rng.get()); |
| ... | ... | @@ -221,11 +211,6 @@ test "rand.MT19937_64" { |
| 221 | 211 | } |
| 222 | 212 | |
| 223 | 213 | test "rand.MT19937_32" { |
| 224 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 225 | // TODO get this test passing | |
| 226 | // https://github.com/zig-lang/zig/issues/537 | |
| 227 | return; | |
| 228 | } | |
| 229 | 214 | var rng = MT19937_32.init(rand_test.mt32_seed); |
| 230 | 215 | for (rand_test.mt32_data) |value| { |
| 231 | 216 | assert(value == rng.get()); |
| ... | ... | @@ -233,11 +218,6 @@ test "rand.MT19937_32" { |
| 233 | 218 | } |
| 234 | 219 | |
| 235 | 220 | test "rand.Rand.range" { |
| 236 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 237 | // TODO get this test passing | |
| 238 | // https://github.com/zig-lang/zig/issues/537 | |
| 239 | return; | |
| 240 | } | |
| 241 | 221 | var r = Rand.init(42); |
| 242 | 222 | testRange(&r, -4, 3); |
| 243 | 223 | testRange(&r, -4, -1); |
std/sort.zig-20| ... | ... | @@ -1020,11 +1020,6 @@ fn cmpByValue(a: &const IdAndValue, b: &const IdAndValue) -> bool { |
| 1020 | 1020 | } |
| 1021 | 1021 | |
| 1022 | 1022 | test "std.sort" { |
| 1023 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 1024 | // TODO get this test passing | |
| 1025 | // https://github.com/zig-lang/zig/issues/537 | |
| 1026 | return; | |
| 1027 | } | |
| 1028 | 1023 | const u8cases = [][]const []const u8 { |
| 1029 | 1024 | [][]const u8{"", ""}, |
| 1030 | 1025 | [][]const u8{"a", "a"}, |
| ... | ... | @@ -1061,11 +1056,6 @@ test "std.sort" { |
| 1061 | 1056 | } |
| 1062 | 1057 | |
| 1063 | 1058 | test "std.sort descending" { |
| 1064 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 1065 | // TODO get this test passing | |
| 1066 | // https://github.com/zig-lang/zig/issues/537 | |
| 1067 | return; | |
| 1068 | } | |
| 1069 | 1059 | const rev_cases = [][]const []const i32 { |
| 1070 | 1060 | [][]const i32{[]i32{}, []i32{}}, |
| 1071 | 1061 | [][]const i32{[]i32{1}, []i32{1}}, |
| ... | ... | @@ -1085,11 +1075,6 @@ test "std.sort descending" { |
| 1085 | 1075 | } |
| 1086 | 1076 | |
| 1087 | 1077 | test "another sort case" { |
| 1088 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 1089 | // TODO get this test passing | |
| 1090 | // https://github.com/zig-lang/zig/issues/537 | |
| 1091 | return; | |
| 1092 | } | |
| 1093 | 1078 | var arr = []i32{ 5, 3, 1, 2, 4 }; |
| 1094 | 1079 | sort(i32, arr[0..], i32asc); |
| 1095 | 1080 | |
| ... | ... | @@ -1097,11 +1082,6 @@ test "another sort case" { |
| 1097 | 1082 | } |
| 1098 | 1083 | |
| 1099 | 1084 | test "sort fuzz testing" { |
| 1100 | if (builtin.os == builtin.Os.windows and builtin.arch == builtin.Arch.i386) { | |
| 1101 | // TODO get this test passing | |
| 1102 | // https://github.com/zig-lang/zig/issues/537 | |
| 1103 | return; | |
| 1104 | } | |
| 1105 | 1085 | var rng = std.rand.Rand.init(0x12345678); |
| 1106 | 1086 | const test_case_count = 10; |
| 1107 | 1087 | var i: usize = 0; |
test/tests.zig-5| ... | ... | @@ -42,11 +42,6 @@ const test_targets = []TestTarget { |
| 42 | 42 | .arch = builtin.Arch.x86_64, |
| 43 | 43 | .environ = builtin.Environ.msvc, |
| 44 | 44 | }, |
| 45 | TestTarget { | |
| 46 | .os = builtin.Os.windows, | |
| 47 | .arch = builtin.Arch.i386, | |
| 48 | .environ = builtin.Environ.msvc, | |
| 49 | }, | |
| 50 | 45 | }; |
| 51 | 46 | |
| 52 | 47 | error TestFailed; |