[testsuite] dg-final object-size: fail if file does not exist

Joseph S. Myers joseph@codesourcery.com
Thu Jun 16 23:55:00 GMT 2011

On Thu, 16 Jun 2011, Janis Johnson wrote:

> Currently there are several possible causes for failure in object-size.
> Some are errors in the test itself, like the wrong number of arguments,
> but some others could be UNRESOLVED instead of ERROR, such as the "size"
> command failing or producing unexpected output.  Can the UNRESOLVED line
> include additional information about the reason for the failure, or
> should the reason just be in a message in the log file?

My view is that reasons should be separately in the log file; there should 
be a fixed set of test names, each of which may be PASS, FAIL, UNRESOLVED 
etc. in a particular test run.  (I know the code reporting ICEs in test 
names doesn't conform to this; properly that should have separate "test 
for internal compiler error" test names rather than modifying the name of 
a failing test if it has an ICE.)

Joseph S. Myers

More information about the Gcc-patches mailing list