Bug 264013
| Summary: | [style-checker] test/expectations errors surfaced twice | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Abrar Rahman Protyasha
The style checker invokes TestExpectation errors twice for me. It's not a serious bug, but does add some noise! Here's a sample of what it looks like:
```
% git webkit pr --no-rebase --no-commit
ERROR: Tools/TestRunnerShared/WPTFunctions.cpp:29: Alphabetical sorting problem. [build/include_order] [4]
ERROR: Tools/TestRunnerShared/WPTFunctions.h:38: The parameter name "url" adds no information, so it should be removed. [readability/parameter_name] [5]
ERROR: Tools/WebKitTestRunner/mac/TestControllerMac.mm:36: Alphabetical sorting problem. [build/include_order] [4]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:601: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:602: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:603: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:604: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:605: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:606: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:607: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: LayoutTests/platform/mac-wk2/TestExpectations:608: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:601: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:602: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:603: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:604: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:605: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:606: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:607: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
ERROR: /Users/aprotyas/dev/safari/OpenSource/LayoutTests/platform/mac-wk2/TestExpectations:608: Unrecognized expectation "ImageonlyFailure" [test/expectations] [5]
```
Notice how the errors in the `[test/expectations]` category are duplicated, once with a relative path from the repository root, and once with an absolute path.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117769978>