Skip to content

Commit 4222264

Browse files
authored
Don't run intermittently failing backtrace cycle printing tests on Win32 (#59253)
Fixes #59167 by moving affected new tests added in #55841 into the non-Win32 branch
1 parent e4a47f8 commit 4222264

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/errorshow.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -878,22 +878,22 @@ end
878878
@test lstrip(lstrip(output[5])[4:end])[1:3] == "[2]"
879879
@test occursin("g28442b", output[5])
880880

881-
@test startswith(lstrip(output[8]), "┌┌ ")
882-
@test occursin("h28442b", output[8])
883-
@test startswith(lstrip(output[10]), "├├ ")
884-
@test occursin("g28442b", output[10])
885-
886-
@test startswith(lstrip(output[13]), "├┌ ")
887-
@test occursin("f28442b", output[13])
888-
@test startswith(lstrip(output[15]), "├├ ")
889-
@test occursin("g28442b", output[15])
890-
891-
@test occursin("f28442b", output[19])
892-
893881
is_windows_32_bit = Sys.iswindows() && (Sys.WORD_SIZE == 32)
894882
if is_windows_32_bit
895883
# Assuming tests are broken on 32-bit Windows as above, no need to repeat loose tests here.
896884
else
885+
@test startswith(lstrip(output[8]), "┌┌ ")
886+
@test occursin("h28442b", output[8])
887+
@test startswith(lstrip(output[10]), "├├ ")
888+
@test occursin("g28442b", output[10])
889+
890+
@test startswith(lstrip(output[13]), "├┌ ")
891+
@test occursin("f28442b", output[13])
892+
@test startswith(lstrip(output[15]), "├├ ")
893+
@test occursin("g28442b", output[15])
894+
895+
@test occursin("f28442b", output[19])
896+
897897
@test occursin("repeated 10 times", output[7])
898898
@test lstrip(lstrip(output[8])[7:end])[1:4] == "[21]"
899899
@test lstrip(lstrip(output[10])[7:end])[1:4] == "[22]"

0 commit comments

Comments
 (0)