diff options
author | Russ Cox <rsc@golang.org> | 2012-02-16 23:50:37 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-16 23:50:37 -0500 |
commit | d2cc9884296e84f18ff23550a4561e7b0109efd5 (patch) | |
tree | 2096447079557286fcc31cb2f674cf56ddec4541 /test/interface | |
parent | 8080384a68850b47d7c5a85f7f904de80a3ae449 (diff) | |
download | go-d2cc9884296e84f18ff23550a4561e7b0109efd5.tar.gz go-d2cc9884296e84f18ff23550a4561e7b0109efd5.zip |
test: use testlib (fourth 100)
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5673079
Diffstat (limited to 'test/interface')
-rw-r--r-- | test/interface/bigdata.go | 2 | ||||
-rw-r--r-- | test/interface/convert.go | 2 | ||||
-rw-r--r-- | test/interface/convert1.go | 2 | ||||
-rw-r--r-- | test/interface/convert2.go | 2 | ||||
-rw-r--r-- | test/interface/embed.go | 2 | ||||
-rw-r--r-- | test/interface/embed2.go | 2 | ||||
-rw-r--r-- | test/interface/explicit.go | 2 | ||||
-rw-r--r-- | test/interface/fail.go | 2 | ||||
-rw-r--r-- | test/interface/fake.go | 2 | ||||
-rw-r--r-- | test/interface/pointer.go | 2 | ||||
-rw-r--r-- | test/interface/receiver.go | 2 | ||||
-rw-r--r-- | test/interface/receiver1.go | 2 | ||||
-rw-r--r-- | test/interface/returntype.go | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/test/interface/bigdata.go b/test/interface/bigdata.go index 44f6ab127e..0d8c408c81 100644 --- a/test/interface/bigdata.go +++ b/test/interface/bigdata.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/convert.go b/test/interface/convert.go index 7f429f7031..2b4f45d14f 100644 --- a/test/interface/convert.go +++ b/test/interface/convert.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/convert1.go b/test/interface/convert1.go index 658b1a92fa..4833e847a2 100644 --- a/test/interface/convert1.go +++ b/test/interface/convert1.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/convert2.go b/test/interface/convert2.go index 658b1a92fa..4833e847a2 100644 --- a/test/interface/convert2.go +++ b/test/interface/convert2.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/embed.go b/test/interface/embed.go index 2fddee1905..46c02cc80e 100644 --- a/test/interface/embed.go +++ b/test/interface/embed.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/embed2.go b/test/interface/embed2.go index c18a1fecec..bac214397a 100644 --- a/test/interface/embed2.go +++ b/test/interface/embed2.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/explicit.go b/test/interface/explicit.go index daae59b361..fbe65e7e39 100644 --- a/test/interface/explicit.go +++ b/test/interface/explicit.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/fail.go b/test/interface/fail.go index 0c20bcf756..5a2f57fe9f 100644 --- a/test/interface/fail.go +++ b/test/interface/fail.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/fake.go b/test/interface/fake.go index ddb8325427..55650cc8dd 100644 --- a/test/interface/fake.go +++ b/test/interface/fake.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/pointer.go b/test/interface/pointer.go index f1e363cbff..0548c24046 100644 --- a/test/interface/pointer.go +++ b/test/interface/pointer.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/receiver.go b/test/interface/receiver.go index f53daf8dab..dc2e7808f7 100644 --- a/test/interface/receiver.go +++ b/test/interface/receiver.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/receiver1.go b/test/interface/receiver1.go index 51312d0002..19ca6d4626 100644 --- a/test/interface/receiver1.go +++ b/test/interface/receiver1.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/interface/returntype.go b/test/interface/returntype.go index 5cf0836178..b7bebe4f61 100644 --- a/test/interface/returntype.go +++ b/test/interface/returntype.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style |