Skip to content

Commit 1d6b62e

Browse files
committed
Move the testsuite outside of the main package sources.
1 parent a20368e commit 1d6b62e

16 files changed

+10
-7
lines changed

Project.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@ version = "1.0.4"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
7-
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
8-
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
97
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
108
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
119
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1210
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1311
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1412

13+
[extras]
14+
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
15+
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
16+
17+
[targets]
18+
test = ["FFTW", "FillArrays"]
19+
1520
[compat]
1621
Adapt = "0.4.1, 1.0"
17-
FFTW = "0.2, 0.3, 1.0"
18-
FillArrays = "0.3, 0.4, 0.5, 0.6, 0.7"
1922
julia = "1.0"

src/GPUArrays.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ include("random.jl")
3636
# CPU implementation
3737
include("array.jl")
3838

39-
include("testsuite.jl")
40-
4139
include("quirks.jl")
4240

4341
end # module

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
using GPUArrays, Test
22

3+
include("testsuite.jl")
4+
35
@testset "JLArray" begin
4-
GPUArrays.test(JLArray)
6+
test(JLArray)
57
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)