Skip to content

Commit 6c9dc96

Browse files
committed
Switch to symbols instead of using the types directly
1 parent d25bd80 commit 6c9dc96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/runtests.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ParallelTestRunner
2-
using JLArrays
32

43
include("testsuite.jl")
54

@@ -9,14 +8,14 @@ const init_code = quote
98
include("testsuite.jl")
109

1110
# Disable Float16-related tests until JuliaGPU/KernelAbstractions#600 is resolved
12-
@static if isdefined(JLArrays.KernelAbstractions, :POCL)
11+
if isdefined(JLArrays.KernelAbstractions, :POCL)
1312
TestSuite.supported_eltypes(::Type{<:JLArray}) =
1413
setdiff(TestSuite.supported_eltypes(), [Float16, ComplexF16])
1514
end
1615
end
1716

1817
custom_tests = Dict{String, Expr}()
19-
for AT in (JLArray, Array), name in keys(TestSuite.tests)
18+
for AT in (:JLArray, :Array), name in keys(TestSuite.tests)
2019
custom_tests["$(AT)/$name"] = :(TestSuite.tests[$name]($AT))
2120
end
2221

0 commit comments

Comments
 (0)