From eef365907676ea825caddc4ed2a27c5e3f2c43c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Sun, 29 Dec 2024 02:08:43 +0100 Subject: [PATCH] skip test on macOS x64 --- test/integration/yao.jl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/integration/yao.jl b/test/integration/yao.jl index cf9d27ff3..0294c360c 100644 --- a/test/integration/yao.jl +++ b/test/integration/yao.jl @@ -1,11 +1,13 @@ using YaoBlocks, Reactant @testset "YaoBlocks" begin - f(θ) = mat(Rx(θ)) + if !(Sys.isapple() && Sys.ARCH === :x86_64) + f(θ) = mat(Rx(θ)) - x = ConcreteRNumber(0.0) - @test @jit(f(x)) ≈ f(0.0) + x = ConcreteRNumber(0.0) + @test @jit(f(x)) ≈ f(0.0) - x = ConcreteRNumber(1.0) - @test @jit(f(x)) ≈ f(1.0) + x = ConcreteRNumber(1.0) + @test @jit(f(x)) ≈ f(1.0) + end end