From: Ian Lance Taylor Date: Fri, 5 Dec 2008 18:20:34 +0000 (-0800) Subject: The DejaGNU testsuite harness used by the gccgo testsuite is X-Git-Tag: weekly.2009-11-06~2563 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cc352e5c1c115ac6e88a30f6ebed76235b8aaf02;p=gostls13.git The DejaGNU testsuite harness used by the gccgo testsuite is broken if you give it something which matches everything--the .* swallows all the error messages. Recognize some reasonable error text directly. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=20564 CL=20595 --- diff --git a/test/bugs/bug127.go b/test/bugs/bug127.go index a67e85144d..b463d233ce 100644 --- a/test/bugs/bug127.go +++ b/test/bugs/bug127.go @@ -7,6 +7,6 @@ package main func main() { var x int64 = 0; - println(x != nil); // ERROR ".*" - println(0 != nil); // ERROR ".*" + println(x != nil); // ERROR "illegal|incompatible" + println(0 != nil); // ERROR "illegal|incompatible" }