File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name = " ParallelTestRunner"
22uuid = " d3525ed8-44d0-4b2c-a655-542cee43accc"
33authors = [" Valentin Churavy <v.churavy@gmail.com>" ]
4- version = " 2.4.0 "
4+ version = " 2.4.1 "
55
66[deps ]
77Dates = " ade2ca70-3891-5945-98fb-dc099432e06a"
Original file line number Diff line number Diff line change @@ -431,6 +431,20 @@ function test_exe(color::Bool=false)
431431 push! (test_exeflags. exec, " --depwarn=yes" )
432432 push! (test_exeflags. exec, " --project=$(Base. active_project ()) " )
433433 push! (test_exeflags. exec, " --color=$(color ? " yes" : " no" ) " )
434+
435+ opts = Base. JLOptions ()
436+ if opts. code_coverage == 1
437+ push! (test_exeflags. exec, " --code-coverage=user" )
438+ elseif opts. code_coverage == 2
439+ if opts. output_code_coverage != C_NULL
440+ push! (test_exeflags. exec, " --code-coverage=$(unsafe_string (opts. output_code_coverage)) " )
441+ else
442+ push! (test_exeflags. exec, " --code-coverage=all" )
443+ end
444+ elseif opts. code_coverage == 3
445+ push! (test_exeflags. exec, " --code-coverage=@$(unsafe_string (opts. tracked_path)) " )
446+ end
447+
434448 return test_exeflags
435449end
436450
You can’t perform that action at this time.
0 commit comments