(gas-dg-test): Detect invalid values of `do_what'.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 30 Apr 1995 20:16:22 +0000 (20:16 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 30 Apr 1995 20:16:22 +0000 (20:16 +0000)
gas/testsuite/lib/gas-dg.exp

index ab0741c2eb2063d91528be7b25178dba7b6ce311..031ca342aa50cb3ca52fe8a89b937bc39cb13c46 100644 (file)
@@ -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
This page took 0.026517 seconds and 4 git commands to generate.