From 8080384a68850b47d7c5a85f7f904de80a3ae449 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 16 Feb 2012 23:49:59 -0500 Subject: [PATCH] test: use testlib (third 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/5656083 --- test/fixedbugs/bug235.go | 2 +- test/fixedbugs/bug236.go | 2 +- test/fixedbugs/bug237.go | 2 +- test/fixedbugs/bug238.go | 2 +- test/fixedbugs/bug240.go | 2 +- test/fixedbugs/bug241.go | 2 +- test/fixedbugs/bug243.go | 2 +- test/fixedbugs/bug244.go | 2 +- test/fixedbugs/bug249.go | 2 +- test/fixedbugs/bug251.go | 2 +- test/fixedbugs/bug252.go | 2 +- test/fixedbugs/bug255.go | 2 +- test/fixedbugs/bug256.go | 2 +- test/fixedbugs/bug258.go | 2 +- test/fixedbugs/bug259.go | 2 +- test/fixedbugs/bug261.go | 2 +- test/fixedbugs/bug262.go | 2 +- test/fixedbugs/bug263.go | 2 +- test/fixedbugs/bug269.go | 2 +- test/fixedbugs/bug271.go | 2 +- test/fixedbugs/bug272.go | 2 +- test/fixedbugs/bug273.go | 2 +- test/fixedbugs/bug274.go | 2 +- test/fixedbugs/bug278.go | 2 +- test/fixedbugs/bug279.go | 2 +- test/fixedbugs/bug280.go | 2 +- test/fixedbugs/bug281.go | 2 +- test/fixedbugs/bug284.go | 2 +- test/fixedbugs/bug287.go | 2 +- test/fixedbugs/bug288.go | 2 +- test/fixedbugs/bug289.go | 2 +- test/fixedbugs/bug290.go | 2 +- test/fixedbugs/bug291.go | 2 +- test/fixedbugs/bug292.go | 2 +- test/fixedbugs/bug293.go | 2 +- test/fixedbugs/bug294.go | 2 +- test/fixedbugs/bug295.go | 2 +- test/fixedbugs/bug296.go | 2 +- test/fixedbugs/bug297.go | 2 +- test/fixedbugs/bug298.go | 2 +- test/fixedbugs/bug299.go | 2 +- test/fixedbugs/bug300.go | 2 +- test/fixedbugs/bug303.go | 2 +- test/fixedbugs/bug304.go | 2 +- test/fixedbugs/bug305.go | 2 +- test/fixedbugs/bug307.go | 2 +- test/fixedbugs/bug308.go | 2 +- test/fixedbugs/bug309.go | 2 +- test/fixedbugs/bug311.go | 2 +- test/fixedbugs/bug312.go | 2 +- test/fixedbugs/bug318.go | 2 +- test/fixedbugs/bug319.go | 2 +- test/fixedbugs/bug320.go | 2 +- test/fixedbugs/bug323.go | 2 +- test/fixedbugs/bug325.go | 2 +- test/fixedbugs/bug326.go | 2 +- test/fixedbugs/bug327.go | 2 +- test/fixedbugs/bug329.go | 2 +- test/fixedbugs/bug330.go | 2 +- test/fixedbugs/bug332.go | 2 +- test/fixedbugs/bug333.go | 2 +- test/fixedbugs/bug336.go | 2 +- test/fixedbugs/bug337.go | 2 +- test/fixedbugs/bug338.go | 2 +- test/fixedbugs/bug339.go | 2 +- test/fixedbugs/bug340.go | 2 +- test/fixedbugs/bug342.go | 2 +- test/fixedbugs/bug344.go | 2 +- test/fixedbugs/bug347.go | 2 +- test/fixedbugs/bug348.go | 2 +- test/fixedbugs/bug349.go | 2 +- test/fixedbugs/bug350.go | 2 +- test/fixedbugs/bug351.go | 2 +- test/fixedbugs/bug353.go | 2 +- test/fixedbugs/bug355.go | 2 +- test/fixedbugs/bug357.go | 2 +- test/fixedbugs/bug358.go | 2 +- test/fixedbugs/bug362.go | 2 +- test/fixedbugs/bug363.go | 2 +- test/fixedbugs/bug364.go | 2 +- test/fixedbugs/bug365.go | 2 +- test/fixedbugs/bug366.go | 2 +- test/fixedbugs/bug368.go | 2 +- test/fixedbugs/bug369.go | 2 +- test/fixedbugs/bug370.go | 2 +- test/fixedbugs/bug371.go | 2 +- test/fixedbugs/bug373.go | 2 +- test/fixedbugs/bug374.go | 2 +- test/fixedbugs/bug376.go | 2 +- test/fixedbugs/bug379.go | 2 +- test/fixedbugs/bug380.go | 2 +- test/fixedbugs/bug381.go | 2 +- test/fixedbugs/bug383.go | 2 +- test/fixedbugs/bug384.go | 2 +- test/fixedbugs/bug386.go | 2 +- test/fixedbugs/bug388.go | 2 +- test/fixedbugs/bug389.go | 2 +- test/fixedbugs/bug390.go | 2 +- test/fixedbugs/bug394.go | 2 +- 99 files changed, 99 insertions(+), 99 deletions(-) diff --git a/test/fixedbugs/bug235.go b/test/fixedbugs/bug235.go index a494c50f537..d12d9e7368a 100644 --- a/test/fixedbugs/bug235.go +++ b/test/fixedbugs/bug235.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/fixedbugs/bug236.go b/test/fixedbugs/bug236.go index 895f82a2320..6c245565f29 100644 --- a/test/fixedbugs/bug236.go +++ b/test/fixedbugs/bug236.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/bug237.go b/test/fixedbugs/bug237.go index 55cc86acea1..58996cadc0b 100644 --- a/test/fixedbugs/bug237.go +++ b/test/fixedbugs/bug237.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/bug238.go b/test/fixedbugs/bug238.go index 4d5a905f054..cc47189e168 100644 --- a/test/fixedbugs/bug238.go +++ b/test/fixedbugs/bug238.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/bug240.go b/test/fixedbugs/bug240.go index 6cba9c8b1e5..478b5b2eafe 100644 --- a/test/fixedbugs/bug240.go +++ b/test/fixedbugs/bug240.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/bug241.go b/test/fixedbugs/bug241.go index 172b3742e54..1f4440147b9 100644 --- a/test/fixedbugs/bug241.go +++ b/test/fixedbugs/bug241.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/bug243.go b/test/fixedbugs/bug243.go index e3ddf0e7745..4870c3614cb 100644 --- a/test/fixedbugs/bug243.go +++ b/test/fixedbugs/bug243.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/fixedbugs/bug244.go b/test/fixedbugs/bug244.go index 915c3fcd095..29bf0d58b97 100644 --- a/test/fixedbugs/bug244.go +++ b/test/fixedbugs/bug244.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/fixedbugs/bug249.go b/test/fixedbugs/bug249.go index c85708fd8e8..dc922455e3f 100644 --- a/test/fixedbugs/bug249.go +++ b/test/fixedbugs/bug249.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/bug251.go b/test/fixedbugs/bug251.go index d2ee6fb29db..43d9d526fd1 100644 --- a/test/fixedbugs/bug251.go +++ b/test/fixedbugs/bug251.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug252.go b/test/fixedbugs/bug252.go index a2c1dab9d39..6f007fb7714 100644 --- a/test/fixedbugs/bug252.go +++ b/test/fixedbugs/bug252.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug255.go b/test/fixedbugs/bug255.go index 44427cfdb4e..dbd41cc6ab3 100644 --- a/test/fixedbugs/bug255.go +++ b/test/fixedbugs/bug255.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/fixedbugs/bug256.go b/test/fixedbugs/bug256.go index 37fa5f5c805..0498a40d548 100644 --- a/test/fixedbugs/bug256.go +++ b/test/fixedbugs/bug256.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/fixedbugs/bug258.go b/test/fixedbugs/bug258.go index 8984df592db..d362e5a6973 100644 --- a/test/fixedbugs/bug258.go +++ b/test/fixedbugs/bug258.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/fixedbugs/bug259.go b/test/fixedbugs/bug259.go index d148fb3a0c0..e4dcaeb2fea 100644 --- a/test/fixedbugs/bug259.go +++ b/test/fixedbugs/bug259.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/fixedbugs/bug261.go b/test/fixedbugs/bug261.go index 8c3fda1e715..f7879b04c10 100644 --- a/test/fixedbugs/bug261.go +++ b/test/fixedbugs/bug261.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/fixedbugs/bug262.go b/test/fixedbugs/bug262.go index ebca7905f9a..6cf248a1811 100644 --- a/test/fixedbugs/bug262.go +++ b/test/fixedbugs/bug262.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/fixedbugs/bug263.go b/test/fixedbugs/bug263.go index cab986ad593..f1cf9010d1c 100644 --- a/test/fixedbugs/bug263.go +++ b/test/fixedbugs/bug263.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/fixedbugs/bug269.go b/test/fixedbugs/bug269.go index 4cc0408c373..c13eb26ce4a 100644 --- a/test/fixedbugs/bug269.go +++ b/test/fixedbugs/bug269.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/fixedbugs/bug271.go b/test/fixedbugs/bug271.go index ba93d93ed2a..88add7040ac 100644 --- a/test/fixedbugs/bug271.go +++ b/test/fixedbugs/bug271.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/fixedbugs/bug272.go b/test/fixedbugs/bug272.go index 3b7c466748e..c27f7ee446e 100644 --- a/test/fixedbugs/bug272.go +++ b/test/fixedbugs/bug272.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/fixedbugs/bug273.go b/test/fixedbugs/bug273.go index dd5aaa7b8af..b35b17d2ed4 100644 --- a/test/fixedbugs/bug273.go +++ b/test/fixedbugs/bug273.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/fixedbugs/bug274.go b/test/fixedbugs/bug274.go index 198544c3f54..beb2d61acc8 100644 --- a/test/fixedbugs/bug274.go +++ b/test/fixedbugs/bug274.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug278.go b/test/fixedbugs/bug278.go index 3699b9a141d..68a3d811c74 100644 --- a/test/fixedbugs/bug278.go +++ b/test/fixedbugs/bug278.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug279.go b/test/fixedbugs/bug279.go index af8e056d97f..e5ec5943c0d 100644 --- a/test/fixedbugs/bug279.go +++ b/test/fixedbugs/bug279.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/fixedbugs/bug280.go b/test/fixedbugs/bug280.go index 869d446268c..ba594a2c482 100644 --- a/test/fixedbugs/bug280.go +++ b/test/fixedbugs/bug280.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug281.go b/test/fixedbugs/bug281.go index 821b0282550..24d6fdce8ce 100644 --- a/test/fixedbugs/bug281.go +++ b/test/fixedbugs/bug281.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/fixedbugs/bug284.go b/test/fixedbugs/bug284.go index bcf161e3de4..68208085fa8 100644 --- a/test/fixedbugs/bug284.go +++ b/test/fixedbugs/bug284.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/fixedbugs/bug287.go b/test/fixedbugs/bug287.go index a4a08eedc42..2ed81c593df 100644 --- a/test/fixedbugs/bug287.go +++ b/test/fixedbugs/bug287.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug288.go b/test/fixedbugs/bug288.go index 0105159d138..d2461e6a9f3 100644 --- a/test/fixedbugs/bug288.go +++ b/test/fixedbugs/bug288.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/fixedbugs/bug289.go b/test/fixedbugs/bug289.go index f7180ff04c1..3c6b68767a6 100644 --- a/test/fixedbugs/bug289.go +++ b/test/fixedbugs/bug289.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug290.go b/test/fixedbugs/bug290.go index 80437c7f856..c8ff0bc45d0 100644 --- a/test/fixedbugs/bug290.go +++ b/test/fixedbugs/bug290.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/fixedbugs/bug291.go b/test/fixedbugs/bug291.go index 09334c92112..17a5483ef54 100644 --- a/test/fixedbugs/bug291.go +++ b/test/fixedbugs/bug291.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/fixedbugs/bug292.go b/test/fixedbugs/bug292.go index 05852cd46dd..07051dd3fbe 100644 --- a/test/fixedbugs/bug292.go +++ b/test/fixedbugs/bug292.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/fixedbugs/bug293.go b/test/fixedbugs/bug293.go index ca9b71a3acd..bf926f5a4dd 100644 --- a/test/fixedbugs/bug293.go +++ b/test/fixedbugs/bug293.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/fixedbugs/bug294.go b/test/fixedbugs/bug294.go index 18f45931c4b..0f3e38098c5 100644 --- a/test/fixedbugs/bug294.go +++ b/test/fixedbugs/bug294.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/fixedbugs/bug295.go b/test/fixedbugs/bug295.go index fec2351f31b..e2e5206ca14 100644 --- a/test/fixedbugs/bug295.go +++ b/test/fixedbugs/bug295.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/fixedbugs/bug296.go b/test/fixedbugs/bug296.go index 46d8dbcfe4b..a7c4e0c464e 100644 --- a/test/fixedbugs/bug296.go +++ b/test/fixedbugs/bug296.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/fixedbugs/bug297.go b/test/fixedbugs/bug297.go index 8767cdfea54..b5dfa8d878e 100644 --- a/test/fixedbugs/bug297.go +++ b/test/fixedbugs/bug297.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug298.go b/test/fixedbugs/bug298.go index c16c3f98af1..bd362ace2d0 100644 --- a/test/fixedbugs/bug298.go +++ b/test/fixedbugs/bug298.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug299.go b/test/fixedbugs/bug299.go index 1c7adb5f5b8..9646723bfda 100644 --- a/test/fixedbugs/bug299.go +++ b/test/fixedbugs/bug299.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug300.go b/test/fixedbugs/bug300.go index 09ee3ab697f..1ef43a0ad0b 100644 --- a/test/fixedbugs/bug300.go +++ b/test/fixedbugs/bug300.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug303.go b/test/fixedbugs/bug303.go index 3bd790f136d..94ca07e702f 100644 --- a/test/fixedbugs/bug303.go +++ b/test/fixedbugs/bug303.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/fixedbugs/bug304.go b/test/fixedbugs/bug304.go index adcf08a3557..ad71b20f385 100644 --- a/test/fixedbugs/bug304.go +++ b/test/fixedbugs/bug304.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/fixedbugs/bug305.go b/test/fixedbugs/bug305.go index 758fee2698a..d0a4b24b877 100644 --- a/test/fixedbugs/bug305.go +++ b/test/fixedbugs/bug305.go @@ -1,4 +1,4 @@ -// errchk $G $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/fixedbugs/bug307.go b/test/fixedbugs/bug307.go index 1b42c09ab1e..64451252971 100644 --- a/test/fixedbugs/bug307.go +++ b/test/fixedbugs/bug307.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/fixedbugs/bug308.go b/test/fixedbugs/bug308.go index c2845f04213..5bea5175b17 100644 --- a/test/fixedbugs/bug308.go +++ b/test/fixedbugs/bug308.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/fixedbugs/bug309.go b/test/fixedbugs/bug309.go index 37033f6cc08..948ca5c796d 100644 --- a/test/fixedbugs/bug309.go +++ b/test/fixedbugs/bug309.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/fixedbugs/bug311.go b/test/fixedbugs/bug311.go index ed937a67470..edcd9759635 100644 --- a/test/fixedbugs/bug311.go +++ b/test/fixedbugs/bug311.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/fixedbugs/bug312.go b/test/fixedbugs/bug312.go index 70888dd410f..c7c17e10118 100644 --- a/test/fixedbugs/bug312.go +++ b/test/fixedbugs/bug312.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/fixedbugs/bug318.go b/test/fixedbugs/bug318.go index 9c46a04269c..93de2d84710 100644 --- a/test/fixedbugs/bug318.go +++ b/test/fixedbugs/bug318.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug319.go b/test/fixedbugs/bug319.go index f60eee4fb23..f8e959a3185 100644 --- a/test/fixedbugs/bug319.go +++ b/test/fixedbugs/bug319.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/fixedbugs/bug320.go b/test/fixedbugs/bug320.go index 06d41f2ed87..c2dd31b8131 100644 --- a/test/fixedbugs/bug320.go +++ b/test/fixedbugs/bug320.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/bug323.go b/test/fixedbugs/bug323.go index 23e2be6603a..9730ae5c8c6 100644 --- a/test/fixedbugs/bug323.go +++ b/test/fixedbugs/bug323.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug325.go b/test/fixedbugs/bug325.go index b86740fff93..6ccd0e3c820 100644 --- a/test/fixedbugs/bug325.go +++ b/test/fixedbugs/bug325.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug326.go b/test/fixedbugs/bug326.go index 7e123e3a39b..57f6471dc8e 100644 --- a/test/fixedbugs/bug326.go +++ b/test/fixedbugs/bug326.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug327.go b/test/fixedbugs/bug327.go index 4ba5f6072e8..0598d95d682 100644 --- a/test/fixedbugs/bug327.go +++ b/test/fixedbugs/bug327.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/bug329.go b/test/fixedbugs/bug329.go index 0b7074d62ba..74fc78198b3 100644 --- a/test/fixedbugs/bug329.go +++ b/test/fixedbugs/bug329.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/bug330.go b/test/fixedbugs/bug330.go index 114492aff80..ef6a0777fee 100644 --- a/test/fixedbugs/bug330.go +++ b/test/fixedbugs/bug330.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/bug332.go b/test/fixedbugs/bug332.go index be79286b819..702779ba675 100644 --- a/test/fixedbugs/bug332.go +++ b/test/fixedbugs/bug332.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug333.go b/test/fixedbugs/bug333.go index 515c1f3fabd..bb690f0e5b6 100644 --- a/test/fixedbugs/bug333.go +++ b/test/fixedbugs/bug333.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/bug336.go b/test/fixedbugs/bug336.go index 8de36898f8c..fbf23207c2e 100644 --- a/test/fixedbugs/bug336.go +++ b/test/fixedbugs/bug336.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/bug337.go b/test/fixedbugs/bug337.go index ca9b4b45369..38dc665fa68 100644 --- a/test/fixedbugs/bug337.go +++ b/test/fixedbugs/bug337.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug338.go b/test/fixedbugs/bug338.go index c368a7fadc5..c2193fcc253 100644 --- a/test/fixedbugs/bug338.go +++ b/test/fixedbugs/bug338.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/fixedbugs/bug339.go b/test/fixedbugs/bug339.go index eac7c5ee623..59921d41cab 100644 --- a/test/fixedbugs/bug339.go +++ b/test/fixedbugs/bug339.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/bug340.go b/test/fixedbugs/bug340.go index 34cc013151f..d996ab64cd4 100644 --- a/test/fixedbugs/bug340.go +++ b/test/fixedbugs/bug340.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug342.go b/test/fixedbugs/bug342.go index 0852cdd3483..5f1efbdfe1e 100644 --- a/test/fixedbugs/bug342.go +++ b/test/fixedbugs/bug342.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug344.go b/test/fixedbugs/bug344.go index ce953f7f2f7..4a92624c769 100644 --- a/test/fixedbugs/bug344.go +++ b/test/fixedbugs/bug344.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/bug347.go b/test/fixedbugs/bug347.go index 5532cee8310..08edf0f4ffb 100644 --- a/test/fixedbugs/bug347.go +++ b/test/fixedbugs/bug347.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/bug348.go b/test/fixedbugs/bug348.go index 1a539aa3e47..54a289a8de6 100644 --- a/test/fixedbugs/bug348.go +++ b/test/fixedbugs/bug348.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/bug349.go b/test/fixedbugs/bug349.go index e7612edb77e..a3e6bd1619a 100644 --- a/test/fixedbugs/bug349.go +++ b/test/fixedbugs/bug349.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug350.go b/test/fixedbugs/bug350.go index f8df3f58b96..5ce8996ffaa 100644 --- a/test/fixedbugs/bug350.go +++ b/test/fixedbugs/bug350.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug351.go b/test/fixedbugs/bug351.go index 9625c6a501c..4c5c7c32782 100644 --- a/test/fixedbugs/bug351.go +++ b/test/fixedbugs/bug351.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug353.go b/test/fixedbugs/bug353.go index b59d97f3384..2a532c49115 100644 --- a/test/fixedbugs/bug353.go +++ b/test/fixedbugs/bug353.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug355.go b/test/fixedbugs/bug355.go index a9cf0161b0d..fcf859b7fcc 100644 --- a/test/fixedbugs/bug355.go +++ b/test/fixedbugs/bug355.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/bug357.go b/test/fixedbugs/bug357.go index 448d9826370..2ac64a80b64 100644 --- a/test/fixedbugs/bug357.go +++ b/test/fixedbugs/bug357.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug358.go b/test/fixedbugs/bug358.go index 82fbf7f8150..6a008484f4f 100644 --- a/test/fixedbugs/bug358.go +++ b/test/fixedbugs/bug358.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug362.go b/test/fixedbugs/bug362.go index f38572c0d0f..b888ccb4487 100644 --- a/test/fixedbugs/bug362.go +++ b/test/fixedbugs/bug362.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug363.go b/test/fixedbugs/bug363.go index 9347ec28b62..615c66865cb 100644 --- a/test/fixedbugs/bug363.go +++ b/test/fixedbugs/bug363.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug364.go b/test/fixedbugs/bug364.go index a93312107e3..64120d1643c 100644 --- a/test/fixedbugs/bug364.go +++ b/test/fixedbugs/bug364.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/bug365.go b/test/fixedbugs/bug365.go index bc8c2c5e62c..795323bb3d2 100644 --- a/test/fixedbugs/bug365.go +++ b/test/fixedbugs/bug365.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug366.go b/test/fixedbugs/bug366.go index 8c000f50a93..33a1a5a7ebf 100644 --- a/test/fixedbugs/bug366.go +++ b/test/fixedbugs/bug366.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/bug368.go b/test/fixedbugs/bug368.go index 8d94f531c9b..c38cc7fad79 100644 --- a/test/fixedbugs/bug368.go +++ b/test/fixedbugs/bug368.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/bug369.go b/test/fixedbugs/bug369.go index 8eb23eecf16..4d98e850821 100644 --- a/test/fixedbugs/bug369.go +++ b/test/fixedbugs/bug369.go @@ -1,6 +1,6 @@ // $G -N -o slow.$A $D/bug369.dir/pkg.go && // $G -o fast.$A $D/bug369.dir/pkg.go && -// $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/bug370.go b/test/fixedbugs/bug370.go index 9cb45f6e0de..246bc7c4e5b 100644 --- a/test/fixedbugs/bug370.go +++ b/test/fixedbugs/bug370.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/bug371.go b/test/fixedbugs/bug371.go index bf993df0680..6329e9635a2 100644 --- a/test/fixedbugs/bug371.go +++ b/test/fixedbugs/bug371.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug373.go b/test/fixedbugs/bug373.go index 934a6c7328c..e91f26d6ed0 100644 --- a/test/fixedbugs/bug373.go +++ b/test/fixedbugs/bug373.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug374.go b/test/fixedbugs/bug374.go index b55c5df4567..4f0b721f24b 100644 --- a/test/fixedbugs/bug374.go +++ b/test/fixedbugs/bug374.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug376.go b/test/fixedbugs/bug376.go index 1efbeecf21c..5fbbc9cd444 100644 --- a/test/fixedbugs/bug376.go +++ b/test/fixedbugs/bug376.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug379.go b/test/fixedbugs/bug379.go index 3dd3d2983bd..81e9c266ee4 100644 --- a/test/fixedbugs/bug379.go +++ b/test/fixedbugs/bug379.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug380.go b/test/fixedbugs/bug380.go index 75b58064f5d..96e1edecac8 100644 --- a/test/fixedbugs/bug380.go +++ b/test/fixedbugs/bug380.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/fixedbugs/bug381.go b/test/fixedbugs/bug381.go index 293ba71249a..0253e1446bc 100644 --- a/test/fixedbugs/bug381.go +++ b/test/fixedbugs/bug381.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug383.go b/test/fixedbugs/bug383.go index 181a897b63d..503779c3772 100644 --- a/test/fixedbugs/bug383.go +++ b/test/fixedbugs/bug383.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug384.go b/test/fixedbugs/bug384.go index b3d64668829..0233c197c4e 100644 --- a/test/fixedbugs/bug384.go +++ b/test/fixedbugs/bug384.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug386.go b/test/fixedbugs/bug386.go index b42c07073b0..ec358bd36e4 100644 --- a/test/fixedbugs/bug386.go +++ b/test/fixedbugs/bug386.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug388.go b/test/fixedbugs/bug388.go index 1459285b2fa..aa4cc5a97a6 100644 --- a/test/fixedbugs/bug388.go +++ b/test/fixedbugs/bug388.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug389.go b/test/fixedbugs/bug389.go index ecbbbdd585e..55a02e05c07 100644 --- a/test/fixedbugs/bug389.go +++ b/test/fixedbugs/bug389.go @@ -1,4 +1,4 @@ -// errchk $G $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/bug390.go b/test/fixedbugs/bug390.go index 31c4dd40bab..7ce9e137035 100644 --- a/test/fixedbugs/bug390.go +++ b/test/fixedbugs/bug390.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/bug394.go b/test/fixedbugs/bug394.go index 42c20e7a918..2d77156c1ae 100644 --- a/test/fixedbugs/bug394.go +++ b/test/fixedbugs/bug394.go @@ -1,4 +1,4 @@ -// errchk $G $D/$F.go +// errorcheck // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style