[webkit-dev] Tools/TestWebKitAPI

Brian Burg bburg at apple.com
Tue Feb 5 14:41:51 PST 2019

I am in favor of a top-level Tests directory which would contain the various *Tests/ directories within it. Any relative directory paths (i.e., <script src=> in LayoutTests) should work without further changes.

If you post a patch that gets open source bits to work, I'd be willing to spend [some] time fixing Apple internal business. I can't guarantee it will work, but I would give it a try. I'm particularly wary of breaking bots that assume the location of, say, LayoutTests.

However, before we do that, perhaps it would be a useful intermediate step to follow Michael's OP and move Tools/TestWebKitAPI/ to APITests/. That alone will reveal a lot of bad assumptions and make later moves easier.


> On Feb 5, 2019, at 1:07 PM, Ross.Kirsling at sony.com wrote:
> APITests/ would seem like an improvement to me...although given that this would be the seventh *Tests/ directly, it also makes me wonder if those should all be moved under a top-level Tests/ directory? __
> (Either way, I'd be happy to help with Xcode rearranging if needed, at least to the point of pleasing the external builds.)
> Ross
> ´╗┐On 2/5/19, 12:13 PM, "webkit-dev on behalf of Michael Catanzaro" <webkit-dev-bounces at lists.webkit.org on behalf of mcatanzaro at igalia.com> wrote:
>    Hi,
>    I started writing this mail to propose creating a separate ChangeLog 
>    for Tools/TestWebKitAPI, to make the Tools/ ChangeLog more focused on, 
>    you know, actual tools. So many of my changes under Tools/ are to the 
>    API tests.
>    But this reminded me that TestWebKitAPI is the only testsuite we have 
>    under Tools/. All the rest are toplevel directories:
>    JSTests/
>    LayoutTests/
>    ManualTests/
>    PerformanceTests/
>    WebDriverTests/
>    WebPlatformTests/
>    So it almost doesn't fit under Tools/ at all, right? Would there be any 
>    objections to moving it to a toplevel WebKitAPITests/ or just APITests/ 
>    directory? That would nicely parallel all our other tests.
>    (The practical objection is that moving anything is difficult for 
>    someone without familiarity with both XCode and CMake. I'd only be able 
>    to help with the CMake portion of the move. And then Apple internal 
>    build will inevitably break too, so someone would need to volunteer to 
>    care for that.)
>    If we don't want to move it, I guess a new ChangeLog file would be 
>    fine? :)
>    Michael
>    _______________________________________________
>    webkit-dev mailing list
>    webkit-dev at lists.webkit.org
>    https://lists.webkit.org/mailman/listinfo/webkit-dev
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

More information about the webkit-dev mailing list