Skip to content

Commit 6f2955b

Browse files
committed
try a different seed
1 parent 3698d27 commit 6f2955b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

test/fuzz.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include("fuzzlib.jl")
22

33
using Random: seed!
44

5-
seed!(6174)
5+
seed!(8259)
66
@time @testset "expand fuzz" begin
77
for i=1:500
88
i % 100 == 0 && @info "expand fuzz" iter=i

test/fuzzlib.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ function gen_rand_expr(inputs;
9393
depth=depth+1,
9494
min_depth=min_depth,
9595
max_depth=max_depth) for i in 1:arity]
96-
@show f
97-
@show args
9896
try
9997
return f(args...)
10098
catch err
@@ -123,7 +121,6 @@ function fuzz_test(ntrials, spec, simplify=simplify;kwargs...)
123121
inputs = Set()
124122
expr = gen_rand_expr(inputs; spec=spec, kwargs...)
125123
inputs = collect(inputs)
126-
@show expr
127124
code = try
128125
SymbolicUtils.Code.toexpr(expr)
129126
catch err
@@ -142,12 +139,9 @@ function fuzz_test(ntrials, spec, simplify=simplify;kwargs...)
142139
"""
143140
f = include_string(Main, unsimplifiedstr)
144141
g = include_string(Main, simplifiedstr)
145-
@show unsimplifiedstr
146-
@show simplifiedstr
147142

148143
for i=1:ntrials
149144
args = [spec.input(i) for i in inputs]
150-
@show args
151145
unsimplified = try
152146
Base.invokelatest(f, args...)
153147
catch err

0 commit comments

Comments
 (0)