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

Unified Diff: webkit/tools/layout_tests/run_webkit_tests.py

Issue 40151: Fix _ValidateLists to work when running in linting mode. (Closed)
Patch Set: Fix 80 char violation Created 11 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 | « webkit/tools/layout_tests/layout_package/test_expectations.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/layout_tests/run_webkit_tests.py
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py
index 1494f649d66ce8f7633a10a1583e7687a79fc171..0640c65cfa2c96a51b9f137940c68e0a6a55a874 100755
--- a/webkit/tools/layout_tests/run_webkit_tests.py
+++ b/webkit/tools/layout_tests/run_webkit_tests.py
@@ -161,7 +161,7 @@ class TestRunner:
self._file_dir,
platform,
is_debug_mode)
- except SyntaxError, err:
+ except Exception, err:
if self._options.lint_test_files:
print str(err)
else:
@@ -675,7 +675,7 @@ def main(options, args):
if options.lint_test_files:
# Just creating the TestRunner checks the syntax of the test lists.
- print "If there are no fail messages, the lint succeeded."
+ print "If there are no fail messages or exceptions, the lint succeeded."
return
try:
« no previous file with comments | « webkit/tools/layout_tests/layout_package/test_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698