Skip to content

Commit

Permalink
Work around #101
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Mar 6, 2019
1 parent c0e481d commit 5872f78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

[[CodeTracking]]
deps = ["Test", "UUIDs"]
git-tree-sha1 = "591b73b37c92ed7d55d3a14e266829c21aa3a7eb"
git-tree-sha1 = "12aa4d41c7926afd7a71af5af603a4d8b94292c2"
uuid = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
version = "0.3.0"
version = "0.3.1"

[[Distributed]]
deps = ["Random", "Serialization", "Sockets"]
Expand Down
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 5872f78

Please sign in to comment.