Skip to content

Commit

Permalink
Merge pull request #104 from JuliaDebug/teh/fix_101
Browse files Browse the repository at this point in the history
Work around #101
  • Loading branch information
timholy authored Mar 6, 2019
2 parents 832e182 + 5872f78 commit 22c954c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Distributed", "Random", "Dates"]
test = ["Test", "Distributed", "Random", "Dates", "SHA"]
4 changes: 3 additions & 1 deletion test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using JuliaInterpreter: finish_and_return!, @lookup, evaluate_call!, _step_expr!
do_assignment!, getlhs, isassign, pc_expr, handle_err, get_return,
moduleof, prepare_thunk
using Base.Meta: isexpr
using Test, Random
using Test, Random, SHA

# Execute a frame using Julia's regular compiled-code dispatch for any :call expressions
runframe(frame, pc=frame.pc[]) = Some{Any}(finish_and_return!(Compiled(), frame, pc))
Expand Down Expand Up @@ -157,6 +157,8 @@ function configure_test()
push!(cm, which(Base.include, Tuple{Module, String}))
push!(cm, which(Base.show_backtrace, Tuple{IO, Vector}))
push!(cm, which(Base.show_backtrace, Tuple{IO, Vector{Any}}))
# issue #101
push!(cm, which(SHA.update!, Tuple{SHA.SHA1_CTX,Vector{UInt8}}))
end

function run_test_by_eval(test, fullpath, nstmts)
Expand Down

0 comments on commit 22c954c

Please sign in to comment.