'Return a dictionary of outcomestring->num from parsing
the terminal output that the test process produced.'

def parseoutcomes(self):

    for line in reversed(self.outlines):
        if ('seconds' in line):
            outcomes = rex_outcome.findall(line)
            if outcomes:
                d = {}
                for (num, cat) in outcomes:
                    d[cat] = int(num)
                return d
