[Webkit-unassigned] [Bug 184722] New: [TestWebKitAPI][Win] Rethink how createURLForResource gets the resource directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 17 18:08:17 PDT 2018


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

            Bug ID: 184722
           Summary: [TestWebKitAPI][Win] Rethink how createURLForResource
                    gets the resource directory
           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: Hironori.Fujii at sony.com
                CC: lforschler at apple.com

[TestWebKitAPI][Win] Rethink how createURLForResource gets the resource directory

(In reply to Alex Christensen from bug #184524 comment #3)
> > Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp:53
> > +    String filename = String::format("..\\..\\..\\Tools\\TestWebKitAPI\\Tests\\WebKit\\%s.%s", resource, extension);
> 
> This seems specific to a certain build configuration.

Mac port is copying the resource file into the build directory.
GTK and WPE ports are using a env var to specify the source directory.
Old WebKit port was using the same approach with Mac port.

https://trac.webkit.org/browser/webkit/trunk/Tools/TestWebKitAPI/win/PlatformUtilitiesWin.cpp?rev=230744#L54

-- 
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/20180418/c82ebf5e/attachment.html>


More information about the webkit-unassigned mailing list