summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-08-19 23:53:55 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-08-19 23:53:55 +0000
commita6480c124eb1e2fd2703a0c5951db9dcec07be43 (patch)
tree09e1d4989dc64a61a58ab752c1958aa24d11ef57
parentc56fef4eace8da8406f44a3be4619a1eb357765f (diff)
downloadbcm5719-llvm-a6480c124eb1e2fd2703a0c5951db9dcec07be43.tar.gz
bcm5719-llvm-a6480c124eb1e2fd2703a0c5951db9dcec07be43.zip
Use cmd.startswith("run") instead of string equivalence test.
llvm-svn: 111587
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index e4727be484f..09d19b3625a 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -123,7 +123,7 @@ class TestBase(unittest2.TestCase):
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(),
OpenPOWER on IntegriCloud