aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-12-01 08:25:36 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-12-01 08:25:36 +0000
commit2b6f297e79b7398f8487e5785c996e3fd147f906 (patch)
tree355610ccafc557a664fd24d3b138dbc85f712949 /libjava
parent31c61ecd1005c27b22b41fb9e045fc6f8b69a765 (diff)
downloadgcc-2b6f297e79b7398f8487e5785c996e3fd147f906.zip
gcc-2b6f297e79b7398f8487e5785c996e3fd147f906.tar.gz
gcc-2b6f297e79b7398f8487e5785c996e3fd147f906.tar.bz2
libjava.exp (test_libjava_from_javac): Support xfail-byte-exec.
* testsuite/lib/libjava.exp (test_libjava_from_javac): Support xfail-byte-exec. * testsuite/libjava.lang/Array_3.xfail: New file. From-SVN: r107811
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/testsuite/lib/libjava.exp5
-rw-r--r--libjava/testsuite/libjava.lang/Array_3.xfail1
3 files changed, 12 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 5bd43c1..24eed17 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 421b3d2..36b6f00 100644
--- a/libjava/testsuite/lib/libjava.exp
+++ b/libjava/testsuite/lib/libjava.exp
@@ -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
index 0000000..1584d6d
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/Array_3.xfail
@@ -0,0 +1 @@
+xfail-byte-exec