[webkit-dev] Importing tests from web-platform-tests

youenn fablet youennf at gmail.com
Wed Feb 15 07:44:08 PST 2017

Hi Yoav,

For existing preload tests, you may want to use DumpJSConsoleLogInStdErr if
the warnings appear in the console log.
For testing unused preloads warnings, it may be better to use non WPT tests


Le mer. 15 févr. 2017 à 05:00, Yoav Weiss <yoav at yoav.ws> a écrit :

> I'm trying to import tests from web-platform-tests/preload
> <https://github.com/w3c/web-platform-tests/tree/master/preload>, but
> having trouble getting them to run without requiring expected results and
> while using wptserve.
> I looked at the WPT import tutorial
> <https://trac.webkit.org/wiki/WebKitW3CTesting> but failed to find a way
> to do what I need.
> The reason I don't want to rely on expected tests is that I'm trying to
> add a warning for unused preloads
> <https://bugs.webkit.org/show_bug.cgi?id=165670>, and these warnings can
> make expected results flaky. While I can work around it in most cases (by
> using the preloads in my layout tests), a way to stop relying on
> expected.txt for tests that don't need it would be cleaner.
> Thanks,
> Yoav
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20170215/82f0b0db/attachment.html>

More information about the webkit-dev mailing list