[webkit-dev] run-webkit-tests --pixel-tests and text-based tests

Milian Wolff milian.wolff at kdab.com
Wed Apr 18 10:40:28 PDT 2012


Hey all,

I'm working on isPrinting() support for the Qt port and noticed that if I do 
something like this:

./Tools/Scripts/run-webkit-tests -p LayoutTests/printing/

Then I get lots of "failures" due to missing image baselines for tests like 
printing/page-rule-css-text-expected.html.

Thing is: Tests like the above are not pixel-based. So how do other test 
suites detect this?

I've mainly looked at chromium's TestShell and could not find anything obvious 
that detects this (the url does not contain /dumpAstText/ nor is the returned 
mimetype text/plain)...

Even when I add --skip-pixel-test-if-nseline to the invocation above, the 
images are still created.

How is this supposed to be handled? How do other ports handle this?

Thanks
-- 
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120418/30f703dc/attachment.bin>


More information about the webkit-dev mailing list