Fix exiting test task on INT signal.

This commit is contained in:
Tobie Langel 2008-05-29 17:30:20 +02:00
parent 32628d41cd
commit c01d1a26f7
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
* Fix exiting test task on INT signal. (Samuel Lebeau)
* Fix unit test freeze in IE. (Tobie Langel)
* Ensure Hash does not return keys from the prototype chain (e.g., constructor, valueOf, toString). (kangax)

View File

@ -289,7 +289,7 @@ class JavaScriptTestTask < ::Rake::TaskLib
def define
task @name do
trap("INT") { @server.shutdown }
trap("INT") { @server.shutdown; exit }
t = Thread.new { @server.start }
# run all combinations of browsers and tests