diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-04-30 20:16:22 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-04-30 20:16:22 +0000 |
commit | dd0f8fcfe49b282ab0581e22934f64dd4cef951a (patch) | |
tree | 0cc8bd5bed36278f9ad00bba0c360e266cef0458 /gas/testsuite | |
parent | 00ff097af19a5d70dd701f20a031056b408c8f75 (diff) | |
download | gdb-dd0f8fcfe49b282ab0581e22934f64dd4cef951a.zip gdb-dd0f8fcfe49b282ab0581e22934f64dd4cef951a.tar.gz gdb-dd0f8fcfe49b282ab0581e22934f64dd4cef951a.tar.bz2 |
(gas-dg-test): Detect invalid values of `do_what'.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/lib/gas-dg.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/testsuite/lib/gas-dg.exp b/gas/testsuite/lib/gas-dg.exp index ab0741c..031ca34 100644 --- a/gas/testsuite/lib/gas-dg.exp +++ b/gas/testsuite/lib/gas-dg.exp @@ -17,6 +17,10 @@ proc gas-dg-test { prog do_what tool_flags default_tool_flags libs } { } "run" { } + default { + perror "$do_what: not a valid dg-do keyword" + return + } } # gas_start prepends $srcdir/$subdir so we must remove it from PROG |