NEW264013
[style-checker] test/expectations errors surfaced twice
https://bugs.webkit.org/show_bug.cgi?id=264013
Summary [style-checker] test/expectations errors surfaced twice
Abrar Rahman Protyasha
Reported 2023-10-31 16:30:28 PDT
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
Radar WebKit Bug Importer
Comment 1 2023-10-31 16:31:40 PDT
Note You need to log in before you can comment on or make changes to this bug.