diff options
author | Russ Cox <rsc@golang.org> | 2012-02-16 23:51:04 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-16 23:51:04 -0500 |
commit | 57eb06fe93db49501ab61340a1bf41b95a3474b3 (patch) | |
tree | 91b0017983c55fa520a1f84ff0d3354092c3fa41 /test/syntax | |
parent | d2cc9884296e84f18ff23550a4561e7b0109efd5 (diff) | |
download | go-57eb06fe93db49501ab61340a1bf41b95a3474b3.tar.gz go-57eb06fe93db49501ab61340a1bf41b95a3474b3.zip |
test: use testlib (final 61)
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/5671080
Diffstat (limited to 'test/syntax')
-rw-r--r-- | test/syntax/chan.go | 2 | ||||
-rw-r--r-- | test/syntax/chan1.go | 2 | ||||
-rw-r--r-- | test/syntax/else.go | 2 | ||||
-rw-r--r-- | test/syntax/forvar.go | 2 | ||||
-rw-r--r-- | test/syntax/if.go | 2 | ||||
-rw-r--r-- | test/syntax/import.go | 2 | ||||
-rw-r--r-- | test/syntax/interface.go | 2 | ||||
-rw-r--r-- | test/syntax/semi1.go | 2 | ||||
-rw-r--r-- | test/syntax/semi2.go | 2 | ||||
-rw-r--r-- | test/syntax/semi3.go | 2 | ||||
-rw-r--r-- | test/syntax/semi4.go | 2 | ||||
-rw-r--r-- | test/syntax/semi5.go | 2 | ||||
-rw-r--r-- | test/syntax/semi6.go | 2 | ||||
-rw-r--r-- | test/syntax/semi7.go | 2 | ||||
-rw-r--r-- | test/syntax/topexpr.go | 2 | ||||
-rw-r--r-- | test/syntax/typesw.go | 2 | ||||
-rw-r--r-- | test/syntax/vareq.go | 2 | ||||
-rw-r--r-- | test/syntax/vareq1.go | 2 |
18 files changed, 18 insertions, 18 deletions
diff --git a/test/syntax/chan.go b/test/syntax/chan.go index ff3577502f..3b68bda35f 100644 --- a/test/syntax/chan.go +++ b/test/syntax/chan.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/syntax/chan1.go b/test/syntax/chan1.go index 9c12e5e6fe..868a1226d9 100644 --- a/test/syntax/chan1.go +++ b/test/syntax/chan1.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/syntax/else.go b/test/syntax/else.go index 99595254fd..e985a9c09c 100644 --- a/test/syntax/else.go +++ b/test/syntax/else.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/syntax/forvar.go b/test/syntax/forvar.go index f12ce55cae..dc592d2b64 100644 --- a/test/syntax/forvar.go +++ b/test/syntax/forvar.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/syntax/if.go b/test/syntax/if.go index a3b51f0c07..b2a65f9a59 100644 --- a/test/syntax/if.go +++ b/test/syntax/if.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/syntax/import.go b/test/syntax/import.go index dd1f261344..f0a7921262 100644 --- a/test/syntax/import.go +++ b/test/syntax/import.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/syntax/interface.go b/test/syntax/interface.go index a7f43533a2..0b76b5416f 100644 --- a/test/syntax/interface.go +++ b/test/syntax/interface.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/syntax/semi1.go b/test/syntax/semi1.go index 547d9bf799..8fbfb206ad 100644 --- a/test/syntax/semi1.go +++ b/test/syntax/semi1.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/syntax/semi2.go b/test/syntax/semi2.go index 28d1d3906d..cfb0ed17b7 100644 --- a/test/syntax/semi2.go +++ b/test/syntax/semi2.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/syntax/semi3.go b/test/syntax/semi3.go index ab5941bda5..645af7354a 100644 --- a/test/syntax/semi3.go +++ b/test/syntax/semi3.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/syntax/semi4.go b/test/syntax/semi4.go index 7a9c2956e7..e192348aa2 100644 --- a/test/syntax/semi4.go +++ b/test/syntax/semi4.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/syntax/semi5.go b/test/syntax/semi5.go index 5f8ccc688f..cf690f0840 100644 --- a/test/syntax/semi5.go +++ b/test/syntax/semi5.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/syntax/semi6.go b/test/syntax/semi6.go index b6279ed307..c1e1cc363a 100644 --- a/test/syntax/semi6.go +++ b/test/syntax/semi6.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/syntax/semi7.go b/test/syntax/semi7.go index 5a7b3ff4cc..6c9ade8bc2 100644 --- a/test/syntax/semi7.go +++ b/test/syntax/semi7.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/syntax/topexpr.go b/test/syntax/topexpr.go index 93d86fbe95..c5958f5dd2 100644 --- a/test/syntax/topexpr.go +++ b/test/syntax/topexpr.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/syntax/typesw.go b/test/syntax/typesw.go index 47f683cdf2..cd8cf35236 100644 --- a/test/syntax/typesw.go +++ b/test/syntax/typesw.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/syntax/vareq.go b/test/syntax/vareq.go index 8525be8cf5..f08955e91b 100644 --- a/test/syntax/vareq.go +++ b/test/syntax/vareq.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/syntax/vareq1.go b/test/syntax/vareq1.go index 9d70bea39f..e900eabebe 100644 --- a/test/syntax/vareq1.go +++ b/test/syntax/vareq1.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 |