From 2fca049fe8aada42f982aff9498eb45d3a2db302 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 9 Jan 2004 17:27:37 +0000 Subject: [PATCH] libjava.exp (bytecompile_file): Log compile command. 2004-01-09 Andrew Haley * lib/libjava.exp (bytecompile_file): Log compile command. From-SVN: r75593 --- libjava/testsuite/ChangeLog | 4 ++++ libjava/testsuite/lib/libjava.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 02eab407c58..d1394c54827 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-01-09 Andrew Haley + + * lib/libjava.exp (bytecompile_file): Log compile command. + 2004-01-07 Andreas Tobler PR libgcj/13011: diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 9ae18821b1c..3f55f766568 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -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 -- 2.30.2