]> Cypherpunks.ru repositories - gostls13.git/commitdiff
test: remove arch char from nosplit
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 27 May 2015 19:33:43 +0000 (12:33 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 28 May 2015 02:30:26 +0000 (02:30 +0000)
This is dead code that was missed
during the 'go tool compile' migration.

Change-Id: Ice2af8a9ef72f8fd5f82225ee261854d93b659f1
Reviewed-on: https://go-review.googlesource.com/10430
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
test/nosplit.go

index 0fc8dc47f0d0a41a6a85834505ff3244eceb31f4..8864137eb195ef44e126d363a15d22b74e7b28a8 100644 (file)
@@ -184,19 +184,10 @@ func main() {
                goarch = runtime.GOARCH
        }
 
-       thechar := ""
-       if gochar, err := exec.Command("go", "env", "GOCHAR").Output(); err != nil {
-               bug()
-               fmt.Printf("running go env GOCHAR: %v\n", err)
-               return
-       } else {
-               thechar = strings.TrimSpace(string(gochar))
-       }
-
        version, err := exec.Command("go", "tool", "compile", "-V").Output()
        if err != nil {
                bug()
-               fmt.Printf("running go tool %sg -V: %v\n", thechar, err)
+               fmt.Printf("running go tool compile -V: %v\n", err)
                return
        }
        if strings.Contains(string(version), "framepointer") {