-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
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]"
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}
}
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}
}