aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/lib
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-11-16 07:06:17 +0000
committerHans-Peter Nilsson <hp@axis.com>2004-11-16 07:06:17 +0000
commit5eba45c188c6689bdef1edebd525829aaeab040b (patch)
tree67a47dc300c870ecdc1d3a24149a22f6fc52b7bc /sim/testsuite/lib
parent1afbf1866f5f74f6a0c1928adb34f8e4c4ec036d (diff)
downloadgdb-5eba45c188c6689bdef1edebd525829aaeab040b.zip
gdb-5eba45c188c6689bdef1edebd525829aaeab040b.tar.gz
gdb-5eba45c188c6689bdef1edebd525829aaeab040b.tar.bz2
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
Diffstat (limited to 'sim/testsuite/lib')
-rw-r--r--sim/testsuite/lib/sim-defs.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp
index 07aa6cc..5b7b1f2 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
}