Skip to content

Commit

Permalink
Fix version and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Aug 20, 2023
1 parent 91f27bc commit 300f56b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/filter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ using HDF5.Filters: ExternalFilter, isavailable, isencoderenabled, isdecoderenab
@static if Sys.iswindow()
# This broke again on Windows
@test_broken HDF5.API.h5z_filter_avail(HDF5.API.H5Z_FILTER_SZIP)
elseif VERSION v"1.6" ||
HDF5.API.h5_get_libversion() >= v"1.14.0"
elseif VERSION v"1.6" || HDF5.API.h5_get_libversion() >= v"1.14.0"
# SZIP via libaec_jll should be available in HDF5_jll 1.14 builds and beyond
@test HDF5.API.h5z_filter_avail(HDF5.API.H5Z_FILTER_SZIP)
elseif HDF5.API.h5_get_libversion() >= v"1.12.0"
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using HDF5
using Test
using Pkg
filter_path = joinpath(dirname(pathof(HDF5)), "..", "filters")
@static if VERSION > v"1.3"
@static if VERSION v"1.6"
if !Base.BinaryPlatforms.CPUID.test_cpu_feature(Base.BinaryPlatforms.CPUID.JL_X86_avx2)
Pkg.add(PackageSpec(; name="Blosc_jll", version=v"1.21.2+0"))
end
Expand Down

0 comments on commit 300f56b

Please sign in to comment.