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