diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 09:34:12 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-30 09:34:12 +0000 |
commit | ba914a160632dd70fbf96a424a24ac1534a12085 (patch) | |
tree | 17873d2a731020e139ad514c2adb4672ba517393 /tools/valgrind/chrome_tests.py | |
parent | 6db116ae40f5a4b74c45b24e90302a8ab28af6aa (diff) | |
download | chromium_src-ba914a160632dd70fbf96a424a24ac1534a12085.zip chromium_src-ba914a160632dd70fbf96a424a24ac1534a12085.tar.gz chromium_src-ba914a160632dd70fbf96a424a24ac1534a12085.tar.bz2 |
Change PYTHONPATH handling in tools/valgrind so we can un-revert http://codereview.chromium.org/1822001
Review URL: http://codereview.chromium.org/1736026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index dc72324..27b9d9f 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -14,8 +14,8 @@ import os import stat import sys -import google.logging_utils -import google.path_utils +import logging_utils +import path_utils import common import valgrind_test @@ -84,7 +84,7 @@ class ChromeTests: self._args = args self._test = test - script_dir = google.path_utils.ScriptDir() + script_dir = path_utils.ScriptDir() # Compute the top of the tree (the "source dir") from the script dir (where # this script lives). We assume that the script dir is in tools/valgrind/ # relative to the top of the tree. @@ -103,7 +103,7 @@ class ChromeTests: # We need multiple data dirs, the current script directory and a module # specific one. The global suppression file lives in our directory, and the # module specific suppression file lives with the module. - self._data_dirs = [google.path_utils.ScriptDir()] + self._data_dirs = [path_utils.ScriptDir()] if module == "chrome": # unfortunately, not all modules have the same directory structure @@ -294,7 +294,7 @@ class ChromeTests: # Store each chunk in its own directory so that we can find the data later chunk_dir = os.path.join("layout", "chunk_%05d" % chunk_num) test_shell = os.path.join(self._options.build_dir, "test_shell") - out_dir = os.path.join(google.path_utils.ScriptDir(), "latest") + out_dir = os.path.join(path_utils.ScriptDir(), "latest") out_dir = os.path.join(out_dir, chunk_dir) if os.path.exists(out_dir): old_files = glob.glob(os.path.join(out_dir, "*.txt")) @@ -404,9 +404,9 @@ def _main(_): options, args = parser.parse_args() if options.verbose: - google.logging_utils.config_root(logging.DEBUG) + logging_utils.config_root(logging.DEBUG) else: - google.logging_utils.config_root() + logging_utils.config_root() if not options.test or not len(options.test): parser.error("--test not specified") |