summaryrefslogtreecommitdiff
path: root/test/ken
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-16 23:50:37 -0500
committerRuss Cox <rsc@golang.org>2012-02-16 23:50:37 -0500
commit919bacb81724be250e3841d23e0cfce20c9c5429 (patch)
treec9eab29a462860871594d716e9643455c801fba3 /test/ken
parenta5597cf7e02e7008597c44adaf9513e5681fa596 (diff)
downloadgo-919bacb81724be250e3841d23e0cfce20c9c5429.tar.gz
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 http://codereview.appspot.com/5673079
Diffstat (limited to 'test/ken')
-rw-r--r--test/ken/array.go2
-rw-r--r--test/ken/chan.go2
-rw-r--r--test/ken/chan1.go2
-rw-r--r--test/ken/complit.go2
-rw-r--r--test/ken/convert.go2
-rw-r--r--test/ken/cplx1.go2
-rw-r--r--test/ken/cplx2.go2
-rw-r--r--test/ken/cplx3.go2
-rw-r--r--test/ken/cplx4.go2
-rw-r--r--test/ken/cplx5.go2
-rw-r--r--test/ken/divconst.go2
-rw-r--r--test/ken/divmod.go2
-rw-r--r--test/ken/embed.go2
-rw-r--r--test/ken/for.go2
-rw-r--r--test/ken/interbasic.go2
-rw-r--r--test/ken/interfun.go2
-rw-r--r--test/ken/intervar.go2
-rw-r--r--test/ken/label.go2
-rw-r--r--test/ken/litfun.go2
-rw-r--r--test/ken/mfunc.go2
-rw-r--r--test/ken/modconst.go2
-rw-r--r--test/ken/ptrfun.go2
-rw-r--r--test/ken/ptrvar.go2
-rw-r--r--test/ken/range.go2
-rw-r--r--test/ken/rob1.go2
-rw-r--r--test/ken/rob2.go2
-rw-r--r--test/ken/robfor.go2
-rw-r--r--test/ken/robfunc.go2
-rw-r--r--test/ken/shift.go2
-rw-r--r--test/ken/simparray.go2
-rw-r--r--test/ken/simpbool.go2
-rw-r--r--test/ken/simpconv.go2
-rw-r--r--test/ken/simpfun.go2
-rw-r--r--test/ken/simpswitch.go2
-rw-r--r--test/ken/simpvar.go2
-rw-r--r--test/ken/slicearray.go2
-rw-r--r--test/ken/sliceslice.go2
-rw-r--r--test/ken/strvar.go2
38 files changed, 38 insertions, 38 deletions
diff --git a/test/ken/array.go b/test/ken/array.go
index 12694fec6..53f6fc88e 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 ef75b044d..3bfa5b2d2 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 e5fc033f3..ccb261995 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 da0a84a04..cab3bca38 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 3780ec886..83e573a3f 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 8ec7d40f5..9421c53e1 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 89f4a0418..a3c1570ba 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 048c93eef..092354983 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 738afcd2c..8104ff14d 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 e6696674b..0e2c88221 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 5a64d16b4..46786fb67 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 dc44ea245..02c762dd0 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 9805e479b..a3e1980e8 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 176ecd749..914229b58 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 9bb50886a..113fe3c9b 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 94bc7eaad..ca875e837 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 73d1b0660..30815d06b 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 7a509f048..b8867a7d1 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 bac2bc17c..4c40ee24c 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 ae0bc0c58..2213b8132 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 c2603a0a0..3905b8123 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 6739ba33a..b11593156 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 e2ddde629..c6b4656fc 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 9535fd497..07d0e9a67 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 a5854b93e..35720c928 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 d13e2441d..bd8a43515 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 05188a472..958efca3a 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 6b3d4b2e4..40c5b9042 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 157a07aec..c60143d70 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 1b6f245ee..553bc4d68 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 dbd9c8d8b..4a8324ccb 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 feb85d299..9dc7ebf93 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 ba9ce6f7b..b2c803e89 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 710af2e08..cc5f281fc 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 fd060b0e2..324008d23 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 5c31270fc..e0f2d322b 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 639042128..ed1a5fe5a 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 dfaaf1213..34b2621b1 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