Reviewed by Sam.
* Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24865
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-08-03 Adam Roben <aroben@apple.com>
+
+ Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
+
+ Reviewed by Sam.
+
+ * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
+
2007-08-03 Sam Weinig <sam@webkit.org>
Reviewed by Darin.
my $isHttpdOpen = 0;
+# On Windows, we will receive a SIGPIPE signal if DRT crashes, which would
+# normally cause run-webkit-tests to quit. Catching the signal with this empty
+# handler will prevent that.
+sub catch_pipe { }
+$SIG{"PIPE"} = "catch_pipe";
+
print "Testing ", scalar @tests, " test cases.\n";
my $overallStartTime = time;
close IN;
close OUT;
+close ERROR;
if ($report10Slowest) {
print "\n\nThe 10 slowest tests:\n\n";