haikuwebkit/LayoutTests/html5lib
Jonathan Bedard 78ec6b7904 [run-webkit-tests] Support python layout tests
https://bugs.webkit.org/show_bug.cgi?id=220749
Tools:

<rdar://problem/73375271>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/layout_tests/controllers/layout_test_finder.py:
(LayoutTestFinder._real_tests): Exclude "tools" directories.
(LayoutTestFinder._is_test_file): Special case for web socket's *_wsh.py files.
(LayoutTestFinder._is_w3c_resource_file): Exclude w3c Python files.

LayoutTests:

Reviewed by Alexey Proskuryakov.

* html5lib/generate-test-wrappers: Copied from LayoutTests/html5lib/generate-test-wrappers.py.
* html5lib/generate-test-wrappers.py: Removed.
* http/conf/apache2.2-httpd.conf: Allow .py files to be run as CGI binaries.
* http/conf/apache2.4-httpd.conf: Ditto.
* http/conf/apache2.4-php7-httpd.conf: Ditto.
* http/conf/archlinux-httpd.conf: Ditto.
* http/conf/debian-httpd-2.4-php7.0.conf: Ditto.
* http/conf/debian-httpd-2.4-php7.1.conf: Ditto.
* http/conf/debian-httpd-2.4-php7.2.conf: Ditto.
* http/conf/debian-httpd-2.4-php7.3.conf: Ditto.
* http/conf/debian-httpd-2.4-php7.4.conf: Ditto.
* http/conf/fedora-httpd-2.2.conf: Ditto.
* http/conf/fedora-httpd-2.4-php7.conf: Ditto.
* http/conf/fedora-httpd-2.4.conf: Ditto.
* http/conf/flatpak-httpd.conf: Ditto.
* http/conf/win-httpd-2.4-php5.conf: Ditto.
* http/conf/win-httpd-2.4-php7.conf: Ditto.
* media/track/opera/track/webvtt/parsing-cue-data/buildtests: Copied from LayoutTests/media/track/opera/track/webvtt/parsing-cue-data/buildtests.py.
* media/track/opera/track/webvtt/parsing-cue-data/buildtests.py: Removed.
* webgl/generate-webgl-tests: Copied from LayoutTests/webgl/generate-webgl-tests.py.
* webgl/generate-webgl-tests.py: Removed.


Canonical link: https://commits.webkit.org/233328@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-26 00:33:44 +00:00
..
generated
resources
README
generate-test-wrappers
webkit-resumer-expected.txt
webkit-resumer.html

README

These are tests from the html5lib project.

*.dat files should be kept synced from:
https://code.google.com/p/html5lib/source/browse/#hg%2Ftestdata%2Ftree-construction
to resources/*.dat

./generate-test-wrappers

is used to generate .html file wrappers for the .dat files.

We generate both -write.html and -data.html wrappers for each .dat file.

"write" tests use document.write
"data" tests use data: urls, and enable the threaded parser if available.