Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2006 19:12:37 +0000 (19:12 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2006 19:12:37 +0000 (19:12 +0000)
commitc20db3191192e5910b9226705e8317f52502c929
tree33db0b9fb1cd14ffaf1c63778450fc045d5a9c05
parentbdb07861644184a441b6c0403cb607e20cc630ea
    Reviewed by Darin.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
          Would like to use locally installed Apache for testing.

        Added two run-webkit-tests options:
          --http (--nohttp)  - whether to launch Apache (defaults to yes);
          --port - which port to listen on (defaults to 8000).

        Tests in LayoutTests/http are not run directly, and Apache is used instead.
        For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
        http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.

        Also added support for .shtml and .text files. Text files give an empty
        *-expected.txt, but a correct image.

        Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.

        * Scripts/run-webkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
35 files changed:
LayoutTests/ChangeLog
LayoutTests/http/conf/httpd.conf [new file with mode: 0644]
LayoutTests/http/conf/mime.types [new file with mode: 0644]
LayoutTests/http/tests/incremental/.htaccess [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-text-expected.checksum [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-text-expected.png [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-text-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-text.text [new file with mode: 0755]
LayoutTests/http/tests/incremental/split-hex-entities-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/incremental/split-hex-entities.html [new file with mode: 0755]
LayoutTests/http/tests/xmlhttprequest/interactive-state-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/interactive-state.cgi [new file with mode: 0755]
LayoutTests/http/tests/xmlhttprequest/interactive-state.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/post-content-type-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/post-content-type.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/print-content-type.cgi [new file with mode: 0755]
LayoutTests/http/tests/xmlhttprequest/resources/.htaccess [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply.xml [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply2.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply2.xml [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply3.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply3.xml [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply4.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply4.xml [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/reply5.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/zero-length.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/response-encoding-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/response-encoding.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/zero-length-response-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/zero-length-response-sync-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/zero-length-response-sync.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/zero-length-response.html [new file with mode: 0644]
WebKitTools/ChangeLog
WebKitTools/Scripts/run-webkit-tests