summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite')
-rw-r--r--libjava/testsuite/lib/libjava.exp5
-rw-r--r--libjava/testsuite/libjava.lang/Array_3.xfail1
2 files changed, 6 insertions, 0 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 421b3d25b67..36b6f007726 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 00000000000..1584d6d3833
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/Array_3.xfail
@@ -0,0 +1 @@
+xfail-byte-exec
OpenPOWER on IntegriCloud