* lib/gas-defs.exp (run_dump_test): Don't set LC_ALL here.

This commit is contained in:
Alan Modra
2012-05-08 12:15:06 +00:00
parent e5b62927f4
commit 4aee77982d
2 changed files with 4 additions and 10 deletions

View File

@ -1,3 +1,7 @@
2012-05-08 Alan Modra <amodra@gmail.com>
* lib/gas-defs.exp (run_dump_test): Don't set LC_ALL here.
2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
* gas/z80/jr-forwf.s: New file, adapted from z8k version.

View File

@ -738,19 +738,9 @@ proc run_dump_test { name {extra_options {}} } {
set redir ""
}
# Ensure consistent sorting of symbols
if {[info exists env(LC_ALL)]} {
set old_lc_all $env(LC_ALL)
}
set env(LC_ALL) "C"
send_log "$cmd\n"
set status [gas_host_run "$cmd" "$redir"]
set comp_output [prune_warnings [lindex $status 1]]
if {[info exists old_lc_all]} {
set env(LC_ALL) $old_lc_all
} else {
unset env(LC_ALL)
}
set comp_output [prune_warnings $comp_output]
if ![string match "" $comp_output] then {
send_log "$comp_output\n"