'Feed \'lines\' into the parser state machine, signal to the
state machine that no more lines are forthcoming, and then
return a list of all the new test results produced.'

def end(self, lines=[]):

    self.line_buffer.put_multiple(lines)
    self.finished = True
    try:
        return self.state.next()
    except StopIteration:
        logging.warn('parser    was    end()ed    multiple    times')
        logging.warn('Current    traceback:\n%s', traceback.format_exc())
        logging.warn('Current    stack:\n%s', ''.join(traceback.format_stack()))
        return []
