##// END OF EJS Templates
testrunner: make reading of test times work with #testcases...
Martin von Zweigbergk -
r35872:56891705 default
parent child Browse files
Show More
@@ -2019,8 +2019,9 b' def loadtimes(outputdir):'
2019 2019 try:
2020 2020 with open(os.path.join(outputdir, b'.testtimes-')) as fp:
2021 2021 for line in fp:
2022 ts = line.split()
2023 times.append((ts[0], [float(t) for t in ts[1:]]))
2022 m = re.match('(.*?) ([0-9. ]+)', line)
2023 times.append((m.group(1),
2024 [float(t) for t in m.group(2).split()]))
2024 2025 except IOError as err:
2025 2026 if err.errno != errno.ENOENT:
2026 2027 raise
General Comments 0
You need to be logged in to leave comments. Login now