Commit 2b6f297e by Geoffrey Keating Committed by Geoffrey Keating

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
parent 31c61ecd
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> 2005-12-01 Alan Modra <amodra@bigpond.net.au>
* stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR * stacktrace.cc (UnwindTraceFn): Use UNWRAP_FUNCTION_DESCRIPTOR
......
...@@ -871,6 +871,9 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e ...@@ -871,6 +871,9 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
pass "$errname compilation from bytecode" pass "$errname compilation from bytecode"
# Set up the options the way they are expected by libjava_invoke. # 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)]} { if {[info exists opts(xfail-byte-output)]} {
set opts(xfail-output) x set opts(xfail-output) x
} }
...@@ -896,6 +899,8 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e ...@@ -896,6 +899,8 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
# front end. # front end.
# `xfail-byte' compilation from bytecode will fail # `xfail-byte' compilation from bytecode will fail
# `xfail-exec' exec will fail # `xfail-exec' exec will fail
# `xfail-byte-exec'
# exec will fail when compiled from bytecode
# `xfail-output' # `xfail-output'
# output will be wrong # output will be wrong
# `xfail-byte-output' # `xfail-byte-output'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment