Bug 184722
| Summary: | [TestWebKitAPI][Win] Rethink how createURLForResource gets the resource directory | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | lforschler |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Fujii Hironori
[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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |