Skip to content

Commit

Permalink
Add // +build ignore to all of the test files for go tool.
Browse files Browse the repository at this point in the history
Personally I think it's bullshit, but whatever. Community request.
  • Loading branch information
nsf committed Jan 23, 2012
1 parent bb10cce commit 608fb1b
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/test.0001/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ import "fmt"
func main() {
fmt.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0002/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ func main() {

}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0003/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ func PrettyPrintTypeExpr(out io.Writer, e ast.Expr) {
panic("OMGWTFBBQ!")
}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0004/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ func PrettyPrintTypeExpr(out io.Writer, e ast.Expr) {
panic("OMGWTFBBQ!")
}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0005/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ func (t *Tester) SetB() {

// methods SetC and SetD are defined in 'b.go'

// +build ignore
1 change: 1 addition & 0 deletions testing/test.0006/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ func (t *Tester) SetB() {
Tester.

// methods SetC and SetD are defined in 'b.go'
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0007/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ import "syscall"
func main() {
syscall.var
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0008/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ hosts.

func main() {
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0009/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ hosts.Mutex.

func main() {
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0010/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ func main() {
v := gd.Specs[0].(*ast.ValueSpec)
v.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0011/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ func main() {
var test reflect.Value
test.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0012/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ func main() {

}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0013/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ func main() {
logand := c && d

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0014/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ func main() {
bb := &typeptr

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0015/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ func main() {
arro := <-c

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0016/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ func main() {
}
}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0017/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ func b(a, b, c string) string {
return "abc"
}

// +build ignore
1 change: 1 addition & 0 deletions testing/test.0018/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ func main() {
t := new(Test)
(*t.GetMe().MoreTests["blabla"][10]).
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0019/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ import "compress/zlib"
func main() {
var b map[int]zlib.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0020/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ func main() {
var b Bar
b.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0021/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ func main() {
var test *ast.ImportSpec
test.Name.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0022/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ func getMap() map[string]os.Error {
// simply to trick type inference
return nil
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0023/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ import ъ "fmt"
func main() {
ъ.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0024/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ func main() {
var X *X
X.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0025/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ import "unsafe"
func main() {
unsafe.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0026/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ func main() {
g := C.g

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0027/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ func (file *file) String() {
func main() {

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0028/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ func main() {
j := ^i
j.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0029/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ func main() {
var a Formatter

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0030/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ func main() {
var b B
b.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0031/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ func main() {
default:
}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0032/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ import (
func main() {

}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0033/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ func testEllipsis(dummies ...*Dummy) {

}
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0034/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ func test() {
img, err := png.Decode(nil)
img.
}
// +build ignore
1 change: 1 addition & 0 deletions testing/test.0035/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ func main() {

}
}
// +build ignore

0 comments on commit 608fb1b

Please sign in to comment.