libjava.exp (bytecompile_file): Log compile command.
2004-01-09 Andrew Haley <aph@redhat.com> * lib/libjava.exp (bytecompile_file): Log compile command. From-SVN: r75593
This commit is contained in:
parent
e6f8299852
commit
2fca049fe8
2 changed files with 6 additions and 1 deletions
libjava/testsuite/lib
|
@ -109,10 +109,11 @@ proc bytecompile_file { file objdir {classpath {}} } {
|
|||
}
|
||||
set here [pwd]
|
||||
cd $dirname
|
||||
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
|
||||
if {[catch {
|
||||
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
|
||||
} msg]} then {
|
||||
verbose "couldn't compile $file: $msg"
|
||||
send_log "couldn't compile $file: $msg\n"
|
||||
set r 0
|
||||
} else {
|
||||
set r 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue