Skip to content

Commit 3d11f7d

Browse files
authored
test/errorshow: Disable infinite recursion tests on aarch64-darwin (#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.
1 parent ffed6b8 commit 3d11f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/errorshow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ end
779779

780780
# issue #37587
781781
# TODO: enable on more platforms
782-
if Sys.isapple() || (Sys.islinux() && Sys.ARCH === :x86_64)
782+
if (Sys.isapple() || Sys.islinux()) && Sys.ARCH === :x86_64
783783
single_repeater() = single_repeater()
784784
pair_repeater_a() = pair_repeater_b()
785785
pair_repeater_b() = pair_repeater_a()
@@ -803,7 +803,7 @@ if Sys.isapple() || (Sys.islinux() && Sys.ARCH === :x86_64)
803803
@test occursin(r"the last 2 lines are repeated \d+ more times", bt_str)
804804
end
805805
end
806-
end # Sys.isapple()
806+
end
807807

808808
@testset "ScheduledAfterSyncException" begin
809809
t = :DummyTask

0 commit comments

Comments
 (0)