From 0b477ef17e184117922428a5a5ef15ffab12590a Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 16 Feb 2012 23:48:57 -0500 Subject: [PATCH] test: use testlib (first 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/5656082 --- test/235.go | 2 +- test/alias.go | 2 +- test/alias1.go | 2 +- test/append.go | 2 +- test/assign.go | 2 +- test/assign1.go | 2 +- test/bench/garbage/peano.go | 2 +- test/bigalg.go | 2 +- test/bigmap.go | 2 +- test/blank.go | 2 +- test/blank1.go | 2 +- test/chan/doubleselect.go | 2 +- test/chan/fifo.go | 2 +- test/chan/goroutines.go | 2 +- test/chan/nonblock.go | 2 +- test/chan/perm.go | 2 +- test/chan/powser1.go | 2 +- test/chan/powser2.go | 2 +- test/chan/select.go | 2 +- test/chan/select2.go | 2 +- test/chan/select3.go | 2 +- test/chan/select4.go | 2 +- test/chan/select6.go | 2 +- test/chan/select7.go | 2 +- test/chan/sendstmt.go | 2 +- test/chan/sieve1.go | 2 +- test/chan/sieve2.go | 2 +- test/chan/zerosize.go | 2 +- test/chancap.go | 2 +- test/char_lit1.go | 2 +- test/closedchan.go | 2 +- test/closure.go | 2 +- test/cmp.go | 2 +- test/cmp6.go | 2 +- test/cmplx.go | 2 +- test/complit.go | 2 +- test/complit1.go | 2 +- test/const.go | 2 +- test/const1.go | 2 +- test/const2.go | 2 +- test/const3.go | 2 +- test/convert.go | 2 +- test/convert1.go | 2 +- test/convert3.go | 2 +- test/convlit.go | 2 +- test/convlit1.go | 2 +- test/copy.go | 2 +- test/ddd.go | 2 +- test/ddd1.go | 2 +- test/decl.go | 2 +- test/declbad.go | 2 +- test/defer.go | 2 +- test/divide.go | 2 +- test/dwarf/linedirectives.go | 2 +- test/empty.go | 2 +- test/env.go | 2 +- test/eof.go | 2 +- test/eof1.go | 2 +- test/escape.go | 2 +- test/escape3.go | 2 +- test/fixedbugs/bug000.go | 2 +- test/fixedbugs/bug002.go | 2 +- test/fixedbugs/bug003.go | 2 +- test/fixedbugs/bug004.go | 2 +- test/fixedbugs/bug005.go | 2 +- test/fixedbugs/bug006.go | 2 +- test/fixedbugs/bug007.go | 2 +- test/fixedbugs/bug008.go | 2 +- test/fixedbugs/bug009.go | 2 +- test/fixedbugs/bug010.go | 2 +- test/fixedbugs/bug011.go | 2 +- test/fixedbugs/bug012.go | 2 +- test/fixedbugs/bug013.go | 2 +- test/fixedbugs/bug014.go | 2 +- test/fixedbugs/bug015.go | 2 +- test/fixedbugs/bug016.go | 2 +- test/fixedbugs/bug017.go | 2 +- test/fixedbugs/bug021.go | 2 +- test/fixedbugs/bug022.go | 2 +- test/fixedbugs/bug023.go | 2 +- test/fixedbugs/bug024.go | 2 +- test/fixedbugs/bug026.go | 2 +- test/fixedbugs/bug027.go | 2 +- test/fixedbugs/bug028.go | 2 +- test/fixedbugs/bug030.go | 2 +- test/fixedbugs/bug031.go | 2 +- test/fixedbugs/bug035.go | 2 +- test/fixedbugs/bug037.go | 2 +- test/fixedbugs/bug039.go | 2 +- test/fixedbugs/bug045.go | 2 +- test/fixedbugs/bug046.go | 2 +- test/fixedbugs/bug047.go | 2 +- test/fixedbugs/bug048.go | 2 +- test/fixedbugs/bug049.go | 2 +- test/fixedbugs/bug050.go | 2 +- test/fixedbugs/bug051.go | 2 +- test/fixedbugs/bug052.go | 2 +- test/fixedbugs/bug053.go | 2 +- test/fixedbugs/bug054.go | 2 +- 99 files changed, 99 insertions(+), 99 deletions(-) diff --git a/test/235.go b/test/235.go index 03143a60d83..65b39972d36 100644 --- a/test/235.go +++ b/test/235.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/alias.go b/test/alias.go index 639a9cabbb4..d345d7af78e 100644 --- a/test/alias.go +++ b/test/alias.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/alias1.go b/test/alias1.go index e8ef8a23f96..11c18f8bfb3 100644 --- a/test/alias1.go +++ b/test/alias1.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/append.go b/test/append.go index 10ce2a613af..6f35398eab7 100644 --- a/test/append.go +++ b/test/append.go @@ -1,4 +1,4 @@ -// $G $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/assign.go b/test/assign.go index 2192f9ede08..2035df738bb 100644 --- a/test/assign.go +++ b/test/assign.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/assign1.go b/test/assign1.go index 71e5b406439..a80e89b67b1 100644 --- a/test/assign1.go +++ b/test/assign1.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/bench/garbage/peano.go b/test/bench/garbage/peano.go index f1ad6ed699c..6c7e523145a 100644 --- a/test/bench/garbage/peano.go +++ b/test/bench/garbage/peano.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/bigalg.go b/test/bigalg.go index 902ba841077..f1009984987 100644 --- a/test/bigalg.go +++ b/test/bigalg.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/bigmap.go b/test/bigmap.go index 843a151741f..57330d559de 100644 --- a/test/bigmap.go +++ b/test/bigmap.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/blank.go b/test/blank.go index d6c9e79c607..069edfd7480 100644 --- a/test/blank.go +++ b/test/blank.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/blank1.go b/test/blank1.go index bcc78466dc2..63174cca968 100644 --- a/test/blank1.go +++ b/test/blank1.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/chan/doubleselect.go b/test/chan/doubleselect.go index f8d50c90c0f..15df249444a 100644 --- a/test/chan/doubleselect.go +++ b/test/chan/doubleselect.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/chan/fifo.go b/test/chan/fifo.go index 0dddfcaa0bd..a8dcaef8aef 100644 --- a/test/chan/fifo.go +++ b/test/chan/fifo.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/chan/goroutines.go b/test/chan/goroutines.go index 371a1738766..f52ff582af3 100644 --- a/test/chan/goroutines.go +++ b/test/chan/goroutines.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/chan/nonblock.go b/test/chan/nonblock.go index 9addf12e99a..eff1a4898cc 100644 --- a/test/chan/nonblock.go +++ b/test/chan/nonblock.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/chan/perm.go b/test/chan/perm.go index a43df198214..89e32f1eba6 100644 --- a/test/chan/perm.go +++ b/test/chan/perm.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/chan/powser1.go b/test/chan/powser1.go index dc4ff53255d..4d4882b4894 100644 --- a/test/chan/powser1.go +++ b/test/chan/powser1.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/chan/powser2.go b/test/chan/powser2.go index bc329270dbc..6efb358f3c8 100644 --- a/test/chan/powser2.go +++ b/test/chan/powser2.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/chan/select.go b/test/chan/select.go index be4eb3f42d6..ce26177d549 100644 --- a/test/chan/select.go +++ b/test/chan/select.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/chan/select2.go b/test/chan/select2.go index 2cbb86ec626..37a2d36a940 100644 --- a/test/chan/select2.go +++ b/test/chan/select2.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/chan/select3.go b/test/chan/select3.go index fd881c90e99..4acb93ab79a 100644 --- a/test/chan/select3.go +++ b/test/chan/select3.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/chan/select4.go b/test/chan/select4.go index 26a55e6d436..1830150fd35 100644 --- a/test/chan/select4.go +++ b/test/chan/select4.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/chan/select6.go b/test/chan/select6.go index 2ba6810ac34..06f934e501a 100644 --- a/test/chan/select6.go +++ b/test/chan/select6.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/chan/select7.go b/test/chan/select7.go index 5fed6cbd426..20456a9d62e 100644 --- a/test/chan/select7.go +++ b/test/chan/select7.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/chan/sendstmt.go b/test/chan/sendstmt.go index ee6f765cf88..a92c4f63a7a 100644 --- a/test/chan/sendstmt.go +++ b/test/chan/sendstmt.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/chan/sieve1.go b/test/chan/sieve1.go index 55076c9253c..4698dba6d66 100644 --- a/test/chan/sieve1.go +++ b/test/chan/sieve1.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/chan/sieve2.go b/test/chan/sieve2.go index 9a7ab15406c..95bf10a61f7 100644 --- a/test/chan/sieve2.go +++ b/test/chan/sieve2.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/chan/zerosize.go b/test/chan/zerosize.go index 617c9dab341..b3fe84260c2 100644 --- a/test/chan/zerosize.go +++ b/test/chan/zerosize.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/chancap.go b/test/chancap.go index 3f3789fbcc0..8692c2d89f2 100644 --- a/test/chancap.go +++ b/test/chancap.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/char_lit1.go b/test/char_lit1.go index dc5385291d0..7684e0b0b3f 100644 --- a/test/char_lit1.go +++ b/test/char_lit1.go @@ -1,4 +1,4 @@ -// errchk $G -e $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/closedchan.go b/test/closedchan.go index c2bbec59d95..043a92d3880 100644 --- a/test/closedchan.go +++ b/test/closedchan.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/closure.go b/test/closure.go index c2248d68e95..26518a13863 100644 --- a/test/closure.go +++ b/test/closure.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/cmp.go b/test/cmp.go index d51a11aa246..795245f2f5b 100644 --- a/test/cmp.go +++ b/test/cmp.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/cmp6.go b/test/cmp6.go index 0113a69ddb8..71f1284812e 100644 --- a/test/cmp6.go +++ b/test/cmp6.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/cmplx.go b/test/cmplx.go index d5a77d684a7..fe05d2defaa 100644 --- a/test/cmplx.go +++ b/test/cmplx.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/complit.go b/test/complit.go index 8dfc71dcb47..164829761c3 100644 --- a/test/complit.go +++ b/test/complit.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/complit1.go b/test/complit1.go index cd543930eef..d36864e6194 100644 --- a/test/complit1.go +++ b/test/complit1.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/const.go b/test/const.go index a55e13a40de..966860a9125 100644 --- a/test/const.go +++ b/test/const.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/const1.go b/test/const1.go index 67f36e4fdc9..53c194041e1 100644 --- a/test/const1.go +++ b/test/const1.go @@ -1,4 +1,4 @@ -// errchk $G -e $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/const2.go b/test/const2.go index 12c5c24af02..f88b041a003 100644 --- a/test/const2.go +++ b/test/const2.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/const3.go b/test/const3.go index 9bba6ced0b8..4500b209906 100644 --- a/test/const3.go +++ b/test/const3.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/convert.go b/test/convert.go index 0a75663d064..8e2b9fa7bf6 100644 --- a/test/convert.go +++ b/test/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/convert1.go b/test/convert1.go index bbd0c5f2b06..9dadbee96cc 100644 --- a/test/convert1.go +++ b/test/convert1.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/convert3.go b/test/convert3.go index be68c95b362..336a3fa801a 100644 --- a/test/convert3.go +++ b/test/convert3.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/convlit.go b/test/convlit.go index 1e82d1f2f56..964481dc974 100644 --- a/test/convlit.go +++ b/test/convlit.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/convlit1.go b/test/convlit1.go index 1e6673cb641..09d96f0fd67 100644 --- a/test/convlit1.go +++ b/test/convlit1.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/copy.go b/test/copy.go index 0b5bddbed5c..2abf413f951 100644 --- a/test/copy.go +++ b/test/copy.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/ddd.go b/test/ddd.go index b95d6e883f9..aa799be271c 100644 --- a/test/ddd.go +++ b/test/ddd.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/ddd1.go b/test/ddd1.go index 6d84248e5e8..3eab78a567f 100644 --- a/test/ddd1.go +++ b/test/ddd1.go @@ -1,4 +1,4 @@ -// errchk $G -e $D/$F.go +// errorcheck // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/decl.go b/test/decl.go index 95b6346c3ed..4a7d86794d3 100644 --- a/test/decl.go +++ b/test/decl.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/declbad.go b/test/declbad.go index 09f1dfb576f..962a61c0f9b 100644 --- a/test/declbad.go +++ b/test/declbad.go @@ -1,4 +1,4 @@ -// errchk $G -e $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/defer.go b/test/defer.go index bef8fbe26a6..30276649b35 100644 --- a/test/defer.go +++ b/test/defer.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/divide.go b/test/divide.go index 5c0f45059a2..75597f5150c 100644 --- a/test/divide.go +++ b/test/divide.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/dwarf/linedirectives.go b/test/dwarf/linedirectives.go index 68434f0ab57..cc4ffb000fd 100644 --- a/test/dwarf/linedirectives.go +++ b/test/dwarf/linedirectives.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/empty.go b/test/empty.go index fa10d6931d9..7f2bf1a0474 100644 --- a/test/empty.go +++ b/test/empty.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/env.go b/test/env.go index a4b9d05d87d..721df55c0af 100644 --- a/test/env.go +++ b/test/env.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/eof.go b/test/eof.go index 81f9fd028ff..71a9f85158e 100644 --- a/test/eof.go +++ b/test/eof.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/eof1.go b/test/eof1.go index 060c902e7e0..af6b4c52f1c 100644 --- a/test/eof1.go +++ b/test/eof1.go @@ -1,4 +1,4 @@ -// $G $D/$F.go +// compile // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/escape.go b/test/escape.go index d4d844704ef..6c0cdc4632c 100644 --- a/test/escape.go +++ b/test/escape.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/escape3.go b/test/escape3.go index fc2d6ebbe4b..0612ae2dd95 100644 --- a/test/escape3.go +++ b/test/escape3.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/fixedbugs/bug000.go b/test/fixedbugs/bug000.go index ccb24e8e9bb..9104a57aaf6 100644 --- a/test/fixedbugs/bug000.go +++ b/test/fixedbugs/bug000.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/fixedbugs/bug002.go b/test/fixedbugs/bug002.go index 230841974f3..3493426d377 100644 --- a/test/fixedbugs/bug002.go +++ b/test/fixedbugs/bug002.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/fixedbugs/bug003.go b/test/fixedbugs/bug003.go index e45975be41a..7165d9d2099 100644 --- a/test/fixedbugs/bug003.go +++ b/test/fixedbugs/bug003.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/fixedbugs/bug004.go b/test/fixedbugs/bug004.go index 20f467a5f4e..fb207e9bc8e 100644 --- a/test/fixedbugs/bug004.go +++ b/test/fixedbugs/bug004.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/fixedbugs/bug005.go b/test/fixedbugs/bug005.go index 3bd2fe815ed..3798f8321a1 100644 --- a/test/fixedbugs/bug005.go +++ b/test/fixedbugs/bug005.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/fixedbugs/bug006.go b/test/fixedbugs/bug006.go index 43b5dfb1294..6761682b399 100644 --- a/test/fixedbugs/bug006.go +++ b/test/fixedbugs/bug006.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/fixedbugs/bug007.go b/test/fixedbugs/bug007.go index d65f6da4503..3d9fcb9e01e 100644 --- a/test/fixedbugs/bug007.go +++ b/test/fixedbugs/bug007.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/fixedbugs/bug008.go b/test/fixedbugs/bug008.go index 2baead11e36..48f74a52d95 100644 --- a/test/fixedbugs/bug008.go +++ b/test/fixedbugs/bug008.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/fixedbugs/bug009.go b/test/fixedbugs/bug009.go index ef8263bb240..0467b297a2c 100644 --- a/test/fixedbugs/bug009.go +++ b/test/fixedbugs/bug009.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/fixedbugs/bug010.go b/test/fixedbugs/bug010.go index 7d96988d43b..f54b1d54a86 100644 --- a/test/fixedbugs/bug010.go +++ b/test/fixedbugs/bug010.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/fixedbugs/bug011.go b/test/fixedbugs/bug011.go index ce627472c47..519c3585f06 100644 --- a/test/fixedbugs/bug011.go +++ b/test/fixedbugs/bug011.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/fixedbugs/bug012.go b/test/fixedbugs/bug012.go index ffd5b557065..38efb6d9792 100644 --- a/test/fixedbugs/bug012.go +++ b/test/fixedbugs/bug012.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/fixedbugs/bug013.go b/test/fixedbugs/bug013.go index 4b106775c28..045786bf7a8 100644 --- a/test/fixedbugs/bug013.go +++ b/test/fixedbugs/bug013.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/fixedbugs/bug014.go b/test/fixedbugs/bug014.go index 38a6e51abcb..a20f0310e7c 100644 --- a/test/fixedbugs/bug014.go +++ b/test/fixedbugs/bug014.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/fixedbugs/bug015.go b/test/fixedbugs/bug015.go index 9178f626fc7..d3a9f22ed08 100644 --- a/test/fixedbugs/bug015.go +++ b/test/fixedbugs/bug015.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/fixedbugs/bug016.go b/test/fixedbugs/bug016.go index 4fbfd48fd97..18fac78f34a 100644 --- a/test/fixedbugs/bug016.go +++ b/test/fixedbugs/bug016.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/fixedbugs/bug017.go b/test/fixedbugs/bug017.go index fdc986d9def..2f5960d1044 100644 --- a/test/fixedbugs/bug017.go +++ b/test/fixedbugs/bug017.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/fixedbugs/bug021.go b/test/fixedbugs/bug021.go index 201fa5f0390..bf936e875cd 100644 --- a/test/fixedbugs/bug021.go +++ b/test/fixedbugs/bug021.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/fixedbugs/bug022.go b/test/fixedbugs/bug022.go index f94a5856936..65a8bfe9a19 100644 --- a/test/fixedbugs/bug022.go +++ b/test/fixedbugs/bug022.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/fixedbugs/bug023.go b/test/fixedbugs/bug023.go index b3d3d4a3c15..9b211cd54f8 100644 --- a/test/fixedbugs/bug023.go +++ b/test/fixedbugs/bug023.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/fixedbugs/bug024.go b/test/fixedbugs/bug024.go index c7b17b7c092..2e235b7b46b 100644 --- a/test/fixedbugs/bug024.go +++ b/test/fixedbugs/bug024.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/fixedbugs/bug026.go b/test/fixedbugs/bug026.go index eacea37459f..bfd03cc9555 100644 --- a/test/fixedbugs/bug026.go +++ b/test/fixedbugs/bug026.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/fixedbugs/bug027.go b/test/fixedbugs/bug027.go index cf2daaecf06..874b47e7adc 100644 --- a/test/fixedbugs/bug027.go +++ b/test/fixedbugs/bug027.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/fixedbugs/bug028.go b/test/fixedbugs/bug028.go index 0488ad2cba8..2edf5a9106f 100644 --- a/test/fixedbugs/bug028.go +++ b/test/fixedbugs/bug028.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/fixedbugs/bug030.go b/test/fixedbugs/bug030.go index 7efde9b4453..ffd29e057a9 100644 --- a/test/fixedbugs/bug030.go +++ b/test/fixedbugs/bug030.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/fixedbugs/bug031.go b/test/fixedbugs/bug031.go index acb4741e9f7..529e5ce84ce 100644 --- a/test/fixedbugs/bug031.go +++ b/test/fixedbugs/bug031.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/fixedbugs/bug035.go b/test/fixedbugs/bug035.go index bd2a633f298..ae41a179537 100644 --- a/test/fixedbugs/bug035.go +++ b/test/fixedbugs/bug035.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/fixedbugs/bug037.go b/test/fixedbugs/bug037.go index ff7d28710a1..f17fb3fd74c 100644 --- a/test/fixedbugs/bug037.go +++ b/test/fixedbugs/bug037.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/fixedbugs/bug039.go b/test/fixedbugs/bug039.go index 7ac02ceeb29..d34f5e62e47 100644 --- a/test/fixedbugs/bug039.go +++ b/test/fixedbugs/bug039.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/fixedbugs/bug045.go b/test/fixedbugs/bug045.go index 94888c40e2e..c66a2411a89 100644 --- a/test/fixedbugs/bug045.go +++ b/test/fixedbugs/bug045.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/fixedbugs/bug046.go b/test/fixedbugs/bug046.go index 8a9b797074d..219e91d537b 100644 --- a/test/fixedbugs/bug046.go +++ b/test/fixedbugs/bug046.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/fixedbugs/bug047.go b/test/fixedbugs/bug047.go index 5a776abce8d..7619ae73c66 100644 --- a/test/fixedbugs/bug047.go +++ b/test/fixedbugs/bug047.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/fixedbugs/bug048.go b/test/fixedbugs/bug048.go index b9fee7899c8..48ad751e2c6 100644 --- a/test/fixedbugs/bug048.go +++ b/test/fixedbugs/bug048.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/fixedbugs/bug049.go b/test/fixedbugs/bug049.go index 8fd67ccd51b..51990f2dfbc 100644 --- a/test/fixedbugs/bug049.go +++ b/test/fixedbugs/bug049.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/fixedbugs/bug050.go b/test/fixedbugs/bug050.go index 585c4462372..aba68b1dcbb 100644 --- a/test/fixedbugs/bug050.go +++ b/test/fixedbugs/bug050.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/fixedbugs/bug051.go b/test/fixedbugs/bug051.go index dd1662306dc..c4ba2eff675 100644 --- a/test/fixedbugs/bug051.go +++ b/test/fixedbugs/bug051.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/fixedbugs/bug052.go b/test/fixedbugs/bug052.go index d2c1b50617a..440a00ebebd 100644 --- a/test/fixedbugs/bug052.go +++ b/test/fixedbugs/bug052.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/fixedbugs/bug053.go b/test/fixedbugs/bug053.go index c981403edcf..00625fd7c30 100644 --- a/test/fixedbugs/bug053.go +++ b/test/fixedbugs/bug053.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/fixedbugs/bug054.go b/test/fixedbugs/bug054.go index c8a2272c236..01590585c53 100644 --- a/test/fixedbugs/bug054.go +++ b/test/fixedbugs/bug054.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