Skip to content

Commit

Permalink
test: remove arch char from nosplit
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
josharian committed May 28, 2015
1 parent 0f27b91 commit 8b186df
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test/nosplit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 8b186df

Please sign in to comment.