]> Cypherpunks repositories - gostls13.git/commit
misc/cgo: disable TestAllocateFromC in wbshadow mode
authorRuss Cox <rsc@golang.org>
Tue, 6 Jan 2015 18:46:13 +0000 (13:46 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 6 Jan 2015 22:22:59 +0000 (22:22 +0000)
commit949dd102229453f8fb55816ea9c33fc762324780
tree16e61f56fd6361d91739d967d1d90a4ec5375d7e
parentf5f69bba3b0d2563d56eff0935f32d7b252c7df6
misc/cgo: disable TestAllocateFromC in wbshadow mode

This test is doing pointer graph manipulation from C, and we
cannot support that with concurrent GC. The wbshadow mode
correctly diagnoses missing write barriers.

Disable the test in that mode for now. There is a bigger issue
behind it, namely SWIG, but for now we are focused on making
all.bash pass with wbshadow enabled.

Change-Id: I55891596d4c763e39b74082191d4a5fac7161642
Reviewed-on: https://go-review.googlesource.com/2346
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
misc/cgo/test/callback.go