From ce19638cd4690a8ac01a04500fcc525341d0de78 Mon Sep 17 00:00:00 2001 From: Vexu Date: Thu, 12 Mar 2020 17:31:10 +0200 Subject: [PATCH] disable test on mipsel --- test/stage1/behavior/atomics.zig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/stage1/behavior/atomics.zig b/test/stage1/behavior/atomics.zig index aca5593c6e..36751e7d25 100644 --- a/test/stage1/behavior/atomics.zig +++ b/test/stage1/behavior/atomics.zig @@ -149,10 +149,10 @@ fn testAtomicStore() void { } test "atomicrmw with floats" { - comptime testAtomicRmwFloat(); if (builtin.arch == .aarch64 or builtin.arch == .arm or builtin.arch == .riscv64) return error.SkipZigTest; testAtomicRmwFloat(); + comptime testAtomicRmwFloat(); } fn testAtomicRmwFloat() void { @@ -167,8 +167,10 @@ fn testAtomicRmwFloat() void { } test "atomicrmw with ints" { - testAtomicRmwFloat(); - comptime testAtomicRmwFloat(); + if (builtin.arch == .mipsel) + return error.SkipZigTest; + testAtomicRmwInt(); + comptime testAtomicRmwInt(); } fn testAtomicRmwInt() void {