summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,