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

Unified Diff: tools/valgrind/chrome_tests.py

Issue 1736026: Change PYTHONPATH handling in tools/valgrind so we can un-revert http://coder... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/chrome_tests.bat ('k') | tools/valgrind/chrome_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/chrome_tests.py
===================================================================
--- tools/valgrind/chrome_tests.py (revision 46040)
+++ tools/valgrind/chrome_tests.py (working copy)
@@ -14,8 +14,8 @@
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 @@
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 @@
# 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 @@
# 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 @@
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")
« no previous file with comments | « tools/valgrind/chrome_tests.bat ('k') | tools/valgrind/chrome_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698