diff options
author | Russ Cox <rsc@golang.org> | 2012-02-16 23:50:37 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-16 23:50:37 -0500 |
commit | d2cc9884296e84f18ff23550a4561e7b0109efd5 (patch) | |
tree | 2096447079557286fcc31cb2f674cf56ddec4541 /test/ken | |
parent | 8080384a68850b47d7c5a85f7f904de80a3ae449 (diff) | |
download | go-d2cc9884296e84f18ff23550a4561e7b0109efd5.tar.gz go-d2cc9884296e84f18ff23550a4561e7b0109efd5.zip |
test: use testlib (fourth 100)
X ,s;^// \$G (\$D/)?\$F\.go *$;// compile;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A *$;// build;g
X ,s;^// \$G (\$D/)?\$F\.go && \$L \$F\.\$A && \./\$A\.out *$;// run;g
X ,s;^// errchk \$G( -e)? (\$D/)?\$F\.go *$;// errorcheck;g
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5673079
Diffstat (limited to 'test/ken')
38 files changed, 38 insertions, 38 deletions
diff --git a/test/ken/array.go b/test/ken/array.go index 12694fec62..53f6fc88e1 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 ef75b044d7..3bfa5b2d2b 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 e5fc033f3d..ccb2619959 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 da0a84a043..cab3bca38c 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 3780ec886a..83e573a3f1 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 8ec7d40f5e..9421c53e1e 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 89f4a04181..a3c1570ba3 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 048c93eef6..092354983d 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 738afcd2ca..8104ff14d0 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 e6696674b0..0e2c88221e 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 5a64d16b49..46786fb67c 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 dc44ea245b..02c762dd04 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 9805e479bb..a3e1980e84 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 176ecd7493..914229b582 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 9bb50886a4..113fe3c9be 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 94bc7eaada..ca875e8378 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 73d1b0660b..30815d06b8 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 7a509f0484..b8867a7d1c 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 bac2bc17cc..4c40ee24cc 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 ae0bc0c58a..2213b8132b 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 c2603a0a09..3905b8123c 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 6739ba33ae..b115931566 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 e2ddde6292..c6b4656fc5 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 9535fd497d..07d0e9a677 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 a5854b93e2..35720c928c 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 d13e2441d4..bd8a435158 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 05188a4723..958efca3a2 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 6b3d4b2e46..40c5b9042a 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 157a07aec5..c60143d700 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 1b6f245eea..553bc4d689 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 dbd9c8d8bc..4a8324ccb7 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 feb85d2999..9dc7ebf934 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 ba9ce6f7bc..b2c803e891 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 710af2e08c..cc5f281fcf 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 fd060b0e2e..324008d236 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 5c31270fcd..e0f2d322b5 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 6390421287..ed1a5fe5a1 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 dfaaf12131..34b2621b17 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 |