def verify_commands(self, flavor, output, commands):
    self.assertTrue((output and (len(output) > 0)), 'expect console output')
    lines = output.splitlines()
    prefix = '(lldb) '
    for cmd in commands:
        found = False
        for line in lines:
            if (line.startswith(prefix) and (cmd in line)):
                found = True
                break
        self.assertTrue(found, ("verify '%s' found in console output for '%s'" % (cmd, flavor)))
def verify_commands(self, flavor, output, commands):
    self.assertTrue((output and (len(output) > 0)), 'expect console output')
    lines = output.splitlines()
    prefix = '(lldb) '
    for cmd in commands:
        found = False
        for line in lines:
            if (line.startswith(prefix) and (cmd in line)):
                found = True
                break
        self.assertTrue(found, ("verify '%s' found in console output for '%s'" % (cmd, flavor)))