diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-25 15:57:13 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-25 16:21:04 -0400 |
| commit | d1705baa749a696132e272974858fef8273614ff (patch) | |
| tree | c5ef1538c0bfa2bb37382c979ee90a3a881a584e /std/math/complex/sinh.zig | |
| parent | 40e77dad836abf130bf49af1838d108f0fc2e94e (diff) | |
| download | zig-d1705baa749a696132e272974858fef8273614ff.tar.gz zig-d1705baa749a696132e272974858fef8273614ff.zip | |
enable test coverage for armv8-linux-musleabihf
* fix libc prototypes of offsets to have correct integer sizes and
signedness. This gets all behavior tests to pass for
armv8-linux-musleabihf
* fix linux mmap syscall to have correct integer size and signedness
for offset
* disable failing armv8-linux-musleabihf std lib tests. See 3289. I
suspect compiler-rt issue. Note these tests fail with this target
triple regardless of whether musl is actually linked (-lc).
Diffstat (limited to 'std/math/complex/sinh.zig')
| -rw-r--r-- | std/math/complex/sinh.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/std/math/complex/sinh.zig b/std/math/complex/sinh.zig index 6286d8447f..0b1294bb6a 100644 --- a/std/math/complex/sinh.zig +++ b/std/math/complex/sinh.zig @@ -4,6 +4,7 @@ // https://git.musl-libc.org/cgit/musl/tree/src/complex/csinhf.c // https://git.musl-libc.org/cgit/musl/tree/src/complex/csinh.c +const builtin = @import("builtin"); const std = @import("../../std.zig"); const testing = std.testing; const math = std.math; @@ -163,6 +164,10 @@ test "complex.csinh32" { } test "complex.csinh64" { + if (builtin.os == .linux and builtin.arch == .arm and builtin.abi == .musleabihf) { + // TODO https://github.com/ziglang/zig/issues/3289 + return error.SkipZigTest; + } const a = Complex(f64).new(5, 3); const c = sinh(a); |
