Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: testing/scripts/webkit_lint.py

Issue 962153003: Add src-side script for webkit_lint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « testing/buildbot/chromium.webkit.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/scripts/webkit_lint.py
diff --git a/testing/scripts/webview_licenses.py b/testing/scripts/webkit_lint.py
similarity index 78%
copy from testing/scripts/webview_licenses.py
copy to testing/scripts/webkit_lint.py
index 255c62e993111f82f0d47d2445ed89312ea28c16..c33f87b9c9458292c5a34a26a751459940d36bc4 100755
--- a/testing/scripts/webview_licenses.py
+++ b/testing/scripts/webkit_lint.py
@@ -14,18 +14,17 @@ import common
def main_run(args):
with common.temporary_file() as tempfile_path:
rc = common.run_command([
- os.path.join(common.SRC_DIR, 'android_webview', 'tools',
- 'webview_licenses.py'),
- 'scan',
+ os.path.join(common.SRC_DIR, 'third_party', 'WebKit',
+ 'Tools', 'Scripts', 'lint-test-expectations'),
'--json', tempfile_path
])
with open(tempfile_path) as f:
- results = json.load(f)
+ failures = json.load(f)
json.dump({
'valid': True,
- 'failures': results,
+ 'failures': failures,
}, args.output)
return rc
« no previous file with comments | « testing/buildbot/chromium.webkit.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698