Automated W3C conformance testing based on run-webkit-tests would enable assessing how WebKit complies with W3C test suite. It could also serve as a tool to ease W3C test suite import witihn WebKit
Created attachment 234635 [details] Patch
Created attachment 234637 [details] Adding static files
Created attachment 235012 [details] Start adding support for ref tests
Created attachment 238166 [details] Support of all tests, result generated in WebKitBuild sub-folder
Created attachment 238169 [details] updated according 136848
Created attachment 243675 [details] Rebasing
Attachment 243675 [details] did not pass style-queue: ERROR: Tools/Scripts/webkitpy/w3c/run_w3c_conformance_tests.py:43: No name 'web_platform_test_importer' in module 'webkitpy.w3c' [pylint/E0611] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 243703 [details] Patch
Comment on attachment 243703 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243703&action=review > LayoutTests/imported/w3c/resources/w3c_conformance_results.html:156 > + (results.tests_directory ? results.tests_directory : "imported-tests") Your indentation is all confused at a bunch of places in this file. Maybe you're mixing tabs and spaces?
(In reply to comment #9) > Comment on attachment 243703 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=243703&action=review > > > LayoutTests/imported/w3c/resources/w3c_conformance_results.html:156 > > + (results.tests_directory ? results.tests_directory : "imported-tests") > > Your indentation is all confused at a bunch of places in this file. Maybe > you're mixing tabs and spaces? Woups, I'll clean that. I will also add the possibility to filter tests according result and add bug-filing links
Created attachment 244513 [details] Adding CSS testsuite support
(In reply to comment #11) > Created attachment 244513 [details] > Adding CSS testsuite support This patch also generates two files, one to update the whitelist used to import W3C tests and one to update the test expectations (to skip infrastructure folders).
Created attachment 247675 [details] Rebasing against new TestRepositories description
Created attachment 249727 [details] Refreshing and adding unit tests
Comment on attachment 249727 [details] Refreshing and adding unit tests This seems like a really good tool!
I can't get EWS to process this file. Youenn, would you mind rebaselining the patch and uploading it again?
(In reply to comment #16) > I can't get EWS to process this file. Youenn, would you mind rebaselining > the patch and uploading it again? The patch is old and webkitpy infrastructure changed a bit. Time permitting, I will look at it again.