summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/chrome_tests.py
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 05:29:05 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 05:29:05 +0000
commite184feafdf902053361c48f9a4b85a2087e347ae (patch)
treedf3ff2f953fb834ce65e808bb0b338b7a1c40946 /tools/valgrind/chrome_tests.py
parent559106f492065a0b3d9f5541bfc29f2bec49567f (diff)
downloadchromium_src-e184feafdf902053361c48f9a4b85a2087e347ae.zip
chromium_src-e184feafdf902053361c48f9a4b85a2087e347ae.tar.gz
chromium_src-e184feafdf902053361c48f9a4b85a2087e347ae.tar.bz2
dirty workaround to get drmemory green
I'll debug this on my windows box tomorrow. TBR=glider@chromium.org Review URL: https://codereview.chromium.org/26323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/chrome_tests.py')
-rwxr-xr-xtools/valgrind/chrome_tests.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/valgrind/chrome_tests.py b/tools/valgrind/chrome_tests.py
index 67be3bdf..d361b7c 100755
--- a/tools/valgrind/chrome_tests.py
+++ b/tools/valgrind/chrome_tests.py
@@ -603,10 +603,11 @@ def _main():
options, args = parser.parse_args()
- # TODO(thakis): This is temporary debugging code to figure out what's
- # happening on the DrMemory bots. Remove this within 2h.
- print sys.argv
- print options
+ if not options.build_dir and not options.target:
+ # Currently happens on Windows, not sure why. TODO(thakis): Figure out and
+ # remove within 24h.
+ options.build_dir = 'src/out'
+ options.target = 'Debug'
# target used to be a part of build_dir, so only add it if it's not there.
# TODO(thakis): Always do this once the memory master no longer passes