Skip to content

Commit 5faec6b

Browse files
committed
Backwards compatibility with Test.jl.
1 parent 1a5f6ee commit 5faec6b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

test/runtests.jl

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
using GPUArrays, XUnit
1+
using GPUArrays
22

3-
@testset "GPUArrays" runner=ParallelTestRunner() begin
3+
try
4+
using XUnit
5+
catch
6+
using Test
7+
@eval $(Symbol("@testcase")) = $(getfield(Test, Symbol("@testset")))
8+
end
9+
10+
@testset "GPUArrays" begin
411

512
include("testsuite.jl")
613

0 commit comments

Comments
 (0)