From c70471fae617fb91ca0a323f079574a3caaa7775 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 29 Mar 2020 10:33:37 -0400 Subject: [PATCH] enable now-passing test cases These can now be enabled thanks to bug fixes that landed in LLVM 10. --- lib/std/json.zig | 3 --- test/stage1/behavior/atomics.zig | 2 -- 2 files changed, 5 deletions(-) diff --git a/lib/std/json.zig b/lib/std/json.zig index 49afb6bea6..88f07d0aae 100644 --- 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 index 680b1a2797..f9703e7308 100644 --- 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);