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

Side by Side Diff: tools/code_coverage/process_coverage.py

Issue 7172016: Add linux3 build support to chromium (base repository) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « tools/code_coverage/coverage_posix.py ('k') | tools/coverity/coverity.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/python2.4 1 #!/usr/bin/python2.4
2 # 2 #
3 # Copyright 2008, Google Inc. 3 # Copyright 2008, Google Inc.
4 # All rights reserved. 4 # All rights reserved.
5 # 5 #
6 # Redistribution and use in source and binary forms, with or without 6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are 7 # modification, are permitted provided that the following conditions are
8 # met: 8 # met:
9 # 9 #
10 # * Redistributions of source code must retain the above copyright 10 # * Redistributions of source code must retain the above copyright
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 print 'This script is supported only on Linux' 375 print 'This script is supported only on Linux'
376 os.exit(1) 376 os.exit(1)
377 377
378 # Command line parsing 378 # Command line parsing
379 parser = optparse.OptionParser() 379 parser = optparse.OptionParser()
380 parser.add_option('-p', 380 parser.add_option('-p',
381 '--platform', 381 '--platform',
382 dest='platform', 382 dest='platform',
383 default=None, 383 default=None,
384 help=('Platform that the locv file was generated on. Must' 384 help=('Platform that the locv file was generated on. Must'
385 'be one of {win32, linux2, macosx}')) 385 'be one of {win32, linux2, linux3, macosx}'))
386 parser.add_option('-s', 386 parser.add_option('-s',
387 '--source', 387 '--source',
388 dest='src_dir', 388 dest='src_dir',
389 default=None, 389 default=None,
390 help='Path to the source code and symbols') 390 help='Path to the source code and symbols')
391 parser.add_option('-d', 391 parser.add_option('-d',
392 '--dash_root', 392 '--dash_root',
393 dest='dash_root', 393 dest='dash_root',
394 default=None, 394 default=None,
395 help='Root directory for the dashboard') 395 help='Root directory for the dashboard')
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 print 'Unsupported platform' 429 print 'Unsupported platform'
430 os.exit(1) 430 os.exit(1)
431 431
432 # Prep coverage results for dashboard and post new set. 432 # Prep coverage results for dashboard and post new set.
433 parsed_data = ParseCoverageDataForDashboard(options.lcov_path) 433 parsed_data = ParseCoverageDataForDashboard(options.lcov_path)
434 PostResultsToDashboard(options.lcov_path, parsed_data, options.post_url) 434 PostResultsToDashboard(options.lcov_path, parsed_data, options.post_url)
435 435
436 436
437 if __name__ == '__main__': 437 if __name__ == '__main__':
438 main() 438 main()
OLDNEW
« no previous file with comments | « tools/code_coverage/coverage_posix.py ('k') | tools/coverity/coverity.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698