Bug 184722

Summary: [TestWebKitAPI][Win] Rethink how createURLForResource gets the resource directory
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Fujii Hironori
Reported 2018-04-17 18:08:17 PDT
[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
Attachments
Note You need to log in before you can comment on or make changes to this bug.