dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange behavior for scan-tree-dump testing


From: Ben Elliston
Subject: Re: Strange behavior for scan-tree-dump testing
Date: Mon, 26 Feb 2007 15:14:24 +1100
User-agent: Mutt/1.5.9i

Hi Mohamed

> I added few testcases to the existing testsuite in gcc 4.1.1.
> After running the testsuite i found out that all my test cases with
> scan-tree-dump testing failed for one particular situation.
> The values are scanned from gimple tree dump and its fails for cases like
> 
> b4 = 6.3e+1
> c1 = 1.3450000286102294921875e+0

> /* { dg-final { scan-tree-dump "b4 = 6.3e+1" "gimple" } } */

scan-tree-dump is a procedure in the GCC testsuite, not DejaGnu.  For
such questions, you would be better off asking the GCC mailing list.

> One other question is that i am getting "test for excess errors"
> Fails for some cases which produce lot of warnings but otherwise
> proper.

The "test for excess errors" will fail if the test case produces extra
output that your test case does not anticipate.  You should work out
why they are being produced.  In some cases, it will be sufficient to
just add extra dg-warnings or whatever to the test case.  If they are
existing GCC test cases (not your own), then something else is
probably wrong.

Cheers, Ben

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]