github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/cmd/vet/Makefile (about) 1 # Copyright 2010 The Go Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style 3 # license that can be found in the LICENSE file. 4 5 # Assumes go/types is installed 6 test testshort: 7 go build -tags 'vet_test gotypes' 8 ../../../test/errchk ./vet -printfuncs='Warn:1,Warnf:1' test_*.go test_*.s 9 10 test_notypes: 11 go build -tags 'vet_test' 12 # Only those tests that do not depend on types. 13 # Excluded: test_print.go 14 ../../../test/errchk ./vet -printfuncs='Warn:1,Warnf:1' test_asm.go test_assign.go test_atomic.go test_buildtag.go test_buildtag_bad.go test_deadcode.go test_method.go test_rangeloop.go test_structtag.go test_taglit.go test_*.s