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 coverpkg and covermode are not defined. Were they left out intentionally ? My call is like below: *# packageName, packagePath and coverPkgs are passed dynamically.* *go test $packageName -gcflags -e -v -c -o=test_binary* *./test_binary -test.coverpkg=$coverPkgs -test.covermode=count -test.coverprofile=$packagePath"/"c.out* The reason I am running this separately is I want the go test to not use package directory as its working directory, I want it to be different. Thanks, Vivek. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.