summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 21:34:17 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-08 21:34:17 +0000
commite0eaf04d8fcf440227242476982e6acda5c5f6b7 (patch)
treefb527370a893f116477c79e8d5369c8b53e4e2a2 /tools/heapcheck
parent4d60dcd8f09ac0d95d718932d26473c43bb469e6 (diff)
downloadchromium_src-e0eaf04d8fcf440227242476982e6acda5c5f6b7.zip
chromium_src-e0eaf04d8fcf440227242476982e6acda5c5f6b7.tar.gz
chromium_src-e0eaf04d8fcf440227242476982e6acda5c5f6b7.tar.bz2
Fix DrMemory bots for real.
The bot config passes an empty "" parameter, which makes optparse stop parsing arguments -- on linux, the empty parameter gets filtered out before reaching this script. There's no reason to stop option parsing on the first non-flag as far as I can see, so don't do that. See the bug for details. BUG=305292 NOTRY=true Review URL: https://codereview.chromium.org/26548002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck')
-rwxr-xr-xtools/heapcheck/chrome_tests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/heapcheck/chrome_tests.py b/tools/heapcheck/chrome_tests.py
index cfc662a..895ed62 100755
--- a/tools/heapcheck/chrome_tests.py
+++ b/tools/heapcheck/chrome_tests.py
@@ -470,7 +470,6 @@ def main():
return 1
parser = optparse.OptionParser("usage: %prog -b <dir> -t <test> "
"[-t <test> ...]")
- parser.disable_interspersed_args()
parser.add_option("-b", "--build-dir",
# TODO(thakis): Remove --build_dir once bots don't pass it.
"--build_dir",