| Index: webkit/tools/layout_tests/PRESUBMIT.py
|
| diff --git a/webkit/tools/layout_tests/PRESUBMIT.py b/webkit/tools/layout_tests/PRESUBMIT.py
|
| index 0e89a6f8e99ff7b0f6c62f6effd41be095103cdc..6e911e7d1864a91f7a6eed77f649c0bb97a298e9 100644
|
| --- a/webkit/tools/layout_tests/PRESUBMIT.py
|
| +++ b/webkit/tools/layout_tests/PRESUBMIT.py
|
| @@ -8,7 +8,7 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for
|
| details on the presubmit API built into gcl.
|
| """
|
|
|
| -TEST_EXPECTATIONS = 'test_expectations.txt'
|
| +TEST_EXPECTATIONS_FILENAMES = ['test_expectations.txt', 'TestExpectations']
|
|
|
| def LintTestFiles(input_api, output_api):
|
| current_dir = str(input_api.PresubmitLocalPath())
|
| @@ -45,7 +45,7 @@ def LintTestFiles(input_api, output_api):
|
|
|
| def LintTestExpectations(input_api, output_api):
|
| for path in input_api.LocalPaths():
|
| - if TEST_EXPECTATIONS == input_api.os_path.basename(path):
|
| + if input_api.os_path.basename(path) in TEST_EXPECTATIONS_FILENAMES:
|
| return LintTestFiles(input_api, output_api)
|
| return []
|
|
|
|
|