From 5eba45c188c6689bdef1edebd525829aaeab040b Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 16 Nov 2004 07:06:17 +0000 Subject: [PATCH] * lib/sim-defs.exp (run_sim_test): Make multiple "output" specifications concatenate, not override. --- sim/testsuite/ChangeLog | 5 +++++ sim/testsuite/lib/sim-defs.exp | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog index f461c15c57..9c8b240f75 100644 --- a/sim/testsuite/ChangeLog +++ b/sim/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-11-16 Hans-Peter Nilsson + + * lib/sim-defs.exp (run_sim_test): Make multiple "output" + specifications concatenate, not override. + 2004-10-26 Nick Clifton * lib/sim-defs.exp (sim_run): Add support for the "rawsid" diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp index 07aa6cca98..5b7b1f22ea 100644 --- a/sim/testsuite/lib/sim-defs.exp +++ b/sim/testsuite/lib/sim-defs.exp @@ -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 } -- 2.34.1