Skip to content

Commit

Permalink
Propagate track-allocation option to test process. (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoolen authored and KristofferC committed Aug 4, 2018
1 parent 545ffd5 commit 62b35b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/Pkg/src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,8 @@ function test(ctx::Context, pkgs::Vector{PackageSpec}; coverage=false)
--color=$(Base.have_color ? "yes" : "no")
--compiled-modules=$(Bool(Base.JLOptions().use_compiled_modules) ? "yes" : "no")
--check-bounds=yes
--startup-file=$(Base.JLOptions().startupfile != 2 ? "yes" : "no")
--startup-file=$(Base.JLOptions().startupfile == 1 ? "yes" : "no")
--track-allocation=$(("none", "user", "all")[Base.JLOptions().malloc_log + 1])
--eval $code
```
run_test = () -> begin
Expand Down

0 comments on commit 62b35b4

Please sign in to comment.