]> Cypherpunks repositories - gostls13.git/commitdiff
test: fix fixedbugs/issue30908.go to work with no-opt builder
authorThan McIntosh <thanm@google.com>
Tue, 26 Mar 2019 16:05:25 +0000 (12:05 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 27 Mar 2019 17:53:36 +0000 (17:53 +0000)
Update the issue 30908 test to work with the no-opt builder
(this requires a corresponding change in the linker as well).
As part of this change, 'rundir' tests are now linked without
passing "-w" to the linker.

Updates #30908.
Fixes #31034.

Change-Id: Ic776e1607075c295e409e1c8230aaf55a79a6323
Reviewed-on: https://go-review.googlesource.com/c/go/+/169161
Reviewed-by: Ian Lance Taylor <iant@golang.org>
test/fixedbugs/issue30908.go

index 8863b396aa7b643acec6e0813922e6675ea2f612..60fbd11457fb5973c2c543c98b442144d078916b 100644 (file)
@@ -1,4 +1,4 @@
-// rundir -P -l=4 -ldflags -strictdups=2
+// rundir -P -ldflags -strictdups=2 -w=0
 
 // Copyright 2019 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style