Reviewed by Mark.
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24435
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-07-18 Adam Roben <aroben@apple.com>
+
+ Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
+
+ Reviewed by Mark.
+
+ * Scripts/run-webkit-httpd:
+ * Scripts/run-webkit-tests:
+
2007-07-18 Adam Roben <aroben@apple.com>
More git friendliness for prepare-ChangeLog
}
print "Press Ctrl+C to stop it.\n\n";
-system($httpdPath,
+my @args = (
"-f", "$httpdConfig",
"-C", "DocumentRoot \"$documentRoot\"",
"-C", "Listen $listen",
- "-c", "SSLCertificateFile $sslCertificate",
"-c", "TypesConfig \"$typesConfig\"",
"-c", "CustomLog |/usr/bin/tee common",
"-c", "ErrorLog |/usr/bin/tee",
"-X",
# Disable Keep-Alive support. Makes testing in multiple browsers easier (no need to wait
# for another browser's connection to expire).
- "-c", "KeepAlive 0");
+ "-c", "KeepAlive 0"
+);
+
+# FIXME: Enable this on Windows once <rdar://problem/5345985> is fixed
+push(@args, "-c", "SSLCertificateFile $sslCertificate") unless isCygwin();
+
+system($httpdPath, @args);
unlink "/tmp/WebKit/httpd.pid";
mkpath $absTestResultsDirectory;
- open2(\*HTTPDIN, \*HTTPDOUT, $httpdPath,
+ my @args = (
"-f", "$httpdConfig",
"-C", "DocumentRoot \"$documentRoot\"",
"-C", "Listen $listen",
- "-c", "SSLCertificateFile $sslCertificate",
"-c", "TypesConfig \"$typesConfig\"",
"-c", "CustomLog \"$absTestResultsDirectory/access_log.txt\" common",
"-c", "ErrorLog \"$absTestResultsDirectory/error_log.txt\"",
# Apache wouldn't run CGIs with permissions==700 otherwise
- "-c", "User \"#$<\"");
+ "-c", "User \"#$<\""
+ );
+
+ # FIXME: Enable this on Windows once <rdar://problem/5345985> is fixed
+ push(@args, "-c", "SSLCertificateFile $sslCertificate") unless isCygwin();
+
+ open2(\*HTTPDIN, \*HTTPDOUT, $httpdPath, @args);
my $retryCount = 20;
while (system("/usr/bin/curl -q --silent --stderr - --output /dev/null $listen") && $retryCount) {