On Fri, 11 Mar 2005, Per Bothner wrote: > So the immediate question is: how should the testcase be fixed?
Specify a line number in the second dg-error to tell dejagnu what line to expect the error on. { dg-error "expected regexp" "test name" { target *-*-* } line-number } or { dg-error "expected regexp" "test name" { xfail *-*-* } line-number } > The general frustration is: where is dg-error documented? It ought to be in the dejagnu manual (i.e., that's where documentation should best be contributed) since dg-error is part of base dejagnu. -- Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/ [EMAIL PROTECTED] (personal mail) [EMAIL PROTECTED] (CodeSourcery mail) [EMAIL PROTECTED] (Bugzilla assignments and CCs)