summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:09:33 +0000
committerojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 20:09:33 +0000
commit9360a522bce9026154a0417015b8680c45f7720f (patch)
treec86d06d449020646faf1c94f274a3e1af67f5fcc
parent5224467ed943517042561e0b811fa39f27af6d63 (diff)
downloadchromium_src-9360a522bce9026154a0417015b8680c45f7720f.zip
chromium_src-9360a522bce9026154a0417015b8680c45f7720f.tar.gz
chromium_src-9360a522bce9026154a0417015b8680c45f7720f.tar.bz2
Fix syntax error. TBR to green tree.
Review URL: http://codereview.chromium.org/14804 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7155 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xwebkit/tools/layout_tests/run_webkit_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py
index 7549c97..66c0da2 100755
--- a/webkit/tools/layout_tests/run_webkit_tests.py
+++ b/webkit/tools/layout_tests/run_webkit_tests.py
@@ -146,7 +146,11 @@ class TestRunner:
structure holding them. Throws an error if the test_list files have invalid
syntax.
"""
- test_files = self._options.lint_test_files ? None : self._test_files
+ if self._options.lint_test_files:
+ test_files = None
+ else:
+ test_files = self._test_files
+
try:
return test_expectations.TestExpectations(test_files,
self._file_dir,