* lib/sim-defs.exp (run_sim_test): Make multiple "output"

specifications concatenate, not override.
This commit is contained in:
Hans-Peter Nilsson 2004-11-16 07:06:17 +00:00
parent 1afbf1866f
commit 5eba45c188
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-11-16 Hans-Peter Nilsson <hp@axis.com>
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
2004-10-26 Nick Clifton <nickc@redhat.com>
* lib/sim-defs.exp (sim_run): Add support for the "rawsid"

View File

@ -229,6 +229,10 @@ proc run_sim_test { name requested_machs } {
unresolved $subdir/$name
return
}
# Multiple "output" specifications concatenate, they don't override.
if { $opt_name == "output" } {
set opt_val "$opts(output)$opt_val"
}
foreach m $opt_machs {
set opts($opt_name,$m) $opt_val
}