diff options
author | Josh Bleecher Snyder <josharian@gmail.com> | 2014-11-06 15:14:08 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-11-06 15:14:08 -0500 |
commit | 9b5444420cec4b576aff179f632ec60be64fd7f2 (patch) | |
tree | cb95eb1baecf6595d52e706b0f357d80a87934ac /test/linkx.go | |
parent | 5b110c7b08946a2a2810cb4614c078c74645a3d1 (diff) | |
download | go-9b5444420cec4b576aff179f632ec60be64fd7f2.tar.gz go-9b5444420cec4b576aff179f632ec60be64fd7f2.zip |
test: move linkx and sinit to run.go
The remaining run-only tests will be migrated to run.go in another CL.
This CL will break the build due to issues 8746 and 8806.
Update #4139
Update #8746
Update #8806
LGTM=rsc
R=rsc, bradfitz, iant
CC=golang-codereviews
https://golang.org/cl/144630044
Diffstat (limited to 'test/linkx.go')
-rw-r--r-- | test/linkx.go | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/test/linkx.go b/test/linkx.go index 06888a229a..151b6db1ec 100644 --- a/test/linkx.go +++ b/test/linkx.go @@ -1,13 +1,11 @@ -// $G $D/$F.go && $L -X main.tbd hello -X main.overwrite trumped -X main.nosuchsymbol neverseen $F.$A && ./$A.out - -// NOTE: This test is not run by 'run.go' and so not run by all.bash. -// To run this test you must use the ./run shell script. +// skip // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test the -X facility of the gc linker (6l etc.). +// This test is run by linkx_run.go. package main @@ -15,10 +13,6 @@ var tbd string var overwrite string = "dibs" func main() { - if tbd != "hello" { - println("BUG: test/linkx tbd", len(tbd), tbd) - } - if overwrite != "trumped" { - println("BUG: test/linkx overwrite", len(overwrite), overwrite) - } + println(tbd) + println(overwrite) } |