+++ /dev/null
-<Files "slow-utf8-text.text">
- AddType text/plain .text
- AddHandler cgi-script .text
- Header set Expires "Thu, 01 Dec 2003 16:00:00 GMT"
- Header set Cache-Control "no-store, no-cache, must-revalidate"
- Header set Pragma "no-cache"
-</Files>
-<Files "split-hex-entities.html">
- AddHandler cgi-script .html
- Header set Expires "Thu, 01 Dec 2003 16:00:00 GMT"
- Header set Cache-Control "no-store, no-cache, must-revalidate"
- Header set Pragma "no-cache"
-</Files>
+2006-04-10 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8157
+ Make HTTP tests using Perl use .pl extension
+
+ * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
+ removed support for .text. Reduced the number of places that explicitly list supported
+ extensions. Some of the changes come from bug 8121, the patch for which got landed only
+ partially.
+
2006-04-06 Darin Adler <darin@apple.com>
Changes requested by Mark Rowe.
# Script to run the Web Kit Open Source Project layout tests.
# Run all the tests passed in on the command line.
-# If no tests are passed, find all the .html, .shtml, .text, .xml, .xhtml (and svg) files in the test directory.
+# If no tests are passed, find all the .html, .shtml, .xml, .xhtml, .pl, .php (and svg) files in the test directory.
# Run each text.
# Compare against the existing file xxx-expected.txt.
my @tests = ();
my $prunePart = "\\( -name resources \\! -prune \\)";
-my $extensionPart = "-name '*.html' -or -name '*.shtml' -or -name '*.text' -or -name '*.xml' -or -name '*.xhtml'";
+my $extensionPart = "-name '*.html' -or -name '*.shtml' -or -name '*.xml' -or -name '*.xhtml' -or -name '*.pl' -or -name '*.php'";
if ($testOnlySVGs) {
$extensionPart = "-name '*.svg' -or -name '*.xml'";
} elsif (checkWebCoreSVGSupport($testOnlySVGs)) {
if ($test =~ /^\//) {
print "can't run test outside $testDirectory\n";
} elsif (-f "$testDirectory/$test") {
- if ($test !~ /\.(html|shtml|text|xml|xhtml|svg)$/) {
+ if ($test !~ /\.(html|shtml|xml|xhtml|pl|php|svg)$/) {
print "test $test does not have a supported extension\n";
} elsif ($testHTTP || $test !~ /^http\//) {
push @tests, $test;
openDumpRenderTreeIfNeeded();
my $base = $test;
- $base =~ s/\.(html|shtml|text|xml|xhtml|svg)$//;
+ $base =~ s/\.[a-zA-Z]+$//;
if ($verbose || $singly) {
print "running $test -> ";
print HTML "<table>\n";
for my $test (@{$tests{mismatch}}) {
my $base = $test;
- $base =~ s/\.(html|shtml|text|xml|xhtml|svg)$//;
+ $base =~ s/\.[a-zA-Z]+$//;
copy("$testDirectory/$base-expected.txt", "$testResultsDirectory/$base-expected.txt");
print HTML "<tr>\n";
print HTML "<td><a href=\"$testDirectory/$test\">$base</a></td>\n";
print HTML "<table>\n";
for my $test (@{$tests{fail}}) {
my $base = $test;
- $base =~ s/\.(html|shtml|text|xml|xhtml|svg)$//;
+ $base =~ s/\.[a-zA-Z]+$//;
print HTML "<tr>\n";
print HTML "<td><a href=\"$testDirectory/$test\">$base</a></td>\n";
print HTML "</tr>\n";
print HTML "<table>\n";
for my $test (@{$tests{new}}) {
my $base = $test;
- $base =~ s/\.(html|shtml|text|xml|xhtml|svg)$//;
+ $base =~ s/\.[a-zA-Z]+$//;
print HTML "<tr>\n";
print HTML "<td><a href=\"$testDirectory/$test\">$base</a></td>\n";
print HTML "<td><a href=\"$testDirectory/$base-expected.txt\">results</a></td>\n";