aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-02-17 04:33:44 +1100
committerBen Elliston <bje@gnu.org>2016-02-17 04:33:44 +1100
commit537b6a24e6c345925eca053f64cb65c30de2059d (patch)
tree3d674b14787e7e258137e0fadeca9374092e844d
parent20e8dfb5d2cc2f63f654460543e9e65bb1323b9e (diff)
downloaddejagnu-537b6a24e6c345925eca053f64cb65c30de2059d.zip
dejagnu-537b6a24e6c345925eca053f64cb65c30de2059d.tar.gz
dejagnu-537b6a24e6c345925eca053f64cb65c30de2059d.tar.bz2
* lib/target.exp (default_target_compile): Do not pass -log to
verbose when outputting the captured compiler/assembler/linker diagnostic output as it will already be in the .log file courtesy of Expect.
-rw-r--r--ChangeLog9
-rw-r--r--lib/target.exp6
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 39a18d8..464dbb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2016-02-15 Ben Elliston <bje@gnu.org>
+2016-02-17 Ben Elliston <bje@gnu.org>
+
+ * lib/target.exp (default_target_compile): Do not pass -log to
+ verbose when outputting the captured compiler/assembler/linker
+ diagnostic output as it will already be in the .log file courtesy
+ of Expect.
+
+2016-02-17 Ben Elliston <bje@gnu.org>
* runtest.exp: Enable --status by default.
(runtest): Set exit status to 2 if there is any error sourcing
diff --git a/lib/target.exp b/lib/target.exp
index 6749caa..e8c9047 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -655,7 +655,7 @@ proc default_target_compile {source destfile type options} {
verbose -log "compiler exited with status [lindex $status 0]"
}
if { [lindex $status 1] != "" } {
- verbose -log "output is:\n[lindex $status 1]" 2
+ verbose "output is:\n[lindex $status 1]" 2
}
if { [lindex $status 0] != 0 && "${comp_output}" == "" } {
set comp_output "exit status is [lindex $status 0]"
@@ -711,7 +711,7 @@ proc default_target_assemble { source destfile flags } {
verbose -log "assembler exited with status [lindex $status 0]"
}
if { [lindex $status 1] != "" } {
- verbose -log "assembler output is:\n[lindex $status 1]" 2
+ verbose "assembler output is:\n[lindex $status 1]" 2
}
return ${comp_output}
}
@@ -803,7 +803,7 @@ proc default_link { board objects destfile flags } {
verbose -log "linker exited with status [lindex $status 0]"
}
if { [lindex $status 1] != "" } {
- verbose -log "linker output is:\n[lindex $status 1]" 2
+ verbose "linker output is:\n[lindex $status 1]" 2
}
return ${comp_output}
}