Skip to content

Commit

Permalink
mark summarysize test as broken with TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Nov 29, 2023
1 parent fe01b63 commit c930f7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/reading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,17 @@
if occursin("annie_oakley", name)
framestack = VideoIO.load(testvid_path)
@test length(framestack) == VideoIO.TestVideos.videofiles[name].numframes
if VERSION < v"1.6.3"
# TODO: Replace this with a content check as summarysize is not stable across julia versions
if VERSION < v"1.6.3" || VERSION > v"1.11.0-0"
@test_broken Base.summarysize(framestack) == VideoIO.TestVideos.videofiles[name].summarysize
else
@test Base.summarysize(framestack) == VideoIO.TestVideos.videofiles[name].summarysize
end
f = File{DataFormat{:OGG}}(testvid_path)
framestack = VideoIO.fileio_load(f)
@test length(framestack) == VideoIO.TestVideos.videofiles[name].numframes
if VERSION < v"1.6.3"
# TODO: Replace this with a content check as summarysize is not stable across julia versions
if VERSION < v"1.6.3" || VERSION > v"1.11.0-0"
@test_broken Base.summarysize(framestack) == VideoIO.TestVideos.videofiles[name].summarysize
else
@test Base.summarysize(framestack) == VideoIO.TestVideos.videofiles[name].summarysize
Expand Down

0 comments on commit c930f7f

Please sign in to comment.