Skip to content

Commit

Permalink
Do not disable inlining when coverage is enabled.
Browse files Browse the repository at this point in the history
Fix #17476
  • Loading branch information
yuyichao committed Sep 6, 2016
1 parent e03bd4d commit d412202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/pkg/entry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ function test!(pkg::AbstractString,
cd(dirname(test_path)) do
try
color = Base.have_color? "--color=yes" : "--color=no"
codecov = coverage? ["--code-coverage=user", "--inline=no"] : ["--code-coverage=none"]
codecov = coverage? ["--code-coverage=user"] : ["--code-coverage=none"]
compilecache = "--compilecache=" * (Bool(Base.JLOptions().use_compilecache) ? "yes" : "no")
julia_exe = Base.julia_cmd()
run(`$julia_exe --check-bounds=yes $codecov $color $compilecache $test_path`)
Expand Down

0 comments on commit d412202

Please sign in to comment.