Thanks, this works fine.

On Sun, Apr 10 2016, Kristoffer Carlsson wrote:

> Pkg.test spawns a new instance of julia (with its own arguments'). 
>  Pkg.test("MyPackage"; coverage=true) should do it. 
>
> On Sunday, April 10, 2016 at 2:36:46 PM UTC+2, Tamas Papp wrote:
>>
>> Hi, 
>>
>> I am just learning about code coverage tools. I thought 
>>
>> julia --code-coverage=user --inline=no -e 'Pkg.test("MyPackage")' 
>>
>> would put .cov files in 
>>
>> Pkg.dir("MyPackage","src") 
>>
>> but apparently it doesn't. What should I do differently? 
>>
>> (VERSION v"0.4.5", amd64 binaries from website.) 
>>
>> Best, 
>>
>> Tamas 
>>

Reply via email to