]> Cypherpunks repositories - gostls13.git/commit
bytes: skip inline test by default
authorMarvin Stenger <marvin.stenger94@gmail.com>
Mon, 8 May 2017 11:18:15 +0000 (13:18 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 8 May 2017 15:16:21 +0000 (15:16 +0000)
commit8c49c06b48e008e82c68ccc634c5c9f006beeadc
treed5593f9c007ba4f098068c2d1e5aa9976cb6e39e
parentddcb975ffc05f4b41b063beb5613081fd081fce1
bytes: skip inline test by default

The test "TestTryGrowByResliceInlined" introduced in c08ac36 broke the
noopt builder as it fails when inlining is disabled.
Since there are currently no other options at hand for checking
inlined-ness other than looking at emited symbols of the compilation,
we for now skip the problem causing test by default and only run
it on one specific builder ("linux-amd64").
Also see CL 42813, which introduced the test and contains comments
suggesting this temporary solution.

Change-Id: I3978ab0831da04876cf873d78959f821c459282b
Reviewed-on: https://go-review.googlesource.com/42820
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/bytes/buffer_test.go