@@ -45,44 +45,44 @@ include("test_util.jl")
45
45
# groups are chosen to make both groups take roughly the same amount of
46
46
# time, but beyond that there is no particular reason for the split.
47
47
if GROUP == " All" || GROUP == " Group1"
48
- include (" utils.jl" )
49
- include (" compiler.jl" )
50
- include (" varnamedvector.jl" )
51
- include (" varinfo.jl" )
52
- include (" simple_varinfo.jl" )
53
- include (" model.jl" )
54
- include (" sampler.jl" )
55
- include (" independence.jl" )
56
- include (" distribution_wrappers.jl" )
57
- include (" logdensityfunction.jl" )
58
- include (" linking.jl" )
59
- include (" serialization.jl" )
60
- include (" pointwise_logdensities.jl" )
61
- include (" lkj.jl" )
62
- include (" deprecated.jl" )
48
+ # include("utils.jl")
49
+ # include("compiler.jl")
50
+ # include("varnamedvector.jl")
51
+ # include("varinfo.jl")
52
+ # include("simple_varinfo.jl")
53
+ # include("model.jl")
54
+ # include("sampler.jl")
55
+ # include("independence.jl")
56
+ # include("distribution_wrappers.jl")
57
+ # include("logdensityfunction.jl")
58
+ # include("linking.jl")
59
+ # include("serialization.jl")
60
+ # include("pointwise_logdensities.jl")
61
+ # include("lkj.jl")
62
+ # include("deprecated.jl")
63
63
end
64
64
65
65
if GROUP == " All" || GROUP == " Group2"
66
- include (" contexts.jl" )
67
- include (" context_implementations.jl" )
68
- include (" threadsafe.jl" )
69
- include (" debug_utils.jl" )
70
- @testset " compat" begin
71
- include (joinpath (" compat" , " ad.jl" ))
72
- end
73
- @testset " extensions" begin
74
- include (" ext/DynamicPPLMCMCChainsExt.jl" )
75
- include (" ext/DynamicPPLJETExt.jl" )
76
- end
77
- @testset " ad" begin
78
- include (" ext/DynamicPPLForwardDiffExt.jl" )
79
- include (" ext/DynamicPPLMooncakeExt.jl" )
80
- include (" ad.jl" )
81
- end
82
- @testset " prob and logprob macro" begin
83
- @test_throws ErrorException prob " ..."
84
- @test_throws ErrorException logprob " ..."
85
- end
66
+ # include("contexts.jl")
67
+ # include("context_implementations.jl")
68
+ # include("threadsafe.jl")
69
+ # include("debug_utils.jl")
70
+ # @testset "compat" begin
71
+ # include(joinpath("compat", "ad.jl"))
72
+ # end
73
+ # @testset "extensions" begin
74
+ # include("ext/DynamicPPLMCMCChainsExt.jl")
75
+ # include("ext/DynamicPPLJETExt.jl")
76
+ # end
77
+ # @testset "ad" begin
78
+ # include("ext/DynamicPPLForwardDiffExt.jl")
79
+ # include("ext/DynamicPPLMooncakeExt.jl")
80
+ # include("ad.jl")
81
+ # end
82
+ # @testset "prob and logprob macro" begin
83
+ # @test_throws ErrorException prob"..."
84
+ # @test_throws ErrorException logprob"..."
85
+ # end
86
86
@testset " doctests" begin
87
87
DocMeta. setdocmeta! (
88
88
DynamicPPL,
@@ -91,18 +91,6 @@ include("test_util.jl")
91
91
recursive= true ,
92
92
)
93
93
doctestfilters = [
94
- # Older versions will show "0 element Array" instead of "Type[]".
95
- r" (Any\[\] |0-element Array{.+,[0-9]+})" ,
96
- # Older versions will show "Array{...,1}" instead of "Vector{...}".
97
- r" (Array{.+,\s ?1}|Vector{.+})" ,
98
- # Older versions will show "Array{...,2}" instead of "Matrix{...}".
99
- r" (Array{.+,\s ?2}|Matrix{.+})" ,
100
- # Errors from macros sometimes result in `LoadError: LoadError:`
101
- # rather than `LoadError:`, depending on Julia version.
102
- r" ERROR: (LoadError:\s )+" ,
103
- # Older versions do not have `;;]` but instead just `]` at end of the line
104
- # => need to treat `;;]` and `]` as the same, i.e. ignore them if at the end of a line
105
- r" (;;){0,1}\] $" m ,
106
94
# Ignore the source of a warning in the doctest output, since this is dependent on host.
107
95
# This is a line that starts with "└ @ " and ends with the line number.
108
96
r" └ @ .+:[0-9]+" ,
0 commit comments