Skip to content

Commit 5872f78

Browse files
committed
Work around #101
1 parent c0e481d commit 5872f78

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Manifest.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
55

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

1212
[[Distributed]]
1313
deps = ["Random", "Serialization", "Sockets"]

Project.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1212
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
1313
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
1414
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
15+
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
1516
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1617

1718
[targets]
18-
test = ["Test", "Distributed", "Random", "Dates"]
19+
test = ["Test", "Distributed", "Random", "Dates", "SHA"]

test/utils.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using JuliaInterpreter: finish_and_return!, @lookup, evaluate_call!, _step_expr!
44
do_assignment!, getlhs, isassign, pc_expr, handle_err, get_return,
55
moduleof, prepare_thunk
66
using Base.Meta: isexpr
7-
using Test, Random
7+
using Test, Random, SHA
88

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

162164
function run_test_by_eval(test, fullpath, nstmts)

0 commit comments

Comments
 (0)