From d2cc9884296e84f18ff23550a4561e7b0109efd5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 16 Feb 2012 23:50:37 -0500 Subject: [PATCH] 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 --- test/fixedbugs/bug397.go | 2 +- test/fixedbugs/bug398.go | 2 +- test/fixedbugs/bug402.go | 2 +- test/fixedbugs/bug403.go | 2 +- test/fixedbugs/bug405.go | 2 +- test/fixedbugs/bug410.go | 2 +- test/fixedbugs/bug411.go | 2 +- test/fixedbugs/bug412.go | 2 +- test/fixedbugs/bug413.go | 2 +- test/fixedbugs/bug416.go | 2 +- test/fixedbugs/bug418.go | 2 +- test/float_lit.go | 2 +- test/floatcmp.go | 2 +- test/for.go | 2 +- test/func.go | 2 +- test/func1.go | 2 +- test/func3.go | 2 +- test/func4.go | 2 +- test/func5.go | 2 +- test/func6.go | 2 +- test/func7.go | 2 +- test/func8.go | 2 +- test/gc.go | 2 +- test/gc1.go | 2 +- test/gc2.go | 2 +- test/goto.go | 2 +- test/hashmap.go | 2 +- test/if.go | 2 +- test/import.go | 2 +- test/import1.go | 2 +- test/import5.go | 2 +- test/indirect1.go | 2 +- test/init.go | 2 +- test/init1.go | 2 +- test/initcomma.go | 2 +- test/initialize.go | 2 +- test/initializerr.go | 2 +- test/initsyscall.go | 2 +- test/int_lit.go | 2 +- test/intcvt.go | 2 +- test/interface/bigdata.go | 2 +- test/interface/convert.go | 2 +- test/interface/convert1.go | 2 +- test/interface/convert2.go | 2 +- test/interface/embed.go | 2 +- test/interface/embed2.go | 2 +- test/interface/explicit.go | 2 +- test/interface/fail.go | 2 +- test/interface/fake.go | 2 +- test/interface/pointer.go | 2 +- test/interface/receiver.go | 2 +- test/interface/receiver1.go | 2 +- test/interface/returntype.go | 2 +- test/iota.go | 2 +- test/ken/array.go | 2 +- test/ken/chan.go | 2 +- test/ken/chan1.go | 2 +- test/ken/complit.go | 2 +- test/ken/convert.go | 2 +- test/ken/cplx1.go | 2 +- test/ken/cplx2.go | 2 +- test/ken/cplx3.go | 2 +- test/ken/cplx4.go | 2 +- test/ken/cplx5.go | 2 +- test/ken/divconst.go | 2 +- test/ken/divmod.go | 2 +- test/ken/embed.go | 2 +- test/ken/for.go | 2 +- test/ken/interbasic.go | 2 +- test/ken/interfun.go | 2 +- test/ken/intervar.go | 2 +- test/ken/label.go | 2 +- test/ken/litfun.go | 2 +- test/ken/mfunc.go | 2 +- test/ken/modconst.go | 2 +- test/ken/ptrfun.go | 2 +- test/ken/ptrvar.go | 2 +- test/ken/range.go | 2 +- test/ken/rob1.go | 2 +- test/ken/rob2.go | 2 +- test/ken/robfor.go | 2 +- test/ken/robfunc.go | 2 +- test/ken/shift.go | 2 +- test/ken/simparray.go | 2 +- test/ken/simpbool.go | 2 +- test/ken/simpconv.go | 2 +- test/ken/simpfun.go | 2 +- test/ken/simpswitch.go | 2 +- test/ken/simpvar.go | 2 +- test/ken/slicearray.go | 2 +- test/ken/sliceslice.go | 2 +- test/ken/strvar.go | 2 +- test/label.go | 2 +- test/label1.go | 2 +- test/literal.go | 2 +- test/malloc1.go | 2 +- test/mallocfin.go | 2 +- test/mallocrand.go | 2 +- test/mallocrep.go | 2 +- 99 files changed, 99 insertions(+), 99 deletions(-) diff --git a/test/fixedbugs/bug397.go b/test/fixedbugs/bug397.go index 03957013023..56cc7cdd4d4 100644 --- a/test/fixedbugs/bug397.go +++ b/test/fixedbugs/bug397.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug398.go b/test/fixedbugs/bug398.go index 1eee2292c2a..1dd3fa4213a 100644 --- a/test/fixedbugs/bug398.go +++ b/test/fixedbugs/bug398.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug402.go b/test/fixedbugs/bug402.go index 4b03d518604..db3f3da448e 100644 --- a/test/fixedbugs/bug402.go +++ b/test/fixedbugs/bug402.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug403.go b/test/fixedbugs/bug403.go index ec02ca7333d..ed7b49aea2f 100644 --- a/test/fixedbugs/bug403.go +++ b/test/fixedbugs/bug403.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug405.go b/test/fixedbugs/bug405.go index dcca000449a..e8ecc4d034a 100644 --- a/test/fixedbugs/bug405.go +++ b/test/fixedbugs/bug405.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug410.go b/test/fixedbugs/bug410.go index 6eee6cfd480..35ecbfc05cb 100644 --- a/test/fixedbugs/bug410.go +++ b/test/fixedbugs/bug410.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug411.go b/test/fixedbugs/bug411.go index 3ca6a3de25f..3b90db88d61 100644 --- a/test/fixedbugs/bug411.go +++ b/test/fixedbugs/bug411.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug412.go b/test/fixedbugs/bug412.go index e05b5557594..9148b68e744 100644 --- a/test/fixedbugs/bug412.go +++ b/test/fixedbugs/bug412.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug413.go b/test/fixedbugs/bug413.go index 32b7efc76d1..41270d9063a 100644 --- a/test/fixedbugs/bug413.go +++ b/test/fixedbugs/bug413.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug416.go b/test/fixedbugs/bug416.go index cc6d4a9f288..c128538429d 100644 --- a/test/fixedbugs/bug416.go +++ b/test/fixedbugs/bug416.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/bug418.go b/test/fixedbugs/bug418.go index c7b758feb3b..64d86b34006 100644 --- a/test/fixedbugs/bug418.go +++ b/test/fixedbugs/bug418.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/float_lit.go b/test/float_lit.go index 7b91d88e51a..3189cac2231 100644 --- a/test/float_lit.go +++ b/test/float_lit.go @@ -1,4 +1,4 @@ -// $G $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/floatcmp.go b/test/floatcmp.go index f51cbc27775..2a5bd75df2b 100644 --- a/test/floatcmp.go +++ b/test/floatcmp.go @@ -1,4 +1,4 @@ -// $G $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/for.go b/test/for.go index 36ad15709b1..a21213ff3fd 100644 --- a/test/for.go +++ b/test/for.go @@ -1,4 +1,4 @@ -// $G $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/func.go b/test/func.go index e8ed928bcd3..15839c05faf 100644 --- a/test/func.go +++ b/test/func.go @@ -1,4 +1,4 @@ -// $G $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/func1.go b/test/func1.go index 056ff9877d3..d5adea71ecc 100644 --- a/test/func1.go +++ b/test/func1.go @@ -1,4 +1,4 @@ -// errchk $G $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/func3.go b/test/func3.go index 110b0ef1c49..587b7c4a144 100644 --- a/test/func3.go +++ b/test/func3.go @@ -1,4 +1,4 @@ -// errchk $G $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/func4.go b/test/func4.go index 2a1a932de90..c53e7a23ac2 100644 --- a/test/func4.go +++ b/test/func4.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/func5.go b/test/func5.go index e27825c2b28..68ab7a54b99 100644 --- a/test/func5.go +++ b/test/func5.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/func6.go b/test/func6.go index 1356b6aa8b8..39c15329ef8 100644 --- a/test/func6.go +++ b/test/func6.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/func7.go b/test/func7.go index e38b008cc09..015b881fb0e 100644 --- a/test/func7.go +++ b/test/func7.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/func8.go b/test/func8.go index bb610645355..a1ea9b7e4cd 100644 --- a/test/func8.go +++ b/test/func8.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/gc.go b/test/gc.go index 3aab8fac953..e610d2bde81 100644 --- a/test/gc.go +++ b/test/gc.go @@ -1,4 +1,4 @@ -// $G $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/gc1.go b/test/gc1.go index 84034e7cea9..190b29b005a 100644 --- a/test/gc1.go +++ b/test/gc1.go @@ -1,4 +1,4 @@ -// $G $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/gc2.go b/test/gc2.go index 772f9810daa..739183e5982 100644 --- a/test/gc2.go +++ b/test/gc2.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/goto.go b/test/goto.go index 1fccb314c87..11417f86b79 100644 --- a/test/goto.go +++ b/test/goto.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/hashmap.go b/test/hashmap.go index 0a4d7ab61ee..0e7a2b4aeae 100644 --- a/test/hashmap.go +++ b/test/hashmap.go @@ -1,4 +1,4 @@ -// $G $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/if.go b/test/if.go index 18a6715d7eb..13955781f90 100644 --- a/test/if.go +++ b/test/if.go @@ -1,4 +1,4 @@ -// $G $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/import.go b/test/import.go index bd83dc3bdd3..a02a4ad8a49 100644 --- a/test/import.go +++ b/test/import.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/import1.go b/test/import1.go index ebd704ef995..f5b8926a70a 100644 --- a/test/import1.go +++ b/test/import1.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/import5.go b/test/import5.go index ee041709a15..acd03c9ce9f 100644 --- a/test/import5.go +++ b/test/import5.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/indirect1.go b/test/indirect1.go index ecb4f138ace..e49eeb06508 100644 --- a/test/indirect1.go +++ b/test/indirect1.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/init.go b/test/init.go index 74c2d5c2614..0146f4b3ee6 100644 --- a/test/init.go +++ b/test/init.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/init1.go b/test/init1.go index 56ef17249fd..a888ad7440c 100644 --- a/test/init1.go +++ b/test/init1.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/initcomma.go b/test/initcomma.go index 195d4575f76..7fa069044d8 100644 --- a/test/initcomma.go +++ b/test/initcomma.go @@ -1,4 +1,4 @@ -// $G $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/initialize.go b/test/initialize.go index 6dd7d67dc37..5bab5a708d6 100644 --- a/test/initialize.go +++ b/test/initialize.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/initializerr.go b/test/initializerr.go index e7f8b0e92fe..c2703e3eb4b 100644 --- a/test/initializerr.go +++ b/test/initializerr.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/initsyscall.go b/test/initsyscall.go index d0c26d2a837..492b188c929 100644 --- a/test/initsyscall.go +++ b/test/initsyscall.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/int_lit.go b/test/int_lit.go index 2644e17b57d..a109fa9574a 100644 --- a/test/int_lit.go +++ b/test/int_lit.go @@ -1,4 +1,4 @@ -// $G $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/intcvt.go b/test/intcvt.go index 407bcfd9bae..81b04effdc6 100644 --- a/test/intcvt.go +++ b/test/intcvt.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/bigdata.go b/test/interface/bigdata.go index 44f6ab127ea..0d8c408c817 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 7f429f7031e..2b4f45d14f0 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 658b1a92fa8..4833e847a24 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 658b1a92fa8..4833e847a24 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 2fddee1905a..46c02cc80e4 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 c18a1fecec2..bac214397ab 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 daae59b3618..fbe65e7e399 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 0c20bcf756a..5a2f57fe9f4 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 ddb83254278..55650cc8dd5 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 f1e363cbff6..0548c240463 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 f53daf8dab1..dc2e7808f7a 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 51312d00025..19ca6d46261 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 5cf08361781..b7bebe4f61c 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 diff --git a/test/iota.go b/test/iota.go index c40ca1f3824..7e9e3527978 100644 --- a/test/iota.go +++ b/test/iota.go @@ -1,4 +1,4 @@ -// $G $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/ken/array.go b/test/ken/array.go index 12694fec62b..53f6fc88e1c 100644 --- a/test/ken/array.go +++ b/test/ken/array.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/ken/chan.go b/test/ken/chan.go index ef75b044d7c..3bfa5b2d2b7 100644 --- a/test/ken/chan.go +++ b/test/ken/chan.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/ken/chan1.go b/test/ken/chan1.go index e5fc033f3d6..ccb26199592 100644 --- a/test/ken/chan1.go +++ b/test/ken/chan1.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/ken/complit.go b/test/ken/complit.go index da0a84a043a..cab3bca38cd 100644 --- a/test/ken/complit.go +++ b/test/ken/complit.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/ken/convert.go b/test/ken/convert.go index 3780ec886a4..83e573a3f19 100644 --- a/test/ken/convert.go +++ b/test/ken/convert.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/cplx1.go b/test/ken/cplx1.go index 8ec7d40f5e5..9421c53e1ec 100644 --- a/test/ken/cplx1.go +++ b/test/ken/cplx1.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/cplx2.go b/test/ken/cplx2.go index 89f4a04181e..a3c1570ba32 100644 --- a/test/ken/cplx2.go +++ b/test/ken/cplx2.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/cplx3.go b/test/ken/cplx3.go index 048c93eef67..092354983d1 100644 --- a/test/ken/cplx3.go +++ b/test/ken/cplx3.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/cplx4.go b/test/ken/cplx4.go index 738afcd2cad..8104ff14d03 100644 --- a/test/ken/cplx4.go +++ b/test/ken/cplx4.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/cplx5.go b/test/ken/cplx5.go index e6696674b0a..0e2c88221e6 100644 --- a/test/ken/cplx5.go +++ b/test/ken/cplx5.go @@ -1,4 +1,4 @@ -// $G $D/$F.go && $L $F.$A && ./$A.out +// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/ken/divconst.go b/test/ken/divconst.go index 5a64d16b490..46786fb67ce 100644 --- a/test/ken/divconst.go +++ b/test/ken/divconst.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/ken/divmod.go b/test/ken/divmod.go index dc44ea245b9..02c762dd04a 100644 --- a/test/ken/divmod.go +++ b/test/ken/divmod.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/ken/embed.go b/test/ken/embed.go index 9805e479bb9..a3e1980e843 100644 --- a/test/ken/embed.go +++ b/test/ken/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/ken/for.go b/test/ken/for.go index 176ecd74930..914229b5820 100644 --- a/test/ken/for.go +++ b/test/ken/for.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/ken/interbasic.go b/test/ken/interbasic.go index 9bb50886a4a..113fe3c9be5 100644 --- a/test/ken/interbasic.go +++ b/test/ken/interbasic.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/ken/interfun.go b/test/ken/interfun.go index 94bc7eaada6..ca875e8378b 100644 --- a/test/ken/interfun.go +++ b/test/ken/interfun.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/ken/intervar.go b/test/ken/intervar.go index 73d1b0660bd..30815d06b87 100644 --- a/test/ken/intervar.go +++ b/test/ken/intervar.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/ken/label.go b/test/ken/label.go index 7a509f0484a..b8867a7d1c7 100644 --- a/test/ken/label.go +++ b/test/ken/label.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/ken/litfun.go b/test/ken/litfun.go index bac2bc17cce..4c40ee24ccb 100644 --- a/test/ken/litfun.go +++ b/test/ken/litfun.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/ken/mfunc.go b/test/ken/mfunc.go index ae0bc0c58ab..2213b8132b2 100644 --- a/test/ken/mfunc.go +++ b/test/ken/mfunc.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/ken/modconst.go b/test/ken/modconst.go index c2603a0a099..3905b8123c0 100644 --- a/test/ken/modconst.go +++ b/test/ken/modconst.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/ken/ptrfun.go b/test/ken/ptrfun.go index 6739ba33ae6..b115931566c 100644 --- a/test/ken/ptrfun.go +++ b/test/ken/ptrfun.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/ken/ptrvar.go b/test/ken/ptrvar.go index e2ddde62928..c6b4656fc52 100644 --- a/test/ken/ptrvar.go +++ b/test/ken/ptrvar.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/ken/range.go b/test/ken/range.go index 9535fd497d6..07d0e9a677b 100644 --- a/test/ken/range.go +++ b/test/ken/range.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/ken/rob1.go b/test/ken/rob1.go index a5854b93e2f..35720c928cd 100644 --- a/test/ken/rob1.go +++ b/test/ken/rob1.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/ken/rob2.go b/test/ken/rob2.go index d13e2441d40..bd8a4351581 100644 --- a/test/ken/rob2.go +++ b/test/ken/rob2.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/ken/robfor.go b/test/ken/robfor.go index 05188a47232..958efca3a2c 100644 --- a/test/ken/robfor.go +++ b/test/ken/robfor.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/ken/robfunc.go b/test/ken/robfunc.go index 6b3d4b2e460..40c5b9042a8 100644 --- a/test/ken/robfunc.go +++ b/test/ken/robfunc.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/ken/shift.go b/test/ken/shift.go index 157a07aec54..c60143d7002 100644 --- a/test/ken/shift.go +++ b/test/ken/shift.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/ken/simparray.go b/test/ken/simparray.go index 1b6f245eea2..553bc4d6896 100644 --- a/test/ken/simparray.go +++ b/test/ken/simparray.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/ken/simpbool.go b/test/ken/simpbool.go index dbd9c8d8bcf..4a8324ccb7f 100644 --- a/test/ken/simpbool.go +++ b/test/ken/simpbool.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/ken/simpconv.go b/test/ken/simpconv.go index feb85d29997..9dc7ebf934b 100644 --- a/test/ken/simpconv.go +++ b/test/ken/simpconv.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/ken/simpfun.go b/test/ken/simpfun.go index ba9ce6f7bce..b2c803e8915 100644 --- a/test/ken/simpfun.go +++ b/test/ken/simpfun.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/ken/simpswitch.go b/test/ken/simpswitch.go index 710af2e08c6..cc5f281fcff 100644 --- a/test/ken/simpswitch.go +++ b/test/ken/simpswitch.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/ken/simpvar.go b/test/ken/simpvar.go index fd060b0e2e9..324008d2361 100644 --- a/test/ken/simpvar.go +++ b/test/ken/simpvar.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/ken/slicearray.go b/test/ken/slicearray.go index 5c31270fcd3..e0f2d322b50 100644 --- a/test/ken/slicearray.go +++ b/test/ken/slicearray.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/ken/sliceslice.go b/test/ken/sliceslice.go index 63904212877..ed1a5fe5a12 100644 --- a/test/ken/sliceslice.go +++ b/test/ken/sliceslice.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/ken/strvar.go b/test/ken/strvar.go index dfaaf12131c..34b2621b172 100644 --- a/test/ken/strvar.go +++ b/test/ken/strvar.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/label.go b/test/label.go index e3d853266e1..8f2df4ccbca 100644 --- a/test/label.go +++ b/test/label.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/label1.go b/test/label1.go index 656daaeea54..8a192c2910a 100644 --- a/test/label1.go +++ b/test/label1.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/literal.go b/test/literal.go index bf05388127c..396d75c01f6 100644 --- a/test/literal.go +++ b/test/literal.go @@ -1,4 +1,4 @@ -// $G $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/malloc1.go b/test/malloc1.go index 0f7f0b267a0..3ec73690993 100644 --- a/test/malloc1.go +++ b/test/malloc1.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/mallocfin.go b/test/mallocfin.go index ff62392473d..2f9f8386da1 100644 --- a/test/mallocfin.go +++ b/test/mallocfin.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/mallocrand.go b/test/mallocrand.go index 69d07cec5d2..cdd8c6f44c0 100644 --- a/test/mallocrand.go +++ b/test/mallocrand.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/mallocrep.go b/test/mallocrep.go index 4188da9b833..977c6fac244 100644 --- a/test/mallocrep.go +++ b/test/mallocrep.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