diff --git a/test/runtests.jl b/test/runtests.jl index 5a1338ab4e..dddfe59e90 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1211,14 +1211,18 @@ end R = zeros(6,6) dR = zeros(6, 6) - autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR)) - - @test 1.0 ≈ dR[1, 1] - @test 1.0 ≈ dR[2, 2] - @test 1.0 ≈ dR[3, 3] - @test 1.0 ≈ dR[4, 4] - @test 1.0 ≈ dR[5, 5] - @test 0.0 ≈ dR[6, 6] + + @static if VERSION ≥ v"1.10-" + @test_broken autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR)) + else + autodiff(Reverse, whocallsmorethan30args, Active, Duplicated(R, dR)) + @test 1.0 ≈ dR[1, 1] + @test 1.0 ≈ dR[2, 2] + @test 1.0 ≈ dR[3, 3] + @test 1.0 ≈ dR[4, 4] + @test 1.0 ≈ dR[5, 5] + @test 0.0 ≈ dR[6, 6] + end end @testset "invoke" begin