2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 2 Mar 2007 22:16:06 +0000 (22:16 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 2 Mar 2007 22:16:06 +0000 (22:16 +0000)
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/manythreads.exp

index d571b5a7e1ea6a131569fa723813d68f223e1840..5597bc34cf23a5cfcb51ec15c2c29c29c5ed0d24 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
+
+       * gdb.threads/manythreads.exp: Use $message string for 
+       consistancy; add a default (timeout) case.
+
 2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>
 
        * gdb.base/watchpoint.exp: Fix truncated comment.
index 7569f021146debb503d3008b3494ac06aca18e83..903a3b1443656cb38fbcc9a7423a39987f388929 100644 (file)
@@ -108,7 +108,10 @@ gdb_test_multiple "" "stop threads 2" {
     exp_continue
   }
   -re "Program received signal SIGINT.*$gdb_prompt $" {
-    pass "stop threads 2"
+    pass "$message"
+  }
+  timeout {
+    fail "$message (timeout)"
   }
 }