public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* xfail Array_3
@ 2005-12-01  8:23 Geoffrey Keating
  2005-12-01  9:09 ` David S. Miller
  2005-12-06 11:49 ` Ranjit Mathew
  0 siblings, 2 replies; 14+ messages in thread
From: Geoffrey Keating @ 2005-12-01  8:23 UTC (permalink / raw)
  To: gcc-patches, java-patches


It looks like this isn't going to be fixed any time soon, so let's
xfail it.

Tested with 'make check-target-libjava' on ppc-darwin8.

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/libjava-testsuite-array3xfail.patch=======
2005-12-01  Geoffrey Keating  <geoffk@apple.com>

	* testsuite/lib/libjava.exp (test_libjava_from_javac): Support
	xfail-byte-exec.
	* testsuite/libjava.lang/Array_3.xfail: New file.

Index: libjava/testsuite/libjava.lang/Array_3.xfail
===================================================================
--- libjava/testsuite/libjava.lang/Array_3.xfail	(revision 0)
+++ libjava/testsuite/libjava.lang/Array_3.xfail	(revision 0)
@@ -0,0 +1 @@
+xfail-byte-exec
Index: libjava/testsuite/lib/libjava.exp
===================================================================
--- libjava/testsuite/lib/libjava.exp	(revision 107736)
+++ libjava/testsuite/lib/libjava.exp	(working copy)
@@ -871,6 +871,9 @@
     pass "$errname compilation from bytecode"
 
     # Set up the options the way they are expected by libjava_invoke.
+    if {[info exists opts(xfail-byte-exec)]} {
+	set opts(xfail-exec) x
+    }
     if {[info exists opts(xfail-byte-output)]} {
 	set opts(xfail-output) x
     }
@@ -896,6 +899,8 @@
 #                 front end.
 #   `xfail-byte'  compilation from bytecode will fail
 #   `xfail-exec'  exec will fail
+#   `xfail-byte-exec'
+#		  exec will fail when compiled from bytecode
 #   `xfail-output'
 #                 output will be wrong
 #   `xfail-byte-output'
============================================================

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

* Re: xfail Array_3
  2005-12-01  8:23 xfail Array_3 Geoffrey Keating
@ 2005-12-01  9:09 ` David S. Miller
  2005-12-01  9:21   ` Alan Modra
  2005-12-01 10:21   ` Geoffrey Keating
  2005-12-06 11:49 ` Ranjit Mathew
  1 sibling, 2 replies; 14+ messages in thread
From: David S. Miller @ 2005-12-01  9:09 UTC (permalink / raw)
  To: gkeating; +Cc: gcc-patches, java-patches

From: gkeating@apple.com (Geoffrey Keating)
Date: Thu,  1 Dec 2005 00:23:39 -0800 (PST)

> It looks like this isn't going to be fixed any time soon, so let's
> xfail it.
> 
> Tested with 'make check-target-libjava' on ppc-darwin8.

I thought we didn't xfail things just because the fix is
hard and/or might not get worked on for a while?

Can you point me to a thread describing the cause?  I've
seen this one forever on sparc, but I thought it did pass
on some platforms.

Thanks.

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

* Re: xfail Array_3
  2005-12-01  9:09 ` David S. Miller
@ 2005-12-01  9:21   ` Alan Modra
  2005-12-01 17:27     ` Janis Johnson
  2005-12-01 10:21   ` Geoffrey Keating
  1 sibling, 1 reply; 14+ messages in thread
From: Alan Modra @ 2005-12-01  9:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: gkeating, gcc-patches, java-patches

On Thu, Dec 01, 2005 at 01:09:22AM -0800, David S. Miller wrote:
> From: gkeating@apple.com (Geoffrey Keating)
> Date: Thu,  1 Dec 2005 00:23:39 -0800 (PST)
> 
> > It looks like this isn't going to be fixed any time soon, so let's
> > xfail it.
> > 
> > Tested with 'make check-target-libjava' on ppc-darwin8.
> 
> I thought we didn't xfail things just because the fix is
> hard and/or might not get worked on for a while?
> 
> Can you point me to a thread describing the cause?  I've
> seen this one forever on sparc, but I thought it did pass
> on some platforms.

