Skip to content

Commit

Permalink
skip test on macOS x64
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing authored and avik-pal committed Dec 29, 2024
1 parent 1c8b129 commit eef3659
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/integration/yao.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit eef3659

Please sign in to comment.