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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py

Issue 2376103007: Import wpt@09907a9c4bcee14986431d53e4381384c7c69107 (Closed)
Patch Set: update platform expectations Created 4 years, 3 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
Index: third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py b/third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py
index 2974a2f61125e35917a683e564fa7de2d6ac83c5..801733cc69d0d9981fe8273e0b57055695618303 100755
--- a/third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py
+++ b/third_party/WebKit/LayoutTests/imported/wpt/diff-manifest.py
@@ -19,11 +19,12 @@ def get_manifest(rev):
def main():
- head = os.environ['TRAVIS_COMMIT']
+ after = get_manifest("HEAD")
+
call("git", "fetch", "origin", "master:master")
- merge_base = call("git", "merge-base", "master", head).strip()
+ merge_base = call("git", "merge-base", "master", "HEAD").strip()
before = get_manifest(merge_base)
- after = get_manifest(head)
+
diff = difflib.unified_diff(before, after,
fromfile='before.json', tofile='after.json')
for line in diff:

Powered by Google App Engine
This is Rietveld 408576698