mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:19:30 +08:00
51e0d189ed
* libjava.compile/G19990217_02.no-link: New file. * libjava.compile/test.exp: Look for `.no-link' file. * lib/libjava.exp (test_libjava_from_source): Added `no-link' option. (test_libjava_from_javac): Likewise. Also, handle package information from class name when creating class file name. From-SVN: r28113
21 lines
462 B
Plaintext
21 lines
462 B
Plaintext
global srcdir subdir
|
|
|
|
catch "glob -nocomplain ${srcdir}/${subdir}/*.java" srcfiles
|
|
verbose "srcfiles are $srcfiles"
|
|
|
|
set prefix ""
|
|
foreach x $srcfiles {
|
|
set args [libjava_read_xfail [file rootname $x].xfail]
|
|
if {[file exists [file rootname $x].no-link]} {
|
|
lappend args no-link
|
|
}
|
|
lappend args no-exec
|
|
|
|
test_libjava $options "$x" "" "" "" $args
|
|
test_libjava $options "$x" "-O" "" "" $args
|
|
}
|
|
|
|
# Local Variables:
|
|
# tcl-indent-level:4
|
|
# End:
|