Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable h5a_iterate and h5l_iterate assertion tests #1155

Merged
merged 3 commits into from
Jun 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ using HDF5, Test
@test names == ["a"]

# Julia error
#=
@test_throws AssertionError HDF5.API.h5a_iterate(
f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC
) do loc, name, info
Expand All @@ -50,6 +51,7 @@ using HDF5, Test
) do loc, name, info
return -1
end
=#
end

@testset "h5l_iterate" begin
Expand Down Expand Up @@ -89,6 +91,7 @@ end
end == 1
@test names == ["a"]

#=
# HDF5 error
@test_throws HDF5.API.H5Error HDF5.API.h5l_iterate(
f, HDF5.API.H5_INDEX_NAME, HDF5.API.H5_ITER_INC
Expand All @@ -102,6 +105,7 @@ end
) do loc, name, info
@assert false
end
=#
end

@testset "h5dchunk_iter" begin
Expand Down
Loading