diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 23:01:50 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-28 23:01:50 +0000 |
commit | 3886862db53db298a568e0878f97f66f2f908f6d (patch) | |
tree | 9fd6975efeb407e88428aa4df938410914f8d954 | |
parent | 0ac2cb38f84daea2c853413dbb024e6f153339b7 (diff) | |
download | chromium_src-3886862db53db298a568e0878f97f66f2f908f6d.zip chromium_src-3886862db53db298a568e0878f97f66f2f908f6d.tar.gz chromium_src-3886862db53db298a568e0878f97f66f2f908f6d.tar.bz2 |
Fix chrome_tests.sh without -b BUILD_DIR on the Mac
Review URL: http://codereview.chromium.org/100060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14794 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | tools/valgrind/chrome_tests.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py index f0e4e3f..de1dda4 100755 --- a/tools/valgrind/chrome_tests.py +++ b/tools/valgrind/chrome_tests.py @@ -94,7 +94,11 @@ class ChromeTests: self._data_dirs.append(os.path.join(module_dir, "data", "valgrind")) if not self._options.build_dir: - dir_chrome = os.path.join(self._source_dir, "sconsbuild", "Debug") + builddir = { + 'darwin': 'xcodebuild', + 'linux2': 'sconsbuild' + }[sys.platform] + dir_chrome = os.path.join(self._source_dir, builddir, "Debug") dir_module = os.path.join(module_dir, "Debug") if exe: exe_chrome = os.path.join(dir_chrome, exe) |