diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-07-26 01:57:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-07-26 01:57:04 +0000 |
commit | 1fae9801e45958493870828b44c64726609c7500 (patch) | |
tree | 327ba5fd7f5170e2e9e56e5a3503f6a733ffaed4 /libgo/go | |
parent | f34ee0b290fe3e188bcda2985c071b031381a67b (diff) | |
download | gcc-1fae9801e45958493870828b44c64726609c7500.zip gcc-1fae9801e45958493870828b44c64726609c7500.tar.gz gcc-1fae9801e45958493870828b44c64726609c7500.tar.bz2 |
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
From-SVN: r189878
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/runtime/pprof/pprof_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/go/runtime/pprof/pprof_test.go b/libgo/go/runtime/pprof/pprof_test.go index 82bb2a2..e933058 100644 --- a/libgo/go/runtime/pprof/pprof_test.go +++ b/libgo/go/runtime/pprof/pprof_test.go @@ -71,7 +71,8 @@ func TestCPUProfile(t *testing.T) { if f == nil { continue } - if strings.Contains(f.Name(), "ChecksumIEEE") { + if strings.Contains(f.Name(), "ChecksumIEEE") || + (strings.Contains(f.Name(), "update") && strings.Contains(f.Name(), "crc32")) { found = true } } |