Skip to content

Commit

Permalink
Disable checking pvd files on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dingraha committed Aug 7, 2024
1 parent a31d6ba commit 09407d9
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions test/writevtk_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ end
@test sha_str == sha_str_check
end

fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
if !Sys.iswindows()
fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
end

end

Expand Down Expand Up @@ -76,10 +78,12 @@ end

end

fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
if !Sys.iswindows()
fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
end

end

Expand Down Expand Up @@ -124,10 +128,12 @@ end

end

fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
if !Sys.iswindows()
fname = "$(name).pvd"
sha_str = bytes2hex(open(sha1, fname))
sha_str_check = bytes2hex(open(sha1, joinpath(@__DIR__, "writevtk", fname)))
@test sha_str == sha_str_check
end

end

Expand Down

0 comments on commit 09407d9

Please sign in to comment.