Fix the WebKit Android bot failures.
This is a temporary workaround to make the bot green. Currently it fails with:
Usage: lint-test-expectations [options]
lint-test-expectations: error: no such option: --target
[email protected],[email protected],[email protected]
NOTREECHECKS=true
NOTRY=true
BUG=338338
Review URL: https://codereview.chromium.org/607803003
Cr-Commit-Position: refs/heads/master@{#296912}
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index d4e0fae0..7be526e 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -284,11 +284,11 @@
flunk_on_failure=flunk_on_failure)
-def RunWebkitLint(target):
+def RunWebkitLint():
"""Lint WebKit's TestExpectation files."""
bb_annotations.PrintNamedStep('webkit_lint')
RunCmd([SrcPath(os.path.join(BK_SCRIPTS_DIR, 'lint-test-expectations')),
- '--target', target])
+ '--android'])
def RunWebkitLayoutTests(options):
@@ -494,7 +494,7 @@
def RunWebkitTests(options):
RunTestSuites(options, ['webkit_unit_tests', 'blink_heap_unittests'])
- RunWebkitLint(options.target)
+ RunWebkitLint()
def RunGPUTests(options):