This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] dg-final object-size: fail if file does not exist
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
joseph@codesourcery.com