[Lldb-commits] [lldb] r111587 - /lldb/trunk/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Thu Aug 19 16:53:56 PDT 2010
Author: johnny
Date: Thu Aug 19 18:53:55 2010
New Revision: 111587
URL: http://llvm.org/viewvc/llvm-project?rev=111587&view=rev
Log:
Use cmd.startswith("run") instead of string equivalence test.
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=111587&r1=111586&r2=111587&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Thu Aug 19 18:53:55 2010
@@ -123,7 +123,7 @@
if not cmd or len(cmd) == 0:
raise Exception("Bad 'cmd' parameter encountered")
self.ci.HandleCommand(cmd, self.res)
- if cmd == "run":
+ if cmd.startswith("run"):
self.runStarted = True
if check:
self.assertTrue(self.res.Succeeded(),
More information about the lldb-commits
mailing list