Skip to content

Commit 8b1bf4c

Browse files
authored
Disable a couple of errorshow tests on FreeBSD (#30428)
These two specific errorshow tests work on FreeBSD debug builds, like what we run on CI, but they fail with regular FreeBSD builds. The buildbots that upload nightly binaries ensure that the tests pass prior to uploading, and the fact that this doesn't pass on regular builds is what's keeping us from having FreeBSD nightly binaries. See issue 30233.
1 parent 8604233 commit 8b1bf4c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/errorshow.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,11 @@ end
535535
@test occursin("g28442", output[3])
536536
@test output[4][1:4] == " [2]"
537537
@test occursin("f28442", output[4])
538-
@test occursin("the last 2 lines are repeated 5000 more times", output[5])
539-
@test output[6][1:8] == " [10003]"
538+
# Issue #30233
539+
# Note that we can't use @test_broken on FreeBSD here, because the tests actually do
540+
# pass with some compilation options, e.g. with assertions enabled
541+
if !Sys.isfreebsd()
542+
@test occursin("the last 2 lines are repeated 5000 more times", output[5])
543+
@test output[6][1:8] == " [10003]"
544+
end
540545
end

0 commit comments

Comments
 (0)