summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/chrome_tests.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 20:02:40 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-23 20:02:40 +0000
commitcc8f2810b5a7dfeb7d4310f50be9f527056aa313 (patch)
tree91891545bf03238d4d407bf8ec4db9860eb99458 /tools/valgrind/chrome_tests.py
parent6780b3bd5805018c242cde0a9cff3f48d12e4649 (diff)
downloadchromium_src-cc8f2810b5a7dfeb7d4310f50be9f527056aa313.zip
chromium_src-cc8f2810b5a7dfeb7d4310f50be9f527056aa313.tar.gz
chromium_src-cc8f2810b5a7dfeb7d4310f50be9f527056aa313.tar.bz2
Fix valgrind run.
TEST=valgrind works BUG=none Review URL: http://codereview.chromium.org/437014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-xtools/valgrind/chrome_tests.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py
index 86d4280..7d9fc1a 100755
--- a/tools/valgrind/chrome_tests.py
+++ b/tools/valgrind/chrome_tests.py
@@ -5,11 +5,7 @@
# chrome_tests.py
-''' Runs various chrome tests through valgrind_test.py.
-
-This file is a copy of ../purify/chrome_tests.py. Eventually, it would be nice
-to merge these two files.
-'''
+''' Runs various chrome tests through valgrind_test.py.'''
import glob
import logging
@@ -30,7 +26,6 @@ import google.path_utils
# package. http://crbug.com/6164
import layout_package.path_utils
-import common
import valgrind_test
class TestNotFound(Exception): pass
@@ -70,9 +65,6 @@ def FindDirContainingNewestFile(dirs, file):
return newest_dir
class ChromeTests:
- '''This class is derived from the chrome_tests.py file in ../purify/.
- '''
-
def __init__(self, options, args, test):
# The known list of tests.
# Recognise the original abbreviations as well as full executable names.
@@ -336,7 +328,7 @@ class ChromeTests:
# runs a slice of the layout tests of size chunk_size that increments with
# each run. Since tests can be added and removed from the layout tests at
# any time, this is not going to give exact coverage, but it will allow us
- # to continuously run small slices of the layout tests under purify rather
+ # to continuously run small slices of the layout tests under valgrind rather
# than having to run all of them in one shot.
chunk_size = self._options.num_tests
if (chunk_size == 0):