From: Rob Pike Date: Fri, 5 Sep 2008 00:36:57 +0000 (-0700) Subject: update tests X-Git-Tag: weekly.2009-11-06~3270 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7713599f95dd93274b779f0f74fe987ceb0e99c2;p=gostls13.git update tests R=gri OCL=14847 CL=14847 --- diff --git a/test/bugs/bug029.go b/test/fixedbugs/bug029.go similarity index 82% rename from test/bugs/bug029.go rename to test/fixedbugs/bug029.go index 87e0f689f0..7abb018c57 100644 --- a/test/bugs/bug029.go +++ b/test/fixedbugs/bug029.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// $G $D/$F.go && echo BUG: known to succeed incorrectly +// ! $G $D/$F.go package main diff --git a/test/bugs/bug061.go b/test/fixedbugs/bug061.go similarity index 100% rename from test/bugs/bug061.go rename to test/fixedbugs/bug061.go diff --git a/test/bugs/bug062.go b/test/fixedbugs/bug062.go similarity index 100% rename from test/bugs/bug062.go rename to test/fixedbugs/bug062.go diff --git a/test/golden.out b/test/golden.out index aa1173a66a..9ab450f34f 100644 --- a/test/golden.out +++ b/test/golden.out @@ -62,22 +62,12 @@ BUG should compile sys·printstring: main·sigs_I: not defined BUG: known to fail incorrectly -=========== bugs/bug029.go -BUG: known to succeed incorrectly - =========== bugs/bug032.go BUG: compilation succeeds incorrectly =========== bugs/bug041.go BUG: compilation succeeds incorrectly -=========== bugs/bug061.go -BUG: known to fail incorrectly -Bus error $G $D/$F.go - -=========== bugs/bug062.go -BUG: known to succeed incorrectly - =========== bugs/bug064.go bugs/bug064.go:15: illegal types for operand: CALL (INT32) @@ -158,6 +148,10 @@ hi 3 11 4 0 +=========== fixedbugs/bug029.go +fixedbugs/bug029.go:6: syntax error +fixedbugs/bug029.go:6: syntax error + =========== fixedbugs/bug035.go fixedbugs/bug035.go:6: var i redeclared in this block previous declaration at fixedbugs/bug035.go:5 @@ -172,6 +166,9 @@ fixedbugs/bug037.go:6: fatal error: addvar: n=NAME-s G0 a(1) l(338) t= nil fixedbugs/bug039.go:6: var x redeclared in this block previous declaration at fixedbugs/bug039.go:5 +=========== fixedbugs/bug049.go +fixedbugs/bug049.go:6: illegal conversion of constant to *STRING + =========== fixedbugs/bug050.go fixedbugs/bug050.go:3: package statement must be first sys.6:1 fixedbugs/bug050.go:3: syntax error @@ -179,6 +176,11 @@ sys.6:1 fixedbugs/bug050.go:3: syntax error =========== fixedbugs/bug051.go fixedbugs/bug051.go:10: expression must be a constant +=========== fixedbugs/bug062.go +fixedbugs/bug062.go:6: illegal conversion of constant to *STRING +fixedbugs/bug062.go:6: illegal types for operand: AS + (*STRING) + =========== fixedbugs/bug067.go ok