gcc/libjava/testsuite/libjava.compile/test.exp
Tom Tromey 51e0d189ed G19990217_02.no-link: New file.
* 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
1999-07-15 09:15:26 +00:00

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: