Anthony Green ad903c6db7 re PR java/21115 (false boolean argument passed from pre-compiled to interpreted method is true)
2005-04-21  Anthony Green  <green@redhat.com>

        PR libgcj/21115
        * testsuite/libjava.special/special.exp,
        testsuite/libjava.special/pr21115I.java,
        testsuite/libjava.special/pr21115.java,
        testsuite/libjava.special/pr21115.out: New files.

From-SVN: r98511
2005-04-21 16:22:33 +00:00

31 lines
751 B
Plaintext

# Special test cases. These require tricky build procedures.
proc gcj_special_run {} {
global srcdir subdir env
# ---- PR 21115 -------------------------------------------------------
if {! [bytecompile_file ${srcdir}/${subdir}/pr21115I.java [pwd]]} {
fail "bytecompile ${srcdir}/${subdir}/libjava.special/pr21115I.java"
# FIXME - should use `untested' on all remaining tests.
# But that is hard.
return 0
}
pass "bytecompile pr21115I.java"
if {! [gcj_link pr21115 pr21115 [list ${srcdir}/${subdir}/pr21115.java]]} {
fail "compiling/linking pr21115.java"
# FIXME
return 0
}
if {! [gcj_invoke pr21115 ${srcdir}/${subdir}/pr21115.out ""]} {
# FIXME
return 0
}
return 1
}
gcj_special_run