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

Unified Diff: tools/code_coverage/coverage.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/clang/scripts/update.py ('k') | tools/code_coverage/croc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/code_coverage/coverage.py
diff --git a/tools/code_coverage/coverage.py b/tools/code_coverage/coverage.py
old mode 100644
new mode 100755
index a34a2304448210de8cc3de5e436ad6a92590cbb8..6e524eae5221a07de0f853fd9eec5d4e080e59b3
--- a/tools/code_coverage/coverage.py
+++ b/tools/code_coverage/coverage.py
@@ -1,5 +1,5 @@
#!/bin/env python
-# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -107,7 +107,6 @@ class Coverage(object):
self._dir = tempfile.mkdtemp()
self._archive = archive
-
def SetUp(self, binaries):
"""Set up the platform specific environment and instrument the binaries for
coverage.
@@ -157,7 +156,6 @@ class Coverage(object):
self.instrumented = True
return True
-
def TearDown(self):
"""Tear down method.
@@ -188,7 +186,6 @@ class Coverage(object):
# Reset the instrumented flag.
self.instrumented = False
-
def RunTest(self, src_root, test):
"""Run tests and collect the .coverage file
@@ -238,7 +235,6 @@ class Coverage(object):
# Return the intermediate .coverage file
return coverage_file
-
def Upload(self, list_coverage, upload_path, sym_path=None, src_root=None):
"""Upload the results to the dashboard.
« no previous file with comments | « tools/clang/scripts/update.py ('k') | tools/code_coverage/croc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698