Skip to content

Commit

Permalink
Fix runtests
Browse files Browse the repository at this point in the history
  • Loading branch information
GiackAloZ committed Oct 29, 2024
1 parent 19b8763 commit 0fef75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function runtests()
@warn "Test Skip: All AMDGPU tests will be skipped because AMDGPU is not functional (if this is unexpected type `import AMDGPU; AMDGPU.functional()` to debug your AMDGPU installation)."
end

if (PKG_METAL in SUPPORTED_PACKAGES && !Metal.functional())
if (PKG_METAL in SUPPORTED_PACKAGES && (!Sys.isapple() || !Metal.functional()))
@warn "Test Skip: All Metal tests will be skipped because Metal is not functional (if this is unexpected type `import Metal; Metal.functional()` to debug your Metal installation)."
end

Expand Down

0 comments on commit 0fef75d

Please sign in to comment.