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

Side by Side Diff: tools/heapcheck/chrome_tests.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/coverity/coverity.py ('k') | tools/python/google/platform_utils.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 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 ''' Runs various chrome tests through heapcheck_test.py. 7 ''' Runs various chrome tests through heapcheck_test.py.
8 8
9 Most of this code is copied from ../valgrind/chrome_tests.py. 9 Most of this code is copied from ../valgrind/chrome_tests.py.
10 TODO(glider): put common functions to a standalone module. 10 TODO(glider): put common functions to a standalone module.
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 450
451 for t in options.test: 451 for t in options.test:
452 tests = ChromeTests(options, args, t) 452 tests = ChromeTests(options, args, t)
453 ret = tests.Run() 453 ret = tests.Run()
454 if ret: 454 if ret:
455 return ret 455 return ret
456 return 0 456 return 0
457 457
458 458
459 if __name__ == "__main__": 459 if __name__ == "__main__":
460 if sys.platform == 'linux2': 460 if sys.platform.startswith('linux'):
461 ret = _main(sys.argv) 461 ret = _main(sys.argv)
462 else: 462 else:
463 logging.error("Heap checking works only on Linux at the moment.") 463 logging.error("Heap checking works only on Linux at the moment.")
464 ret = 1 464 ret = 1
465 sys.exit(ret) 465 sys.exit(ret)
OLDNEW
« no previous file with comments | « tools/coverity/coverity.py ('k') | tools/python/google/platform_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698