[go-nuts] Re: Missing test flags (coverpkg and covermode) while running test binary

2016-11-04 Thread Vivekanand SV
It worked. In my last try the multiple packages that I generated were not comma separated, once I fixed that everything worked fine. On Friday, 4 November 2016 14:50:00 UTC+5:30, Vivekanand SV wrote: > > I tried few things and the following worked for me > > *go test -c -coverpkg=

[go-nuts] Re: Missing test flags (coverpkg and covermode) while running test binary

2016-11-04 Thread Vivekanand SV
kages*". Is there any way I can workaround this problem ? On Thursday, 3 November 2016 19:24:36 UTC+5:30, Vivekanand SV wrote: > > Hi, > > > I have a setup where I first generate binary and then run the binary > for the test cases. I was able to do that successfully f

[go-nuts] Missing test flags (coverpkg and covermode) while running test binary

2016-11-03 Thread Vivekanand SV
Hi, I have a setup where I first generate binary and then run the binary for the test cases. I was able to do that successfully for basic things, but when I want to pass the coverpkg flag to the binary it doesn't work as it is not defined. I can see only coverprofile is defined while cover