FAQ
Hi,

Currently `cover` does not fully instrument cgo packages. This is
scheduled to be worked on for 1.3

https://code.google.com/p/go/issues/detail?id=6333

Cheers

Dave
On Thu, Dec 5, 2013 at 9:59 PM, Hoping White wrote:
Hi, all

I have tried to test coverage for "github.com/idada/go-v8", but always
get only v8_global.go, other files ignored.

#go test -coverprofile a.out
#cat a.out
mode: set
github.com/idada/go-v8/v8_global.go:12.13,14.2 1 1
github.com/idada/go-v8/v8_global.go:20.52,22.2 1 1
github.com/idada/go-v8/v8_global.go:24.57,26.2 1 1

I don't know why, does go coverage tool support cgo?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 5, '13 at 10:59a
activeDec 5, '13 at 11:05a
posts2
users2
websitegolang.org

2 users in discussion

Dave Cheney: 1 post Hoping White: 1 post

People

Translate

site design / logo © 2022 Grokbase