PR25176.  A quick fix is relatively easy.  And yes, it does pass on some
platforms.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

* Re: xfail Array_3
  2005-12-01  9:09 ` David S. Miller
  2005-12-01  9:21   ` Alan Modra
@ 2005-12-01 10:21   ` Geoffrey Keating
  1 sibling, 0 replies; 14+ messages in thread
From: Geoffrey Keating @ 2005-12-01 10:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: GCC Patches, GCJ Patches

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]


On 01/12/2005, at 1:09 AM, David S. Miller wrote:

> From: gkeating@apple.com (Geoffrey Keating)
> Date: Thu,  1 Dec 2005 00:23:39 -0800 (PST)
>
>> It looks like this isn't going to be fixed any time soon, so let's
>> xfail it.
>>
>> Tested with 'make check-target-libjava' on ppc-darwin8.
>
> I thought we didn't xfail things just because the fix is
> hard and/or might not get worked on for a while?

What do you think our xfail policy is?

> Can you point me to a thread describing the cause?  I've
> seen this one forever on sparc, but I thought it did pass
> on some platforms.

The bugzilla has been mentioned, but see also <http://gcc.gnu.org/ml/ 
gcc-patches/2005-03/msg00465.html>.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2408 bytes --]

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

* Re: xfail Array_3
  2005-12-01  9:21   ` Alan Modra
@ 2005-12-01 17:27     ` Janis Johnson
  2005-12-02  0:53       ` Geoff Keating
  0 siblings, 1 reply; 14+ messages in thread
From: Janis Johnson @ 2005-12-01 17:27 UTC (permalink / raw)
  To: David S. Miller, gkeating, gcc-patches, java-patches

On Thu, Dec 01, 2005 at 07:50:55PM +1030, Alan Modra wrote:
> On Thu, Dec 01, 2005 at 01:09:22AM -0800, David S. Miller wrote:
> > From: gkeating@apple.com (Geoffrey Keating)
> > Date: Thu,  1 Dec 2005 00:23:39 -0800 (PST)
> > 
> > > It looks like this isn't going to be fixed any time soon, so let's
> > > xfail it.
> > > 
> > > Tested with 'make check-target-libjava' on ppc-darwin8.
> > 
> > I thought we didn't xfail things just because the fix is
> > hard and/or might not get worked on for a while?
> > 
> > Can you point me to a thread describing the cause?  I've
> > seen this one forever on sparc, but I thought it did pass
> > on some platforms.
> 
> PR25176.  A quick fix is relatively easy.  And yes, it does pass on some
> platforms.

Tests should only be xfail if there is a PR describing the problem.
Geoff, please add a comment with the PR number by the xfail.

Janis

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

* Re: xfail Array_3
  2005-12-01 17:27     ` Janis Johnson
@ 2005-12-02  0:53       ` Geoff Keating
  2005-12-02 23:35         ` Janis Johnson
  0 siblings, 1 reply; 14+ messages in thread
From: Geoff Keating @ 2005-12-02  0:53 UTC (permalink / raw)
  To: Janis Johnson; +Cc: David S. Miller, GCC Patches, java-patches

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]


On 01/12/2005, at 9:27 AM, Janis Johnson wrote:

> On Thu, Dec 01, 2005 at 07:50:55PM +1030, Alan Modra wrote:
>> On Thu, Dec 01, 2005 at 01:09:22AM -0800, David S. Miller wrote:
>>> From: gkeating@apple.com (Geoffrey Keating)
>>> Date: Thu,  1 Dec 2005 00:23:39 -0800 (PST)
>>>
>>>> It looks like this isn't going to be fixed any time soon, so let's
>>>> xfail it.
>>>>
>>>> Tested with 'make check-target-libjava' on ppc-darwin8.
>>>
>>> I thought we didn't xfail things just because the fix is
>>> hard and/or might not get worked on for a while?
>>>
>>> Can you point me to a thread describing the cause?  I've
>>> seen this one forever on sparc, but I thought it did pass
>>> on some platforms.
>>
>> PR25176.  A quick fix is relatively easy.  And yes, it does pass  
>> on some
>> platforms.
>
> Tests should only be xfail if there is a PR describing the problem.
> Geoff, please add a comment with the PR number by the xfail.

Where, exactly?  Comments are not allowed in the file that I changed.


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2408 bytes --]

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

* Re: xfail Array_3
  2005-12-02  0:53       ` Geoff Keating
