| author | |
| committer | |
| log | e9d854743aba390d757e56714e2b323e99e5722b |
| tree | 8d708f2c208388f33e00bd909651c63d599dd06d |
| parent | a281d298816b6881e16ebfabb3743526bd8a1577 |
6 files changed, 40 insertions(+), 15 deletions(-)
test/behavior/cast.zig+7-2| ... | ... | @@ -1313,7 +1313,12 @@ test "cast f16 to wider types" { |
| 1313 | 1313 | if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO |
| 1314 | 1314 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1315 | 1315 | |
| 1316 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1316 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1317 | // TODO: test is failing | |
| 1318 | return error.SkipZigTest; | |
| 1319 | } | |
| 1320 | ||
| 1321 | if (builtin.os.tag == .windows and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1317 | 1322 | // TODO: test is failing |
| 1318 | 1323 | return error.SkipZigTest; |
| 1319 | 1324 | } |
| ... | ... | @@ -1344,7 +1349,7 @@ test "cast f128 to narrower types" { |
| 1344 | 1349 | return error.SkipZigTest; |
| 1345 | 1350 | } |
| 1346 | 1351 | |
| 1347 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1352 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1348 | 1353 | // TODO: test is failing |
| 1349 | 1354 | return error.SkipZigTest; |
| 1350 | 1355 | } |
test/behavior/floatop.zig+15-5| ... | ... | @@ -542,7 +542,7 @@ test "another, possibly redundant, @fabs test" { |
| 542 | 542 | return error.SkipZigTest; |
| 543 | 543 | } |
| 544 | 544 | |
| 545 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 545 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 546 | 546 | // TODO: test is failing |
| 547 | 547 | return error.SkipZigTest; |
| 548 | 548 | } |
| ... | ... | @@ -591,7 +591,7 @@ test "a third @fabs test, surely there should not be three fabs tests" { |
| 591 | 591 | return error.SkipZigTest; |
| 592 | 592 | } |
| 593 | 593 | |
| 594 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 594 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 595 | 595 | // TODO: test is failing |
| 596 | 596 | return error.SkipZigTest; |
| 597 | 597 | } |
| ... | ... | @@ -698,7 +698,7 @@ test "@floor f128" { |
| 698 | 698 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 699 | 699 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 700 | 700 | |
| 701 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 701 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 702 | 702 | // TODO: test is failing |
| 703 | 703 | return error.SkipZigTest; |
| 704 | 704 | } |
| ... | ... | @@ -793,6 +793,11 @@ test "@ceil f128" { |
| 793 | 793 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 794 | 794 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 795 | 795 | |
| 796 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86_64) { | |
| 797 | // TODO: test is failing | |
| 798 | return error.SkipZigTest; | |
| 799 | } | |
| 800 | ||
| 796 | 801 | try testCeilLegacy(f128, 12.0); |
| 797 | 802 | comptime try testCeilLegacy(f128, 12.0); |
| 798 | 803 | } |
| ... | ... | @@ -889,7 +894,7 @@ test "@trunc f128" { |
| 889 | 894 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 890 | 895 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 891 | 896 | |
| 892 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 897 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 893 | 898 | // TODO: test is failing |
| 894 | 899 | return error.SkipZigTest; |
| 895 | 900 | } |
| ... | ... | @@ -1012,7 +1017,7 @@ test "negation f128" { |
| 1012 | 1017 | return error.SkipZigTest; |
| 1013 | 1018 | } |
| 1014 | 1019 | |
| 1015 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1020 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1016 | 1021 | // TODO: test is failing |
| 1017 | 1022 | return error.SkipZigTest; |
| 1018 | 1023 | } |
| ... | ... | @@ -1060,6 +1065,11 @@ test "comptime fixed-width float zero divided by zero produces NaN" { |
| 1060 | 1065 | if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO |
| 1061 | 1066 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1062 | 1067 | |
| 1068 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86_64) { | |
| 1069 | // TODO: test is failing | |
| 1070 | return error.SkipZigTest; | |
| 1071 | } | |
| 1072 | ||
| 1063 | 1073 | inline for (.{ f16, f32, f64, f80, f128 }) |F| { |
| 1064 | 1074 | try expect(math.isNan(@as(F, 0) / @as(F, 0))); |
| 1065 | 1075 | } |
test/behavior/math.zig+14-4| ... | ... | @@ -622,7 +622,7 @@ test "f128" { |
| 622 | 622 | return error.SkipZigTest; |
| 623 | 623 | } |
| 624 | 624 | |
| 625 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 625 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 626 | 626 | // TODO: test is failing |
| 627 | 627 | return error.SkipZigTest; |
| 628 | 628 | } |
| ... | ... | @@ -1304,7 +1304,7 @@ test "remainder division" { |
| 1304 | 1304 | return error.SkipZigTest; |
| 1305 | 1305 | } |
| 1306 | 1306 | |
| 1307 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1307 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1308 | 1308 | // TODO: test is failing |
| 1309 | 1309 | return error.SkipZigTest; |
| 1310 | 1310 | } |
| ... | ... | @@ -1340,6 +1340,11 @@ test "float remainder division using @rem" { |
| 1340 | 1340 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1341 | 1341 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 1342 | 1342 | |
| 1343 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86_64) { | |
| 1344 | // TODO: test is failing | |
| 1345 | return error.SkipZigTest; | |
| 1346 | } | |
| 1347 | ||
| 1343 | 1348 | comptime try frem(f16); |
| 1344 | 1349 | comptime try frem(f32); |
| 1345 | 1350 | comptime try frem(f64); |
| ... | ... | @@ -1382,6 +1387,11 @@ test "float modulo division using @mod" { |
| 1382 | 1387 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 1383 | 1388 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1384 | 1389 | |
| 1390 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86_64) { | |
| 1391 | // TODO: test is failing | |
| 1392 | return error.SkipZigTest; | |
| 1393 | } | |
| 1394 | ||
| 1385 | 1395 | comptime try fmod(f16); |
| 1386 | 1396 | comptime try fmod(f32); |
| 1387 | 1397 | comptime try fmod(f64); |
| ... | ... | @@ -1455,7 +1465,7 @@ test "@round f128" { |
| 1455 | 1465 | if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO |
| 1456 | 1466 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1457 | 1467 | |
| 1458 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1468 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1459 | 1469 | // TODO: test is failing |
| 1460 | 1470 | return error.SkipZigTest; |
| 1461 | 1471 | } |
| ... | ... | @@ -1505,7 +1515,7 @@ test "NaN comparison" { |
| 1505 | 1515 | return error.SkipZigTest; |
| 1506 | 1516 | } |
| 1507 | 1517 | |
| 1508 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 1518 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 1509 | 1519 | // TODO: test is failing |
| 1510 | 1520 | return error.SkipZigTest; |
| 1511 | 1521 | } |
test/behavior/muladd.zig+1-1| ... | ... | @@ -75,7 +75,7 @@ test "@mulAdd f128" { |
| 75 | 75 | return error.SkipZigTest; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 78 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 79 | 79 | // TODO: test is failing |
| 80 | 80 | return error.SkipZigTest; |
| 81 | 81 | } |
test/behavior/vector.zig+1-1| ... | ... | @@ -103,7 +103,7 @@ test "vector float operators" { |
| 103 | 103 | return error.SkipZigTest; |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 106 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 107 | 107 | // TODO: test is failing |
| 108 | 108 | return error.SkipZigTest; |
| 109 | 109 | } |
test/behavior/widening.zig+2-2| ... | ... | @@ -50,7 +50,7 @@ test "float widening" { |
| 50 | 50 | return error.SkipZigTest; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 53 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 54 | 54 | // TODO: test is failing |
| 55 | 55 | return error.SkipZigTest; |
| 56 | 56 | } |
| ... | ... | @@ -82,7 +82,7 @@ test "float widening f16 to f128" { |
| 82 | 82 | return error.SkipZigTest; |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { | |
| 85 | if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) { | |
| 86 | 86 | // TODO: test is failing |
| 87 | 87 | return error.SkipZigTest; |
| 88 | 88 | } |