Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: client/tools/scan_results.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/tools/html_report.py ('k') | client/virt/aexpect.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 """ 2 """
3 Program that parses the autotest results and return a nicely printed final test 3 Program that parses the autotest results and return a nicely printed final test
4 result. 4 result.
5 5
6 @copyright: Red Hat 2008-2009 6 @copyright: Red Hat 2008-2009
7 """ 7 """
8 8
9 def parse_results(text): 9 def parse_results(text):
10 """ 10 """
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 if __name__ == "__main__": 88 if __name__ == "__main__":
89 import sys, glob 89 import sys, glob
90 90
91 resfiles = glob.glob("../../results/default/status*") 91 resfiles = glob.glob("../../results/default/status*")
92 if len(sys.argv) > 1: 92 if len(sys.argv) > 1:
93 if sys.argv[1] == "-h" or sys.argv[1] == "--help": 93 if sys.argv[1] == "-h" or sys.argv[1] == "--help":
94 print "Usage: %s [result files]" % sys.argv[0] 94 print "Usage: %s [result files]" % sys.argv[0]
95 sys.exit(0) 95 sys.exit(0)
96 resfiles = sys.argv[1:] 96 resfiles = sys.argv[1:]
97 main(resfiles) 97 main(resfiles)
OLDNEW
« no previous file with comments | « client/tools/html_report.py ('k') | client/virt/aexpect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698