* testsuite/lib/libjava.exp (test_libjava_from_javac): Support
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2005 08:25:36 +0000 (08:25 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2005 08:25:36 +0000 (08:25 +0000)
xfail-byte-exec.
* testsuite/libjava.lang/Array_3.xfail: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107811 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/testsuite/lib/libjava.exp
libjava/testsuite/libjava.lang/Array_3.xfail [new file with mode: 0644]

index 5bd43c1..24eed17 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2005-12-01  Alan Modra  <amodra@bigpond.net.au>
 
        * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
index 421b3d2..36b6f00 100644 (file)
@@ -871,6 +871,9 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
     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 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
 #                 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'
diff --git a/libjava/testsuite/libjava.lang/Array_3.xfail b/libjava/testsuite/libjava.lang/Array_3.xfail
new file mode 100644 (file)
index 0000000..1584d6d
--- /dev/null
@@ -0,0 +1 @@
+xfail-byte-exec