diff --git a/Manifest.toml b/Manifest.toml index 3e7d07ba87292..68f3c02b1fde0 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -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"] diff --git a/Project.toml b/Project.toml index 2a96fdd4ab1f0..19f300222d92e 100644 --- a/Project.toml +++ b/Project.toml @@ -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"] diff --git a/test/utils.jl b/test/utils.jl index da631aa9658e3..fc78fa12a51e4 100644 --- a/test/utils.jl +++ b/test/utils.jl @@ -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)) @@ -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)