This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

xfail Array_3


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'
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]