]> Cypherpunks.ru repositories - gostls13.git/commit
test: make inline_callers.go test not inline the runtime
authorAustin Clements <austin@google.com>
Tue, 21 Nov 2017 22:55:18 +0000 (17:55 -0500)
committerAustin Clements <austin@google.com>
Wed, 22 Nov 2017 00:52:54 +0000 (00:52 +0000)
commite862f98d1e49eadac1b7f35a8c9d5c7610d37744
treedb3b4a380d7a3bec3ef5ea7f0d66a8c1d95a8130
parent1e3f563b145ad98d2a5fcd4809e25a6a0bc8f892
test: make inline_callers.go test not inline the runtime

CL 76551 modified inline_callers.go to build everything, including the
runtime, with -l=4. While that works in most places (and ideally
should work everywhere), it blows out the nosplit stack on
solaris/amd64.

Fix this by only building the test itself with -l=4.

This undoes some of the changes to this test from CL 73212, which
originally changed the go tool to rebuild all packages with the given
flags. This change modified the expected output of this test, so now
that we can go back to building only the test itself with inlining, we
revert these changes to the expected output. (That CL also changed
log.Fatalf to log.Printf, but didn't add "\n" to the end of the lines,
so this CL fixes that, too.)

Fixes #22797.

Change-Id: I6a91963a59ebe98edbe0921d8717af6b2c2191b0
Reviewed-on: https://go-review.googlesource.com/79197
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/inline_callers.go