diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 13:13:49 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 13:13:49 +0000 |
commit | 6e10b9d67fb2777d1844e820190f1c135673c53c (patch) | |
tree | 71d18db0b699a07c6e6b119ffbaadfab1d18eb7c /tools/valgrind/chrome_tests.py | |
parent | 60deef37ee1f08de613e5e467c33e9f5467553fd (diff) | |
download | chromium_src-6e10b9d67fb2777d1844e820190f1c135673c53c.zip chromium_src-6e10b9d67fb2777d1844e820190f1c135673c53c.tar.gz chromium_src-6e10b9d67fb2777d1844e820190f1c135673c53c.tar.bz2 |
[TSan/Win, Dr. Memory] Automatically find binaries in build/Debug on Windows
TBR=glider
TEST=tools\valgrind\chrome_tests.bat -t googleurl --tool {tsan,drmemory} on Windows
Review URL: http://codereview.chromium.org/4129007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64062 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index a9c71db..474ce5c 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -89,6 +89,8 @@ class ChromeTests: def _DefaultCommand(self, tool, module, exe=None, valgrind_test_args=None): '''Generates the default command array that most tests will use.''' + if exe and common.IsWindows(): + exe = exe + '.exe' if not self._options.build_dir: if common.IsWine(): @@ -99,6 +101,7 @@ class ChromeTests: os.path.join(self._source_dir, "xcodebuild", "Debug"), os.path.join(self._source_dir, "sconsbuild", "Debug"), os.path.join(self._source_dir, "out", "Debug"), + os.path.join(self._source_dir, "build", "Debug"), ] if exe: self._options.build_dir = FindDirContainingNewestFile(dirs, exe) |