Blame golang-1.2-skipCpuProfileTest.patch
|
Vincent Batts |
25b1d04 |
diff -r 87dea3f5ebe7 src/pkg/runtime/pprof/pprof_test.go
|
|
Vincent Batts |
25b1d04 |
--- a/src/pkg/runtime/pprof/pprof_test.go Fri Nov 29 08:32:31 2013 +1100
|
|
Vincent Batts |
25b1d04 |
+++ b/src/pkg/runtime/pprof/pprof_test.go Fri Jan 24 13:47:42 2014 -0500
|
|
Vincent Batts |
25b1d04 |
@@ -32,7 +32,7 @@
|
|
Vincent Batts |
25b1d04 |
})
|
|
Vincent Batts |
25b1d04 |
}
|
|
Vincent Batts |
25b1d04 |
|
|
Vincent Batts |
25b1d04 |
-func TestCPUProfileMultithreaded(t *testing.T) {
|
|
Vincent Batts |
25b1d04 |
+func testCPUProfileMultithreaded(t *testing.T) {
|
|
Vincent Batts |
25b1d04 |
buf := make([]byte, 100000)
|
|
Vincent Batts |
25b1d04 |
defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2))
|
|
Vincent Batts |
25b1d04 |
testCPUProfile(t, []string{"crc32.ChecksumIEEE", "crc32.Update"}, func() {
|