]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/vet: fix assembly test files
authorRob Pike <r@golang.org>
Wed, 27 Mar 2013 23:29:12 +0000 (16:29 -0700)
committerRob Pike <r@golang.org>
Wed, 27 Mar 2013 23:29:12 +0000 (16:29 -0700)
They should be build-tagged for vet_test not ignore,
and not have a Go package clause.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8016047

src/cmd/vet/test_asm1.s
src/cmd/vet/test_asm2.s
src/cmd/vet/test_asm3.s

index 2fe31963a4cfd5460f5fd42b4b7b2a5cae6885e2..8cd9eeab6afadecb2741e246b6b20cc0ecd7fcb3 100644 (file)
@@ -3,9 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build amd64
-// +build ignore
-
-package main
+// +build vet_test
 
 TEXT ·arg1(SB),0,$0-2
        MOVB    x+0(FP), AX
index 73a4ad4be59630104b6e90c09abf11379f38d81a..d8679c574e0b7417d257e6ebb3722af31c261df7 100644 (file)
@@ -3,9 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build 386
-// +build ignore
-
-package main
+// +build vet_test
 
 TEXT ·arg1(SB),0,$0-2
        MOVB    x+0(FP), AX
index 2c1a54f3eabba600d95ed063f2fa6176a302e3f3..bf98805a21c937d43a81f7b387f0960bbe82426a 100644 (file)
@@ -3,9 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build arm
-// +build ignore
-
-package main
+// +build vet_test
 
 TEXT ·arg1(SB),0,$0-2
        MOVB    x+0(FP), AX