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

2011-06-18 Thread Mike Stump
On Jun 16, 2011, at 5:26 PM, Janis Johnson wrote: > This new fix to object-size, used within dg-final, continues to report > static test errors as ERROR, but reports problems detected at runtime > as UNRESOLVED, writing the reason to the log file. I'm confident that > a missing object file should

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

2011-06-16 Thread Janis Johnson
On 06/16/2011 04:18 PM, Joseph S. Myers wrote: > 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

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

2011-06-16 Thread Joseph S. Myers
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 un

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

2011-06-16 Thread Janis Johnson
On 06/16/2011 10:08 AM, Joseph S. Myers wrote: > On Thu, 16 Jun 2011, Janis Johnson wrote: > >> Currently the dg-final check "object-size" results in ERROR if the >> assemble failed and the object file does not exist. This patch fails >> the test instead. OK for trunk? > > The set of testcase n

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

2011-06-16 Thread Mike Stump
On Jun 16, 2011, at 9:31 AM, Janis Johnson wrote: > Currently the dg-final check "object-size" results in ERROR if the > assemble failed and the object file does not exist. This patch fails > the test instead. If you can arrange for call fail on only those things that later would have called pas

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

2011-06-16 Thread Joseph S. Myers
On Thu, 16 Jun 2011, Janis Johnson wrote: > Currently the dg-final check "object-size" results in ERROR if the > assemble failed and the object file does not exist. This patch fails > the test instead. OK for trunk? The set of testcase names - the things after "PASS: " or "FAIL: " or other sta

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

2011-06-16 Thread Janis Johnson
Currently the dg-final check "object-size" results in ERROR if the assemble failed and the object file does not exist. This patch fails the test instead. OK for trunk? Janis 2011-06-16 Janis Johnson * lib/scanasm.exp (object-size): Fail if object file does not exist. Index: lib/scan