From 39ffaed75bddd70d0a36f137d45af52766e6e126 Mon Sep 17 00:00:00 2001 From: mattsignorelli Date: Sun, 15 Sep 2024 15:34:59 -0400 Subject: [PATCH] only 1.10 allocations testing --- test/runtests.jl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 9656ed8..5aba77a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1510,7 +1510,9 @@ end @test_opt benchmark_GTPSA3() end - +# allocations only works on 1.10 +# maybe 1.9 includes the macro call allocations? +if VERSION > v"1.9" @testset "FastGTPSA - Allocations" begin d = Descriptor(1, 5) @@ -2142,7 +2144,7 @@ end @test GTPSA.checktemps() end - +end @testset "FastGTPSA - Broadcasting" begin d = Descriptor(1, 5) @@ -5703,6 +5705,8 @@ end @test GTPSA.checktemps() end +if VERSION > v"1.9" + @testset "FastGTPSA - Broadcast allocations" begin d = Descriptor(1,5) w = [[ComplexTPS64()] for i in 1:248] @@ -6195,6 +6199,8 @@ end @test GTPSA.checktemps() end +end + @testset "Taylor map benchmark against ForwardDiff" begin include("../benchmark/track.jl") map = benchmark_GTPSA2()