summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/chrome_tests.py
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-18 22:49:17 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-18 22:49:17 +0000
commit791726222d9bdab836fe445d8b2009b731e34996 (patch)
tree60ff88f0534459777c163125fdb12fd68264f183 /tools/valgrind/chrome_tests.py
parent2bb5130ad15a91a9e05641ca62c2a49e5c692445 (diff)
downloadchromium_src-791726222d9bdab836fe445d8b2009b731e34996.zip
chromium_src-791726222d9bdab836fe445d8b2009b731e34996.tar.gz
chromium_src-791726222d9bdab836fe445d8b2009b731e34996.tar.bz2
Remove Wine + Valgrind code since nobody is working on it.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6541014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-xtools/valgrind/chrome_tests.py23
1 files changed, 8 insertions, 15 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py
index a286365..7be9dc3 100755
--- a/tools/valgrind/chrome_tests.py
+++ b/tools/valgrind/chrome_tests.py
@@ -93,19 +93,15 @@ class ChromeTests:
exe = exe + '.exe'
if not self._options.build_dir:
- if common.IsWine():
- self._options.build_dir = os.path.join(
- self._source_dir, "chrome", "Debug")
+ dirs = [
+ os.path.join(self._source_dir, "xcodebuild", "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)
else:
- dirs = [
- os.path.join(self._source_dir, "xcodebuild", "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)
- else:
- self._options.build_dir = FindNewestDir(dirs)
+ self._options.build_dir = FindNewestDir(dirs)
cmd = list(self._command_preamble)
@@ -130,9 +126,6 @@ class ChromeTests:
for arg in valgrind_test_args:
cmd.append(arg)
if exe:
- if common.IsWine():
- cmd.append(os.environ.get('WINE'))
- exe = exe + '.exe'
cmd.append(os.path.join(self._options.build_dir, exe))
# Valgrind runs tests slowly, so slow tests hurt more; show elapased time
# so we can find the slowpokes.