Skip to content

Commit 6ab49cc

Browse files
committed
Comment out reverse tests that are making it hang on nigthtly
1 parent ce85296 commit 6ab49cc

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

test/reverse.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,16 @@ let var"'" = Diffractor.PrimeDerivativeBack
9898
# TODO This currently causes a segfault, c.f. https://github.com/JuliaLang/julia/pull/48742
9999
# @test @inferred(complicated_2sin''''(1.0)) == 2sin''''(1.0) broken=true
100100

101-
# Control flow cases
101+
# Control flow cases:
102+
# if
102103
@test @inferred((x->simple_control_flow(true, x))'(1.0)) == sin'(1.0)
103104
@test @inferred((x->simple_control_flow(false, x))'(1.0)) == cos'(1.0)
104105
@test (x->sum(isa_control_flow(Matrix{Float64}, x)))'(Float32[1 2;]) == [1.0 1.0;]
105-
@test times_three_while'(1.0) == 3.0
106-
106+
107+
# while
108+
# @test times_three_while'(1.0) == 3.0 # hangs in 1.11
107109
pow5p(x) = (x->mypow(x, 5))'(x)
108-
@test pow5p(1.0) == 5.0
110+
#@test pow5p(1.0) == 5.0 # hangs in 1.11
109111
end
110112

111113
end

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const bwd = Diffractor.PrimeDerivativeBack
2424
"AbstractDifferentiationTests.jl"
2525
#"pinn.jl", # Higher order control flow not yet supported (https://github.com/JuliaDiff/Diffractor.jl/issues/24)
2626
)
27+
@info "testing" file
2728
include(file)
2829
end
2930

0 commit comments

Comments
 (0)