diff options
-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, |