zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c70471fae617fb91ca0a323f079574a3caaa7775 (tree)
parent 38a1af5d4fbe5994d6d8a93512e9332529958473
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sun, 29 Mar 2020 10:33:37 -0400

enable now-passing test cases

These can now be enabled thanks to bug fixes that landed in
LLVM 10.

Diffstat:
Mlib/std/json.zig | 3---
Mtest/stage1/behavior/atomics.zig | 2--
2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/lib/std/json.zig b/lib/std/json.zig @@ -1658,9 +1658,6 @@ test "parse into tagged union" { } test "parseFree descends into tagged union" { - // tagged unions are broken on arm64: https://github.com/ziglang/zig/issues/4492 - if (std.builtin.arch == .aarch64) return error.SkipZigTest; - var fail_alloc = testing.FailingAllocator.init(testing.allocator, 1); const options = ParseOptions{ .allocator = &fail_alloc.allocator }; const T = union(enum) { diff --git a/test/stage1/behavior/atomics.zig b/test/stage1/behavior/atomics.zig @@ -190,8 +190,6 @@ fn testAtomicRmwInt() void { _ = @atomicRmw(u8, &x, .Xor, 2, .SeqCst); expect(x == 0xfd); - // TODO https://github.com/ziglang/zig/issues/4724 - if (builtin.arch == .mipsel) return; _ = @atomicRmw(u8, &x, .Max, 1, .SeqCst); expect(x == 0xfd); _ = @atomicRmw(u8, &x, .Min, 1, .SeqCst);