Skip to content

Commit

Permalink
Disable h5a_iterate and h5l_iterate assertion tests (#1155)
Browse files Browse the repository at this point in the history
* Disable h5a_iterate and h5l_iterate assertion tests

* Do not push typeconversion code

* Disable both callback error tests
  • Loading branch information
mkitti authored Jun 2, 2024
1 parent 34bf471 commit fb52906
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit fb52906

Please sign in to comment.