[Webkit-unassigned] [Bug 267605] New: [run-webkit-tests] Expectation files errantly saved as a directory crash layout testing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 16 14:13:23 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=267605

            Bug ID: 267605
           Summary: [run-webkit-tests] Expectation files errantly saved as
                    a directory crash layout testing.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ben_schwartz at apple.com

As I [embarrassingly] discovered in 272938 at main, if a directory exists with the same name as an expectation file in the location it would normally be, run-webkit-tests crashes when it tries to read it. I subsequently fixed the error in 272944 at main.

It seems like this should be an easy fix -- just catching an error (this one was IsADirectoryError) when the expectations files are accessed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240116/58904442/attachment.htm>


More information about the webkit-unassigned mailing list