From dca120a2f5c5b882bbe938bdab48b8b628da6958 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Wed, 25 Dec 2024 23:22:23 -0500 Subject: [PATCH] tres --- test/setup.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/setup.jl b/test/setup.jl index 611d048c..421ef6dc 100644 --- a/test/setup.jl +++ b/test/setup.jl @@ -10,15 +10,15 @@ if !Sys.isapple() Sys.exit() else # if Sys.isapple() archchecker = occursin(read(`xcrun metal-arch`, String)) - @info "testing the continue works to exit if statements like with for loops" if archchecker("Paravirtual") # Virtualized graphics (probably Github Actions runners) @info """Metal.jl succesfully loaded on macOS system with unsupported Paravirtual graphics. Skipping tests.""" + Sys.exit() elseif !archchecker("applegpu") # Every other unsupported system (Intel or AMD graphics) @info """Metal.jl succesfully loaded on macOS system with unsupported graphics. - Skipping tests.""" + (not) Skipping tests.""" + # Sys.exit() end - Sys.exit() end Metal.functional() || error("Metal.jl is not functional on this system")