diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 20:09:33 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 20:09:33 +0000 |
commit | 9360a522bce9026154a0417015b8680c45f7720f (patch) | |
tree | c86d06d449020646faf1c94f274a3e1af67f5fcc | |
parent | 5224467ed943517042561e0b811fa39f27af6d63 (diff) | |
download | chromium_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-x | webkit/tools/layout_tests/run_webkit_tests.py | 6 |
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, |