<div dir="ltr">Hi Yoav,<div><br></div><div>For existing preload tests, you may want to use DumpJSConsoleLogInStdErr if the warnings appear in the console log.</div><div>For testing unused preloads warnings, it may be better to use non WPT tests atm.</div><div><br></div><div>   y</div></div><br><div class="gmail_quote"><div dir="ltr">Le mer. 15 févr. 2017 à 05:00, Yoav Weiss &lt;<a href="mailto:yoav@yoav.ws">yoav@yoav.ws</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">I&#39;m trying to import tests from <a href="https://github.com/w3c/web-platform-tests/tree/master/preload" class="gmail_msg" target="_blank">web-platform-tests/preload</a>, but having trouble getting them to run without requiring expected results and while using wptserve.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I looked at the <a href="https://trac.webkit.org/wiki/WebKitW3CTesting" class="gmail_msg" target="_blank">WPT import tutorial</a> but failed to find a way to do what I need.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The reason I don&#39;t want to rely on expected tests is that I&#39;m trying to add a <a href="https://bugs.webkit.org/show_bug.cgi?id=165670" class="gmail_msg" target="_blank">warning for unused preloads</a>, 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&#39;t need it would be cleaner.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks,</div><div class="gmail_msg">Yoav</div></div>
_______________________________________________<br class="gmail_msg">
webkit-dev mailing list<br class="gmail_msg">
<a href="mailto:webkit-dev@lists.webkit.org" class="gmail_msg" target="_blank">webkit-dev@lists.webkit.org</a><br class="gmail_msg">
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br class="gmail_msg">
</blockquote></div>