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

2017-02-15 Thread youenn fablet
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
atm.

   y

Le mer. 15 févr. 2017 à 05:00, Yoav Weiss  a écrit :

> I'm trying to import tests from web-platform-tests/preload
> , but
> having trouble getting them to run without requiring expected results and
> while using wptserve.
>
> I looked at the WPT import tutorial
>  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
> , 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@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2017-02-15 Thread Yoav Weiss
I'm trying to import tests from web-platform-tests/preload
, but having
trouble getting them to run without requiring expected results and while
using wptserve.

I looked at the WPT import tutorial
 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
, 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@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev