Skip to content

Commit bfe512e

Browse files
committed
Use at-test_broken to denote broken tests.
1 parent 42b109d commit bfe512e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

test/native.jl

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,17 +324,23 @@ end
324324

325325
@test call_real(1.0+im) == 1.0
326326

327-
if VERSION < v"1.8-" # FIXME(@vchuravy)
328-
# Test ABI removal
329-
ir = sprint(io->native_code_llvm(io, call_real, Tuple{ComplexF64}))
327+
# Test ABI removal
328+
ir = sprint(io->native_code_llvm(io, call_real, Tuple{ComplexF64}))
329+
if VERSION < v"1.8-"
330330
@test !occursin("alloca", ir)
331+
else
332+
@test_broken !occursin("alloca", ir)
331333
end
332334

333335
ghostly_identity(x, y) = y
334336
@test call_delayed(ghostly_identity, nothing, 1) == 1
335337

336338
# tests struct return
337-
@test call_delayed(complex, 1.0, 2.0) == 1.0+2.0im
339+
if Sys.ARCH != :aarch64
340+
@test call_delayed(complex, 1.0, 2.0) == 1.0+2.0im
341+
else
342+
@test_broken call_delayed(complex, 1.0, 2.0) == 1.0+2.0im
343+
end
338344
end
339345

340346
############################################################################################

0 commit comments

Comments
 (0)