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

Unified Diff: test/message/testcfg.py

Issue 17260002: Add new test suite for migrated blink tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase. Created 7 years, 6 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 | « .gitignore ('k') | test/webkit/concat-while-having-a-bad-time.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/testcfg.py
diff --git a/test/message/testcfg.py b/test/message/testcfg.py
index 11c0d19a3c8aefb96ad5874188799f938c79b2dd..411f71ceb2be179e25e8e8f0bffc4aad30debbc5 100644
--- a/test/message/testcfg.py
+++ b/test/message/testcfg.py
@@ -95,7 +95,8 @@ class MessageTestSuite(testsuite.TestSuite):
env = { "basename": os.path.basename(testpath + ".js") }
if len(expected_lines) != len(actual_lines):
return True
- for (expected, actual) in itertools.izip(expected_lines, actual_lines):
+ for (expected, actual) in itertools.izip_longest(
+ expected_lines, actual_lines, fillvalue=''):
pattern = re.escape(expected.rstrip() % env)
pattern = pattern.replace("\\*", ".*")
pattern = "^%s$" % pattern
« no previous file with comments | « .gitignore ('k') | test/webkit/concat-while-having-a-bad-time.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698