From fc649a344f68bd0bf691b6a73edf1a9d737e99db Mon Sep 17 00:00:00 2001 From: Yichao Yu Date: Sun, 4 Sep 2016 04:36:56 -0400 Subject: [PATCH] Do no disable inlining when coverage is enabled. Fix #17476 --- base/pkg/entry.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/pkg/entry.jl b/base/pkg/entry.jl index 6a0cf4dda1f6b..2ee766521ec9c 100644 --- a/base/pkg/entry.jl +++ b/base/pkg/entry.jl @@ -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`)