Commit 1d0811fa authored by glider@chromium.org's avatar glider@chromium.org

Fix valgrind_test.py to use the current version of GCC.

TBR=dvyukov
BUG=105706
Review URL: http://codereview.chromium.org/8806005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112963 0039d316-1c4b-4281-b951-d872f2087c98
parent 70e9acbf
...@@ -1107,6 +1107,7 @@ class Asan(EmbeddedTool): ...@@ -1107,6 +1107,7 @@ class Asan(EmbeddedTool):
if common.IsMac(): if common.IsMac():
self._env["DYLD_NO_PIE"] = "1" self._env["DYLD_NO_PIE"] = "1"
def ToolName(self): def ToolName(self):
return "asan" return "asan"
...@@ -1142,8 +1143,9 @@ class TsanGcc(EmbeddedTool): ...@@ -1142,8 +1143,9 @@ class TsanGcc(EmbeddedTool):
return False return False
ld_library_paths = [] ld_library_paths = []
for tail in "lib32", "lib64": for tail in "lib32", "lib64":
ld_library_paths.append(os.path.join(self._source_dir, "third_party", ld_library_paths.append(
"compiler-tsan", "gcc-4.5.3", tail)) os.path.join(self._source_dir, "third_party",
"compiler-tsan", "gcc-current", tail))
# LD_LIBRARY_PATH will be overriden. # LD_LIBRARY_PATH will be overriden.
self._env["LD_LIBRARY_PATH"] = ":".join(ld_library_paths) self._env["LD_LIBRARY_PATH"] = ":".join(ld_library_paths)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment