Skip to content

Commit d57515f

Browse files
committed
Add upstream tests
1 parent 57d4c68 commit d57515f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

test/Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# A bug in Julia 1.6.0's Pkg causes Preferences to be dropped during `Pkg.test()`, so we work around
2-
# it by explicitly creating a `test/Project.toml` which will correctly communicate any preferences
3-
# through to the child Julia process. X-ref: https://github.com/JuliaLang/Pkg.jl/issues/2500
4-
51
[deps]
62
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
3+
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
4+
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
75
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
6+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
87
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
8+
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,3 +539,9 @@ end
539539
end
540540
@test FFTW.get_num_threads() == 2 # Unchanged
541541
end
542+
543+
@testset "AbstractFFTs upstream tests" begin
544+
include(joinpath(pathof(AbstractFFTs), "..", "..", "test", "testbackend.jl"))
545+
using .AbstractFFTsTestUtils
546+
test_fft_backend()
547+
end

0 commit comments

Comments
 (0)