public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* More ld testsuite tweaks
@ 2005-05-31 23:04 Zack Weinberg
  2005-06-03 10:23 ` Nick Clifton
  0 siblings, 1 reply; 4+ messages in thread
From: Zack Weinberg @ 2005-05-31 23:04 UTC (permalink / raw)
  To: binutils


ld-scripts/align1 fails on arm-epoc-pe; this seems to be a genuine
bug, but not an important one; accordingly, XFAIL it.  OK to commit?

zw

        * ld-scripts/align.exp: XFAIL align1 on arm-epoc-pe.

===================================================================
Index: ld/testsuite/ld-scripts/align.exp
--- ld/testsuite/ld-scripts/align.exp	12 May 2005 07:32:08 -0000	1.6
+++ ld/testsuite/ld-scripts/align.exp	31 May 2005 22:54:06 -0000
@@ -29,6 +29,9 @@ if ![ld_assemble $as $srcdir/$subdir/ali
     return
 }
 
+# Doesn't work on arm-epoc-pe, appears to be a genuine bug.
+setup_xfail "arm-epoc-pe"
+
 if ![ld_simple_link $ld tmpdir/align "-T $srcdir/$subdir/align.t tmpdir/align.o"] {
     fail $testname
 } else {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More ld testsuite tweaks
  2005-05-31 23:04 More ld testsuite tweaks Zack Weinberg
@ 2005-06-03 10:23 ` Nick Clifton
  2005-06-03 17:02   ` Zack Weinberg
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Clifton @ 2005-06-03 10:23 UTC (permalink / raw)
  To: Zack Weinberg; +Cc: binutils

Hi Zack,

> ld-scripts/align1 fails on arm-epoc-pe; this seems to be a genuine
> bug, but not an important one; accordingly, XFAIL it.  OK to commit?
> 
>         * ld-scripts/align.exp: XFAIL align1 on arm-epoc-pe.

Not really no.  If it is a genuine bug it ought to be fixed.  If it 
cannot be fixed, or you do not have the time to fix it, then the reason 
for the failure at least ought to be documented in the comment.  If you 
do not know why it is failing and you do not try to track it down then 
you may well missing an opportunity to uncover a problem which is not 
just specific to the arm-epoc-pe toolchain but possibly all arm 
toolchains and maybe even every toolchain.

Cheers
   Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More ld testsuite tweaks
  2005-06-03 10:23 ` Nick Clifton
@ 2005-06-03 17:02   ` Zack Weinberg
  2005-06-04 14:13     ` Nick Clifton
  0 siblings, 1 reply; 4+ messages in thread
From: Zack Weinberg @ 2005-06-03 17:02 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

Nick Clifton <nickc@redhat.com> writes:

> Hi Zack,
>
>> ld-scripts/align1 fails on arm-epoc-pe; this seems to be a genuine
>> bug, but not an important one; accordingly, XFAIL it.  OK to commit?
>>         * ld-scripts/align.exp: XFAIL align1 on arm-epoc-pe.
>
> Not really no.  If it is a genuine bug it ought to be fixed.  If it
> cannot be fixed, or you do not have the time to fix it, then the
> reason for the failure at least ought to be documented in the comment.
> If you do not know why it is failing and you do not try to track it
> down then you may well missing an opportunity to uncover a problem
> which is not just specific to the arm-epoc-pe toolchain but possibly
> all arm toolchains and maybe even every toolchain.

I did try to track it down, but got nowhere.  (I'm still not very good
at tracing binutils' internal logic.)  Since I posted that patch, I've
determined that it is a general PECOFF problem, but I know no more
than that.  

Alan Modra already approved the (general PECOFF) xfail.  I'd prefer
not to take it back out again.  Over on the gcc side, we've found that
having a baseline state of no unexpected failures is a very desirable
thing - it means you can have confidence that any FAILs that show up
in testing are your fault.

zw

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More ld testsuite tweaks
  2005-06-03 17:02   ` Zack Weinberg
@ 2005-06-04 14:13     ` Nick Clifton
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Clifton @ 2005-06-04 14:13 UTC (permalink / raw)
  To: Zack Weinberg; +Cc: binutils

Hi Zack,

>>Not really no.  If it is a genuine bug it ought to be fixed.  If it
>>cannot be fixed, or you do not have the time to fix it, then the
>>reason for the failure at least ought to be documented in the comment.
>>If you do not know why it is failing and you do not try to track it
>>down then you may well missing an opportunity to uncover a problem
>>which is not just specific to the arm-epoc-pe toolchain but possibly
>>all arm toolchains and maybe even every toolchain.
> 
> 
> I did try to track it down, but got nowhere.  (I'm still not very good
> at tracing binutils' internal logic.)  Since I posted that patch, I've
> determined that it is a general PECOFF problem, but I know no more
> than that.  
> 
> Alan Modra already approved the (general PECOFF) xfail.  I'd prefer
> not to take it back out again.  

No it is fine.  The reply above was sent before I saw your modified post 
which addressed the problem in a broader fashion.

> Over on the gcc side, we've found that
> having a baseline state of no unexpected failures is a very desirable
> thing - it means you can have confidence that any FAILs that show up
> in testing are your fault.

True - but I would prefer that we achieve such a state for binutils by 
fixing the existing bugs rather than just suppressing the tests that 
reveal them.  (Actually I would prefer that for gcc too... :-)  The 
problem I have found is that once a bug has been XFAILed in the 
testsuite it is left and ignored until it trips up a user in the real 
world and they report it.  I would prefer to never hear from users 
because they never encounter bugs.  (Rather than because they never use 
the binutils because they are so buggy...)

Cheers
   Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-04 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-31 23:04 More ld testsuite tweaks Zack Weinberg
2005-06-03 10:23 ` Nick Clifton
2005-06-03 17:02   ` Zack Weinberg
2005-06-04 14:13     ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).