7 parser
= optparse
.OptionParser("""\
8 usage: %prog [options] <path>
10 Reads the file at the given path and extracts any "program times" as used by the
11 LLVM test-suite Makefiles.""")
12 opts
,args
= parser
.parse_args()
14 parser
.error('invalid number of arguments')
18 re_pattern
= re
.compile(r
"program ([0-9]+\.[0-9]+)")
21 for match
in re_pattern
.finditer(data
):
26 if __name__
== '__main__':