aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/lib/gas-defs.exp
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-07-23 14:03:33 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-07-23 14:03:33 +0000
commitdc89df6af02e57a0087729705ceebfdd36e86654 (patch)
tree17865f3e3cc2ede62d30fed77d698fb4216a4c57 /gas/testsuite/lib/gas-defs.exp
parenteb07545517ef2f5ee53bff4f2b8271f43b593ff6 (diff)
downloadbinutils-dc89df6af02e57a0087729705ceebfdd36e86654.zip
binutils-dc89df6af02e57a0087729705ceebfdd36e86654.tar.gz
binutils-dc89df6af02e57a0087729705ceebfdd36e86654.tar.bz2
gas/testsuite/
* lib/gas-defs.exp (run_list_test): Make the options optional. * gas/cr16/cr16.exp (run_list_test): Delete.
Diffstat (limited to 'gas/testsuite/lib/gas-defs.exp')
-rw-r--r--gas/testsuite/lib/gas-defs.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp
index c83cf22..8d4902a 100644
--- a/gas/testsuite/lib/gas-defs.exp
+++ b/gas/testsuite/lib/gas-defs.exp
@@ -890,14 +890,14 @@ if ![string length [info proc prune_warnings]] {
}
}
-# run_list_test NAME OPTS (optional): TESTNAME
+# run_list_test NAME (optional): OPTS TESTNAME
#
# Assemble the file "NAME.d" with command line options OPTS and
# compare the assembler standard error output against thee regular
# expressions given in the file "NAME.l". If TESTNAME is provided,
# it will be used as the name of the test.
-proc run_list_test { name opts {testname {}} } {
+proc run_list_test { name {opts {}} {testname {}} } {
global srcdir subdir
if { [string length $testname] == 0 } then {
set testname "[file tail $subdir] $name"