diff --git a/test/event.jl b/test/event.jl index 578ab830..3c090d8d 100644 --- a/test/event.jl +++ b/test/event.jl @@ -1,4 +1,4 @@ -if backend in ["POCL", "Intel"] +if backend in ["pocl", "intel"] # unsupported by POCL # hangs on Intel @warn "Skipping event tests" diff --git a/test/program.jl b/test/program.jl index c2b99b70..d51b0c3f 100644 --- a/test/program.jl +++ b/test/program.jl @@ -51,7 +51,7 @@ @test prg[:source] == test_source end - if backend == "POCL" + if backend == "pocl" @warn "Skipping binary program tests" else @testset "binaries" begin diff --git a/test/runtests.jl b/test/runtests.jl index 494c819e..a2b168bc 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,8 +1,8 @@ using Test using OpenCL -backend = get(ENV, "JULIA_OPENCL_BACKEND", "POCL") -if backend == "POCL" +backend = lowercase(get(ENV, "JULIA_OPENCL_BACKEND", "pocl")) +if backend == "pocl" using pocl_jll end cl.platform!(backend)