diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-08-19 23:53:55 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-08-19 23:53:55 +0000 |
commit | a6480c124eb1e2fd2703a0c5951db9dcec07be43 (patch) | |
tree | 09e1d4989dc64a61a58ab752c1958aa24d11ef57 | |
parent | c56fef4eace8da8406f44a3be4619a1eb357765f (diff) | |
download | bcm5719-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.py | 2 |
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(), |