libjava.exp (bytecompile_file): Byte compile with debugging.
2004-08-04 Andrew Haley <aph@redhat.com> * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with debugging. From-SVN: r85565
This commit is contained in:
committed by
Andrew Haley
parent
54e0b09f61
commit
76207f7c2b
@@ -109,9 +109,9 @@ proc bytecompile_file { file objdir {classpath {}} } {
|
||||
}
|
||||
set here [pwd]
|
||||
cd $dirname
|
||||
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
|
||||
send_log "byte compile: $javac -g [list $file] -d $objdir 2>@ stdout\n"
|
||||
if {[catch {
|
||||
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
|
||||
set q [eval exec "$javac -g [list $file] -d $objdir 2>@ stdout"]
|
||||
} msg]} then {
|
||||
send_log "couldn't compile $file: $msg\n"
|
||||
set r 0
|
||||
|
||||
Reference in New Issue
Block a user