}
func TestCPUProfileMultithreaded(t *testing.T) {
+ // TODO(brainman): delete when issue 6986 is fixed.
+ if runtime.GOOS == "windows" && runtime.GOARCH == "amd64" {
+ t.Skip("skipping broken test on windows-amd64-race")
+ }
buf := make([]byte, 100000)
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
testCPUProfile(t, []string{"crc32.ChecksumIEEE", "crc32.Update"}, func() {
// Test that profiling of division operations is okay, especially on ARM. See issue 6681.
func TestMathBigDivide(t *testing.T) {
+ // TODO(brainman): delete when issue 6986 is fixed.
+ if runtime.GOOS == "windows" && runtime.GOARCH == "amd64" {
+ t.Skip("skipping broken test on windows-amd64-race")
+ }
testCPUProfile(t, nil, func() {
t := time.After(5 * time.Second)
pi := new(big.Int)