Skip to content

Commit

Permalink
test/errorshow: Disable infinite recursion tests on aarch64-darwin (J…
Browse files Browse the repository at this point in the history
…uliaLang#43613)

We just don't get more than a couple frames back from libunwind
on stack overflow when running on aarch64-darwin, so restrict the
test to x64_64 also on macOS.

This test also fails using the official 1.7.0 release binary.
  • Loading branch information
dnadlinger authored and LilithHafner committed Mar 8, 2022
1 parent b9b3aad commit a0364be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ end

# issue #37587
# TODO: enable on more platforms
if Sys.isapple() || (Sys.islinux() && Sys.ARCH === :x86_64)
if (Sys.isapple() || Sys.islinux()) && Sys.ARCH === :x86_64
single_repeater() = single_repeater()
pair_repeater_a() = pair_repeater_b()
pair_repeater_b() = pair_repeater_a()
Expand All @@ -803,7 +803,7 @@ if Sys.isapple() || (Sys.islinux() && Sys.ARCH === :x86_64)
@test occursin(r"the last 2 lines are repeated \d+ more times", bt_str)
end
end
end # Sys.isapple()
end

@testset "ScheduledAfterSyncException" begin
t = :DummyTask
Expand Down

0 comments on commit a0364be

Please sign in to comment.