Use cmd.startswith("run") instead of string equivalence test.

llvm-svn: 111587
This commit is contained in:
Johnny Chen 2010-08-19 23:53:55 +00:00
parent c56fef4eac
commit a6480c124e
1 changed files with 1 additions and 1 deletions

View File

@ -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(),