mirror of
https://github.com/golang/go
synced 2024-11-11 19:21:37 -07:00
cmd/compile: fix build
Pushed from an old client by mistake. These are the missing changes. Change-Id: Ia8d61c5c0bde907369366ea9ea98711823342803 Reviewed-on: https://go-review.googlesource.com/21349 Reviewed-by: Todd Neal <todd@tneal.org>
This commit is contained in:
parent
af517da2f9
commit
4b95575bd4
@ -155,6 +155,7 @@ func TestStdFixed(t *testing.T) {
|
||||
"issue6889.go", // gc-specific test
|
||||
"issue7746.go", // large constants - consumes too much memory
|
||||
"issue11362.go", // canonical import path check
|
||||
"issue15002.go", // uses Mmap; testTestDir should consult build tags
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// run
|
||||
// +build amd64
|
||||
// +build linux darwin
|
||||
// run
|
||||
|
||||
// Copyright 2016 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
@ -122,9 +122,9 @@ func main() {
|
||||
<-test.donec
|
||||
status := "ok "
|
||||
errStr := ""
|
||||
if _, isSkip := test.err.(skipError); isSkip {
|
||||
if e, isSkip := test.err.(skipError); isSkip {
|
||||
test.err = nil
|
||||
errStr = "unexpected skip for " + path.Join(test.dir, test.gofile) + ": " + errStr
|
||||
errStr = "unexpected skip for " + path.Join(test.dir, test.gofile) + ": " + string(e)
|
||||
status = "FAIL"
|
||||
}
|
||||
if test.err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user