Commit 5f2925a7 by Ulrich Weigand Committed by Ulrich Weigand

loader.exp (gcj_loader_test_one): Fix typo in 'type' argument to libjava_tcompile.

	* libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
	'type' argument to libjava_tcompile.
	(gcj_loader_run): Use libjava_tcompile instead of running
	GCJ_UNDER_TEST directly.

From-SVN: r59351
parent d1bf262d
2002-11-21 Ulrich Weigand <uweigand@de.ibm.com>
* libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
'type' argument to libjava_tcompile.
(gcj_loader_run): Use libjava_tcompile instead of running
GCJ_UNDER_TEST directly.
2002-11-05 Tom Tromey <tromey@redhat.com>
* libjava.jacks/jacks.exp: New file.
......
......@@ -13,7 +13,7 @@ proc gcj_loader_test_one {srcfile} {
set args [libjava_arguments link]
lappend args "additional_flags=--main=[file rootname [file tail $srcfile]] $srcdir/$subdir/MyLoader.java $objdir/dummy.o"
set x [prune_warnings \
[libjava_tcompile $srcfile "$executable" "$executable" $args]]
[libjava_tcompile $srcfile "$executable" executable $args]]
if { $x != "" } {
verbose "target_compile failed: $x" 2
......@@ -44,8 +44,11 @@ proc gcj_loader_run {} {
}
pass "bytecompile $file"
set args [libjava_arguments compile]
lappend args "additional_flags=--resource $objdir/dummy.class"
set x [prune_warnings \
[eval exec "$GCJ_UNDER_TEST --resource $objdir/dummy.class -c $objdir/dummy.class -o $objdir/dummy.o"]]
[libjava_tcompile "$objdir/dummy.class" "$objdir/dummy.o" object $args]]
if { $x != "" } {
verbose "resource compilation failed: $x" 2
......
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