@ 2005-12-02 23:35         ` Janis Johnson
  2005-12-03  9:38           ` Andrew Haley
  0 siblings, 1 reply; 14+ messages in thread
From: Janis Johnson @ 2005-12-02 23:35 UTC (permalink / raw)
  To: Geoff Keating; +Cc: Janis Johnson, David S. Miller, GCC Patches, java-patches

On Thu, Dec 01, 2005 at 04:52:42PM -0800, Geoff Keating wrote:
> On 01/12/2005, at 9:27 AM, Janis Johnson wrote:
> >Tests should only be xfail if there is a PR describing the problem.
> >Geoff, please add a comment with the PR number by the xfail.
> 
> Where, exactly?  Comments are not allowed in the file that I changed.

Before I looked into this the fix was approved, so it's no longer relevant.
It's a good question, though.

Janis

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

* Re: xfail Array_3
  2005-12-02 23:35         ` Janis Johnson
@ 2005-12-03  9:38           ` Andrew Haley
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Haley @ 2005-12-03  9:38 UTC (permalink / raw)
  To: GCC Patches, java-patches

Janis Johnson writes:
 > On Thu, Dec 01, 2005 at 04:52:42PM -0800, Geoff Keating wrote:
 > > On 01/12/2005, at 9:27 AM, Janis Johnson wrote:
 > > >Tests should only be xfail if there is a PR describing the problem.
 > > >Geoff, please add a comment with the PR number by the xfail.
 > > 
 > > Where, exactly?  Comments are not allowed in the file that I changed.
 > 
 > Before I looked into this the fix was approved, so it's no longer relevant.

Right.

Massive thanks to Geoff for raising this issue and to Alan Modra for
fixing it.

Andrew.

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

* Re: xfail Array_3
  2005-12-01  8:23 xfail Array_3 Geoffrey Keating
  2005-12-01  9:09 ` David S. Miller
@ 2005-12-06 11:49 ` Ranjit Mathew
  2005-12-06 20:54   ` Geoffrey Keating
  1 sibling, 1 reply; 14+ messages in thread
From: Ranjit Mathew @ 2005-12-06 11:49 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: GCC Patches, java-patches

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Geoffrey Keating wrote:
> It looks like this isn't going to be fixed any time soon, so let's
> xfail it.
> 
> Tested with 'make check-target-libjava' on ppc-darwin8.

This seems to have been fixed across platforms by Alan
Modra, right? Can this XFAIL be removed now?

Thanks,
Ranjit.

- --
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlXqZYb1hx2wRS48RAm9sAKCmpg0sZzaPQJ+kqFupjPciKrVEigCggXmP
1v98gO/Lci6SMFiwKrutnT0=
=8v/D
-----END PGP SIGNATURE-----

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

* Re: xfail Array_3
  2005-12-06 11:49 ` Ranjit Mathew
@ 2005-12-06 20:54   ` Geoffrey Keating
  2005-12-14  5:20     ` Ranjit Mathew
  0 siblings, 1 reply; 14+ messages in thread
From: Geoffrey Keating @ 2005-12-06 20:54 UTC (permalink / raw)
  To: Ranjit Mathew; +Cc: Geoffrey Keating, GCC Patches, java-patches

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]


On 06/12/2005, at 3:48 AM, Ranjit Mathew wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Geoffrey Keating wrote:
>
>> It looks like this isn't going to be fixed any time soon, so let's
>> xfail it.
>>
>> Tested with 'make check-target-libjava' on ppc-darwin8.
>>
>
> This seems to have been fixed across platforms by Alan
> Modra, right? Can this XFAIL be removed now?

Sure, if it no longer fails the XFAIL should go.


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2408 bytes --]

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

* Re: xfail Array_3
  2005-12-06 20:54   ` Geoffrey Keating
@ 2005-12-14  5:20     ` Ranjit Mathew
  2005-12-15  7:40       ` Alan Modra
  0 siblings, 1 reply; 14+ messages in thread
From: Ranjit Mathew @ 2005-12-14  5:20 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: Geoffrey Keating, GCC Patches, java-patches

On 12/7/05, Geoffrey Keating <geoffk@apple.com> wrote:
>
> On 06/12/2005, at 3:48 AM, Ranjit Mathew wrote:
> >
> > Geoffrey Keating wrote:
> >
> >> It looks like this isn't going to be fixed any time soon, so let's
> >> xfail it.
> >>
> >> Tested with 'make check-target-libjava' on ppc-darwin8.
> >>
> >
> > This seems to have been fixed across platforms by Alan
> > Modra, right? Can this XFAIL be removed now?
>
> Sure, if it no longer fails the XFAIL should go.

Since you added this, can you please remove
it now? It seems that it passes on both
i686-pc-linux-gnu and powerpc-apple-darwin
and other platforms:

  http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00740.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00781.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00757.html
  http://gcc.gnu.org/ml/gcc-testresults/2005-12/msg00761.html

Thanks,
Ranjit.

--
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/

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

* Re: xfail Array_3
  2005-12-14  5:20     ` Ranjit Mathew
@ 2005-12-15  7:40       ` Alan Modra
  2005-12-19  2:45         ` Geoffrey Keating
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Modra @ 2005-12-15  7:40 UTC (permalink / raw)
  To: Ranjit Mathew; +Cc: GCC Patches, java-patches

Fixed.
	* testsuite/lib/libjava.exp: Revert 2005-12-01.
	* testsuite/libjava.lang/Array_3.xfail: Delete.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

* Re: xfail Array_3
  2005-12-15  7:40       ` Alan Modra
@ 2005-12-19  2:45         ` Geoffrey Keating
  2005-12-24  3:15           ` Alan Modra
  0 siblings, 1 reply; 14+ messages in thread
From: Geoffrey Keating @ 2005-12-19  2:45 UTC (permalink / raw)
  To: Alan Modra; +Cc: GCC Patches, java-patches

Alan Modra <amodra@bigpond.net.au> writes:

> Fixed.
> 	* testsuite/lib/libjava.exp: Revert 2005-12-01.
> 	* testsuite/libjava.lang/Array_3.xfail: Delete.

Was there some reason to remove functionality from the test framework
as well as just removing the xfail?

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

* Re: xfail Array_3
  2005-12-19  2:45         ` Geoffrey Keating
@ 2005-12-24  3:15           ` Alan Modra
  0 siblings, 0 replies; 14+ messages in thread
From: Alan Modra @ 2005-12-24  3:15 UTC (permalink / raw)
  To: Geoffrey Keating; +Cc: GCC Patches, java-patches

On Fri, Dec 16, 2005 at 02:29:33PM -0800, Geoff Keating wrote:
> Alan Modra <amodra@bigpond.net.au> writes:
> 
> > Fixed.
> > 	* testsuite/lib/libjava.exp: Revert 2005-12-01.
> > 	* testsuite/libjava.lang/Array_3.xfail: Delete.
> 
> Was there some reason to remove functionality from the test framework
> as well as just removing the xfail?

Just tidying up.  If you or any of the java maintainers feel that the
extra functionality is useful other than to support Array_3.xfail, then
I'm happy to put it back.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

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

end of thread, other threads:[~2005-12-24  3:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01  8:23 xfail Array_3 Geoffrey Keating
2005-12-01  9:09 ` David S. Miller
2005-12-01  9:21   ` Alan Modra
2005-12-01 17:27     ` Janis Johnson
2005-12-02  0:53       ` Geoff Keating
2005-12-02 23:35         ` Janis Johnson
2005-12-03  9:38           ` Andrew Haley
2005-12-01 10:21   ` Geoffrey Keating
2005-12-06 11:49 ` Ranjit Mathew
2005-12-06 20:54   ` Geoffrey Keating
2005-12-14  5:20     ` Ranjit Mathew
2005-12-15  7:40       ` Alan Modra
2005-12-19  2:45         ` Geoffrey Keating
2005-12-24  3:15           ` Alan Modra

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).