Skip to content

Commit

Permalink
Fix passing TestSuite closures under 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed May 20, 2020
1 parent 16ce431 commit 1dc2836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ for (rootpath, dirs, files) in walkdir(@__DIR__)
end
end
## GPUArrays testsuite
for (name, fun) in TestSuite.tests
for name in keys(TestSuite.tests)
push!(tests, "gpuarrays/$name")
test_runners["gpuarrays/$name"] = ()->fun(CuArray)
test_runners["gpuarrays/$name"] = ()->TestSuite.tests[name](CuArray)
end
unique!(tests)

Expand Down

0 comments on commit 1dc2836

Please sign in to comment.