]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof/internal/protopprof: fix test on s390x
authorMichael Munday <munday@ca.ibm.com>
Tue, 22 Nov 2016 20:39:51 +0000 (15:39 -0500)
committerMichael Munday <munday@ca.ibm.com>
Tue, 22 Nov 2016 20:57:16 +0000 (20:57 +0000)
commit5508561180950534fd623fb61a8a8f357ad50e4c
tree4eeec0ffc9fe97b8a28eb3a6dced5a8b4419a159
parentf9feaffdf51967bc5cf3c9363db9ddee98c9b3a0
runtime/pprof/internal/protopprof: fix test on s390x

Applies the fix from CL 32920 to the new test TestSampledHeapAllocProfile
introduced in CL 33422. The test should be skipped rather than fail if
there is only one executable region of memory.

Updates #17852.

Change-Id: Id8c47b1f17ead14f02a58a024c9a04ebb8ec0429
Reviewed-on: https://go-review.googlesource.com/33453
Run-TryBot: Michael Munday <munday@ca.ibm.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/pprof/internal/protopprof/protomemprofile_test.go