Skip to content

Commit 4438c41

Browse files
committed
disables some heavily nested AD tests for now
1 parent 72d5649 commit 4438c41

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/runtests.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ let var"'" = Diffractor.PrimeDerivativeBack
9595
@test @inferred(sin'(1.0)) == cos(1.0)
9696
@test sin''(1.0) == -sin(1.0)
9797
@test sin'''(1.0) == -cos(1.0)
98-
@test sin''''(1.0) == sin(1.0)
99-
@test sin'''''(1.0) == cos(1.0)
100-
@test sin''''''(1.0) == -sin(1.0)
98+
# TODO These currently cause segfaults c.f. https://github.com/JuliaLang/julia/pull/48742
99+
# @test sin''''(1.0) == sin(1.0)
100+
# @test sin'''''(1.0) == cos(1.0)
101+
# @test sin''''''(1.0) == -sin(1.0)
101102

102103
f_getfield(x) = getfield((x,), 1)
103104
@test f_getfield'(1) == 1
@@ -110,7 +111,8 @@ let var"'" = Diffractor.PrimeDerivativeBack
110111
@test @inferred(complicated_2sin'(1.0)) == 2sin'(1.0)
111112
@test @inferred(complicated_2sin''(1.0)) == 2sin''(1.0) broken=true
112113
@test @inferred(complicated_2sin'''(1.0)) == 2sin'''(1.0) broken=true
113-
@test @inferred(complicated_2sin''''(1.0)) == 2sin''''(1.0) broken=true
114+
# TODO This currently causes a segfault, c.f. https://github.com/JuliaLang/julia/pull/48742
115+
# @test @inferred(complicated_2sin''''(1.0)) == 2sin''''(1.0) broken=true
114116

115117
# Control flow cases
116118
@test @inferred((x->simple_control_flow(true, x))'(1.0)) == sin'(1.0)

0 commit comments

Comments
 (0)